Problems with post data
| From: | Mark Douglas | Date: | Sat, 29 Mar 2003 12:56:56 +0000 |
| Subject: | Problems with post data | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-141578@lists.php.net to get a copy of this message | ||
I'm having problems with my post variables. Here's the page I use to submit
data:
<FORM ACTION="test2.php" METHOD=POST />
<INPUT TYPE=text SIZE=50 MAXLENGTH=50 NAME="new_area"
/> <INPUT TYPE=SUBMIT VALUE="Add New Skill Area" /><BR
/><BR />
</FORM>
Here's the test2.php page:
<?php
print_r($_POST);
?>
This is all very simple, and works on one of my webservers. However, on
another webserver with a practically identical configuration, if I post
"testing" the result that I get is this:
Array ( [new_area] => testingnew_area=testing )
I've spent hours scouring my two configurations, changing options here and
there, and have had zero success in making the problem webserver work.
The server is a dual processor RedHat 8 system running apache 2.0.43, and
php 4.3.1. You can see the phpinfo at
http://inexorable.sagelikefool.net/phpinfo.htm
(yes htm, not php). Any and
all help is appreciated!