Read this: http://www.php.net//manual/en/security.registerglobals.php

and either turn on register_globals: ini_set ("register_globals", "1");

or better yet, start using the super global syntax: 
http://www.php.net/manual/en/language.variables.predefined.php#language.variables.superglobals

like so: $_POST['myvar']

--
Jim


>>> Matt <[EMAIL PROTECTED]> 12/24/02 09:05AM >>>
Hi. I am very new to PHP. I have both apache and mysql as well as php 
installed on my laptop. I thought PHP was functioning correctly because 
when I do a phpinfo() I get the appropriate diagnostic page.

However in a couple of exercises designed to display variables 
populated from a form in one case, and in the other, a very simple page 
to just display the contents of a few of the built-in HTTP variables 
such as HTTP_REFERER, the variables aren't passing. The pages where the 
variable contents should display are empty. I've had a friend try the 
code on their server and they work fine so I know it's not my code 
which leads me to server configuration. Any ideas? I"m really stumped.

TIA -

Matt


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



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

Reply via email to