Re: [PHP] Variable Passing

2005-04-09 Thread Matthew Weier O'Phinney
* Jordi Canals <[EMAIL PROTECTED]>: > What I do to control it only by PHP without using the mod_rewrite for > apache is to use URL with this format: > > http://sample.com/script.php/param1/param2/param3 > > Then, work in the script looking at the variable > $_SERVER['REQUEST_URI'] wich will contain

Re: [PHP] Variable Passing

2005-04-09 Thread Jordi Canals
What I do to control it only by PHP without using the mod_rewrite for apache is to use URL with this format: http://sample.com/script.php/param1/param2/param3 Then, work in the script looking at the variable $_SERVER['REQUEST_URI'] wich will contain, in this sample: /script.php/param1/param2/para

Re: [PHP] Variable Passing

2005-04-09 Thread Matthew Weier O'Phinney
* Brad Brevet <[EMAIL PROTECTED]>: > This seems to be what I was looking for, but I am curious, will the "/" be > included in the variable? Will I have to do a stripslashes() command on it? If you echo out $_SERVER['PATH_INFO'] for the URL shown below, it will give you: /321 Usually what you

Re: [PHP] Variable Passing

2005-04-08 Thread Brad Brevet
This seems to be what I was looking for, but I am curious, will the "/" be included in the variable? Will I have to do a stripslashes() command on it? Brad "Hans Juergen von Lengerke" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Brad Brevet: > > > > Hi, I am curious how to pass

Re: [PHP] Variable Passing

2005-04-08 Thread Josip Dzolonga
Brad Brevet wrote: Hi, I am curious how to pass a variable without using something like id=321. I have seen sites that have something like http://www.website.com/something/321 and the variable is passed how exactly is that done? And is it called something specific so I know how to refer to it in th

Re: [PHP] Variable Passing

2005-04-08 Thread Hans Juergen von Lengerke
> Brad Brevet: > > Hi, I am curious how to pass a variable without using something like id=321. > > I have seen sites that have something like > http://www.website.com/something/321 and the variable is passed how exactly > is that done? And is it called something specific so I know how to refer t

Re: [PHP] Variable Passing

2005-04-08 Thread Ken
On Apr 8, 2005 4:11 PM, Brad Brevet <[EMAIL PROTECTED]> wrote: > Hi, I am curious how to pass a variable without using something like id=321. > > I have seen sites that have something like > http://www.website.com/something/321 and the variable is passed how exactly > is that done? And is it calle

Re: [PHP] variable passing using URL

2004-05-13 Thread Steve Douville
Capture the variables you've sent to the main frame page and send them via the url of the frames. Hope that helps. - Original Message - From: "gowthaman ramasamy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 14, 2004 2:24 AM Subject: [PHP] variable passing using URL

Re: [PHP] variable passing

2004-03-12 Thread Jason Davidson
what is the code your using to try and retrieve the var.. are you using $_REQUEST['equipment']; jason Martin S <[EMAIL PROTECTED]> wrote: > > I have this in equip-lend-index.php and want to pass the variable > $equipment back to the same page: > > PRINT " Equipment: action=\"$USERPREFIX/

RE: [PHP] Variable passing through a form

2002-11-20 Thread Peter Houchin
at a guess would say have some hidden inputs on your form that echo the var's pass from part 2 that way when your form is submitted in part 3 it gets sent along with the new stuff > -Original Message- > From: Michael Benbow [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 21 November 2002 2:24

Re: [PHP] Variable Passing

2001-05-24 Thread Dan Lowe
Previously, Internaut said: > Thankx for your reply, would you recommend setting the register_globals to > on, would this be safe to do this? It's not any more or less "safe" than using the $HTTP_POST_VARS or $HTTP_GET_VARS arrays instead, but it could be less typing :-) Note that for the arrays

Re: [PHP] Variable Passing

2001-05-22 Thread Internaut
Thankx for your reply, would you recommend setting the register_globals to on, would this be safe to do this? Regards Tosh ""Fai"" <[EMAIL PROTECTED]> wrote in message 9edv0o$2b7$[EMAIL PROTECTED]">news:9edv0o$2b7$[EMAIL PROTECTED]... > Set register_globals = On. But actually, you can use $HTT

Re: [PHP] Variable Passing

2001-05-22 Thread Fai
Set register_globals = On. But actually, you can use $HTTP_*_VARS[] to get the values from the form. * represent: GET, POST or COOKIE > > Please could anyone tell me which part of the ini file I need to modify to > allow me to pass variables from one form to another. > > Regards > Internaut > > >