httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Schofield" <br...@bmschofield.com>
Subject RE: [users@httpd] Forms Do Not Pass Information
Date Mon, 16 Jun 2003 19:52:12 GMT
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


Mime
View raw message