I can not pass any variables with url like:
href=myfile.php?myvariable=xxx
In my php script myfile I get undefined variable: myvariable notice
It is not only notice.
The variable is realy undefined and cleared to 0.
I use PWS on Win 98 & PHP4
Help!!!!!!!!
Undefined variable when passing with URL
Is register_globals set to ON in php.ini?
If not, use this to access myvariable:
echo $_GET['myvariable'];
if you are POSTing a form, use:
echo $_POST['myvariable'];
In php 4.2.0+, register_globals is by default Off because it is not safe/secure to use.
-sridhar
Of course, register_globals is on.
The array $GET is always empty.
It is impossible to pass any parameter from URL line (after ? tag).
I get undefined variable notice for $id and undefined index notice for $get['id']
I spent severals days without succes.
Help once more!!!