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,
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
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
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
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
5 matches
Mail list logo