Re: [PHP] localhost - passing variables

2002-07-05 Thread Alberto Serra
Tony Tzankoff wrote: > Is it possible to pass variables in PHP on the localhost server? Is there > some kind of setting or something that I need? I am new to this and am not > sure how to go about this. When I upload to a server, the script I have > works just fine; but when I work on it locally,

RE: [PHP] localhost - passing variables

2002-07-05 Thread Lazor, Ed
It almost sounds as if globals is turned off. -Original Message- On Fri, 5 Jul 2002, Tony Tzankoff wrote: > Is it possible to pass variables in PHP on the localhost server? Is there > some kind of setting or something that I need? I am new to this and am not > sure how to go about this. W

Re: [PHP] localhost - passing variables

2002-07-05 Thread Miguel Cruz
On Fri, 5 Jul 2002, Tony Tzankoff wrote: > Is it possible to pass variables in PHP on the localhost server? Is there > some kind of setting or something that I need? I am new to this and am not > sure how to go about this. When I upload to a server, the script I have > works just fine; but when I

Re: [PHP] localhost - passing variables

2002-07-05 Thread Philip Olson
A guess: Your local server has different settings then the remote server. Specifically, the register_globals directive. For example, take this url: http://www.example.com/foo.php?id=3 If register_globals = off you can get this by: // These methods work as of PHP 4.1.0 print

Re: [PHP] localhost - passing variables

2002-07-05 Thread Martin Clifford
If you're using one of the more recent releases of PHP4+, then register_globals is set to OFF by default in your php.ini file. Change this to ON or use $_GET['variable']/$_POST['variable'] to access the values. Martin >>> "Tony Tzankoff" <[EMAIL PROTECTED]> 07/05/02 12:43PM >>> Is it possible

[PHP] localhost - passing variables

2002-07-05 Thread Tony Tzankoff
Is it possible to pass variables in PHP on the localhost server? Is there some kind of setting or something that I need? I am new to this and am not sure how to go about this. When I upload to a server, the script I have works just fine; but when I work on it locally, it does not work. Please help