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

[PHP] Variable Passing

2005-04-08 Thread 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 to it in the future? Thanks,

[PHP] R: [PHP] variable passing using URL

2004-05-14 Thread Alessandro Vitale
14 maggio 2004 8.24 A: [EMAIL PROTECTED] Oggetto: [PHP] variable passing using URL hello list, I have a problem in passing variables using URLs. I have a link from a PHP 'Page One' and passing some variables thru URL. This link should now open another page (main frame) which will have

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]

[PHP] variable passing using URL

2004-05-13 Thread gowthaman ramasamy
hello list, I have a problem in passing variables using URLs. I have a link from a PHP 'Page One' and passing some variables thru URL. This link should now open another page (main frame) which will have two frames in it (left frame and Right frame). But I want the variables to be passed on to the

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/

[PHP] variable passing

2004-03-12 Thread Martin S
I have this in equip-lend-index.php and want to pass the variable $equipment back to the same page: PRINT " Equipment: "; PRINT " Computers"; PRINT " Phones"; PRINT " "; PRINT " "; Hitting Select (submit button) doesn't pass the value of $equipment back to the page. What am I doing wrong? /

RE: [PHP] Variable passing through a form

2002-11-20 Thread Peter Houchin
ovember 2002 2:24 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Variable passing through a form > > > > Hi, > > I currently have a page divided into three areas, two of which > are iframes. > > The user selects a component out of part 1, which decides what is shown &g

[PHP] Variable passing through a form

2002-11-20 Thread Michael Benbow
Hi, I currently have a page divided into three areas, two of which are iframes. The user selects a component out of part 1, which decides what is shown in part 2. When something is clicked in part 2 the information updates in the second iframe, or part 3. This is all working fine through $P

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 > > >

[PHP] Variable Passing

2001-05-22 Thread Internaut
Hello 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE