By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,722 Members | 1,174 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,722 IT Pros & Developers. It's quick & easy.

Can't read form variables after reinstalling Apache

P: n/a
I reinstalled Apache (2.0.52) and added the appropriate lines to run
php scripts to the bottom of the httpd.conf file. The scripts run fine
(for example, 'print "Hello!"' yields "Hello!" rather than displaying
all of the code (which would occur if the php script wasn't being
processed by php.exe first). However, variables passed from a form are
read as null/empty. Any idea why, and/or how I can fix this? I found
it hard to believe that there would ever be a configuration setting
for that kind of thing (since it's the 'meat and potatoes' of
server-side web scripting), but I looked through the httpd.conf file
extensively nonetheless and could find nothing that looked like it
could be set to adjust for this. I'm having the same problem now when
I install it on my Linux system as well.

thanks for any help/advice

Jonathan
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Jonathan" <th***************@yahoo.com>
However, variables passed from a form are
read as null/empty. Any idea why, and/or how I can fix this?


<? phpinfo(); ?>

Direct your form to another page with only this line and check if you get
$_REQUEST, $_POST or $_GET -variables of any kind. If you dont find your
values anywhere in those, then maybe its your form or also check those
register_globals, gpc etc. etc.

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.