Re: [PHP] Different Problem [Re: Passing a Variable to PHP Via the URL]

2002-06-11 Thread jsegovia
Jason Soza <[EMAIL PROTECTED]> wrote: > Rather than just setting globals on in php.ini, try this: Thanks a lot. Your and Philip Olson's responses have got me thinking in the direction of better security and code. I am going to turn register_globals off and rewrite the code. Now if only I can

[PHP] Different Problem [Re: Passing a Variable to PHP Via the URL]

2002-06-11 Thread jsegovia
I found out that in fact PHP is creating a variable with the name and value I'm passing through a URL from the querystring. But it's still not working as planned. The url server/test.php?id=1 creates the following results in my code: printf("Variables: %s\n", $HTTP_GET_VARS["id"]); This line