register_globals which turned the id= into $id is turned off in PHP 4.
This is a good thing(security reasons). You need to use $_GET['id'] (or
in PHP3, $HTTP_GET_VARS['id'], and this also works in PHP4).
It takes a bit to get used to it, but it's a much better way to handle
things, especially w
1. use $_GET['id'] rather than $id OR
2. turn off register globals in php.ini, or at a per-directory level with a
.htaccess file
3. you should have searched the archives first
4. this question gets asked almost daily
Justin
on 05/12/02 11:01 AM, Dan Wade ([EMAIL PROTECTED]) wrote:
> Hello,
Hello,
i'm grabbing querystring data like:
www.myserver.com/foo.php?id=bar
It works like a champ on dev server using php 3 but the sys admin
use PHP 4 on the production box and the querystring is no longer being
passed.
I can't imagine this changed from version to version.
Is he missing someth
3 matches
Mail list logo