Hello. I am new to PHP and found this program very usefull. But it took me while to understand how generated codes pass query string.
The first of all I did not know PHP's "register_global" variable in php.ini file. But I know now how that works.
My problem is, I have to manage several linux and Windows hosts and some of them are register_global turned ON and some of them are OFF.
Here's my question. Is there any settings that will help my situation?
I think I would like to generate all codes that assume register_global turned OFF. Thank you very much.
Opps.. I think I would overcome my problem by entering below lines in head.php or some file included every page.
<b>ract($_POST); extract($_GET);</b>
ract($_POST); extract($_GET;
Sorry.....
extract($_POST); extract($_GET);
Log in to post a comment.
Hello. I am new to PHP and found this program very usefull. But it took me while to understand how generated codes pass query string.
The first of all I did not know PHP's "register_global" variable in php.ini file. But I know now how that works.
My problem is, I have to manage several linux and Windows hosts and some of them are register_global turned ON and some of them are OFF.
Here's my question. Is there any settings that will help my situation?
I think I would like to generate all codes that assume register_global turned OFF. Thank you very much.
Opps.. I think I would overcome my problem by entering below lines in head.php or some file included every page.
<b>ract($_POST);
extract($_GET);</b>
Opps.. I think I would overcome my problem by entering below lines in head.php or some file included every page.
ract($_POST);
extract($_GET;
Sorry.....
extract($_POST);
extract($_GET);