Hello, what you're looking for is called Register Globals which is turned off, therefore you just cannot use $variable but must use $HTTP_POST_VARS['variable'].
It is turned off for security reasons and can be usually find in php.ini file (ask your system administrator). On Monday 24 November 2003 16:35, Renaldo De Silva wrote: > Forgive me if you've already addressed this, I'm trying to post some > variable to a php sript and they just arn't registering if i use the code > below it get's the variable and it's contents > > <? > > echo "Values submitted via POST method:<br>"; > reset ($HTTP_POST_VARS); > while (list ($key, $val) = each ($HTTP_POST_VARS)) { > echo "$key => $val<br>"; > } > > ?> > > but if I call the variable directly > > <? echo $renaldo; ?> it prints nothing, should I go ahead and take apache > 2.* off my box or if the fix easy. -- : :. kind regards :.. Martin Hudec :.: :.: =w= http://www.aeternal.net :.: =m= +421.907.303393 :.: [EMAIL PROTECTED] [EMAIL PROTECTED] :.: :.: "When you want something, all the universe :.: conspires in helping you to achieve it." :.: - The Alchemist (Paulo Coelho) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php