Hi Martín!

> I can't remmeber how to configure php.ini so that if I get the URL
> http://localhost/index.php?var1=10
> an echo $var1 will return 10
> What I mean, is that _GET["var1"] exists, but I want $var1 to 
> be available.

If $var1 is not available directly, your safe_mode seems to be 
turned on.
One way would be to turn safe_mode off again: change the line

safe_mode=On
to
safe_mode=Off

in your php.ini.

The safer way would be to prepare $var1, for example like this:

$var1 = $HTTP_GET_VARS["var1"];

Now you can use $var1.

HTH,

Kiko

-- 
It's not a bug, it's a feature.
christoph starkmann
-- 

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

Reply via email to