Re: foo.php?bar=cheese
From: Janwillem Borleffs (jw_at_jwscripts.com)
Date: 03/27/05
- Next message: Good Man: "Re: foo.php?bar=cheese"
- Previous message: Janwillem Borleffs: "Re: Need help from the PHP GURU's"
- Next in thread: Good Man: "Re: foo.php?bar=cheese"
- Maybe reply: Good Man: "Re: foo.php?bar=cheese"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 27 Mar 2005 00:29:29 +0100
Chris B wrote:
> My problem is, I can't pass parameters to the page via the browser on
> localhost. That is, I can type index.php?var=value in the browser, but
> it doesn't get processed- echo $var comes up as null.
>
That's because your environment has the register_globals directive disabled.
> When I send it off to the webhost and run it from there, it works
> fine.
That's because the webhost has the register_globals directive enabled.
Read: http://www.php.net/register_globals
JW
- Next message: Good Man: "Re: foo.php?bar=cheese"
- Previous message: Janwillem Borleffs: "Re: Need help from the PHP GURU's"
- Next in thread: Good Man: "Re: foo.php?bar=cheese"
- Maybe reply: Good Man: "Re: foo.php?bar=cheese"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|