You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Todd Schiller <pr...@hotmail.com> on 2003/06/15 23:23:11 UTC
[users@httpd] Forms Do Not Pass Information
When a form is submitted using POST, it goes to the apropriate page, but
does not send any information along with it. This problem only occurs on the
server on my computer but not on the server of my friends website (Using the
same script). Could this possibly be an error in my .conf file? Or is it
something else? Thankyou for your time.
PHP: 4.3.2
Apache: 2.0.46
OS: Win 2000 Pro SP3
Todd Schiller
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] Forms Do Not Pass Information
Posted by Brian Schofield <br...@bmschofield.com>.
Guess you win your 10 bucks (is that Canadian or US) I have had a
similar problem and changing the register_global to 'on' solved the
problem. I guess there is no problem as this is an off-line test system
and my host still supports it,
Brian M Schofield MSc MBCS
Web site: www.bmschofield.com
-----Original Message-----
From: Andre Eisenbach [mailto:andre@eisenbach.com]
Sent: 15 June 2003 23:16
To: users@httpd.apache.org; Todd Schiller
Subject: Re: [users@httpd] Forms Do Not Pass Information
Am Sonntag, 15. Juni 2003 14:23 schrieb Todd Schiller:
> When a form is submitted using POST, it goes to the apropriate page,
but
> does not send any information along with it.
I bet 10 bucks on register_globals ;).
Assuming that the script is PHP, how do you retrieve the value? Do you
try
something like this:
<?php echo $myvariable; ?>
If register globals is off (as it should be), that won't work anymore.
The
correct way would be:
<?php echo $_POST['myvariable']; ?>
You could turn register_globals to ON, but you shouldn't, as it's a
security
hazard.
Cheers,
Andre
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Forms Do Not Pass Information
Posted by Andre Eisenbach <an...@eisenbach.com>.
Am Sonntag, 15. Juni 2003 14:23 schrieb Todd Schiller:
> When a form is submitted using POST, it goes to the apropriate page, but
> does not send any information along with it.
I bet 10 bucks on register_globals ;).
Assuming that the script is PHP, how do you retrieve the value? Do you try
something like this:
<?php echo $myvariable; ?>
If register globals is off (as it should be), that won't work anymore. The
correct way would be:
<?php echo $_POST['myvariable']; ?>
You could turn register_globals to ON, but you shouldn't, as it's a security
hazard.
Cheers,
Andre
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org