Re: SoS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




if the statement "if (isset($id)) doesn't probably it because register_globals has been turned off maybe?

How about "if (isset($_GET["id"]))" ?

And if you want to keep the flexibility of getting the variable from anywhere, you can always use if ((isset($_GET["id"]))||(isset($id)))--that would cover query strings, and the case of any possible includes.


--
Jason Godesky
jason@tribaldawn.com
http://www.tribaldawn.com/jason/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux