Re: Re: $_POST suddenly empty; $_GET and _$REQUEST fine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nathan Rixham wrote:
> Alex Kirk wrote:
>> I've got an Apache 2.2.3 server running PHP 5.2.6 on top of FreeBSD
>> 6.2. It's worked quite well for over a year now. However, as of some
>> time last night, phpBB broke; upon investigation, I realized that the
>> problem was that $_POST was never getting populated, even on properly
>> formed HTML forms.
>>
>> Testing this to try to find the issue, I used the following script:
>>
>> <?php
>>  print "Testvar: " . $_POST['testvar'] . "<br/>\n";
>> ?>
>>
>> <form method="POST" action=http://www.newmars.com/test.php
>> name=formname enctype="multipart/form-data">
>> <input type=text name=testvar><br/>
>> <input type=submit value=Submit><br/>
>> </form>
>>
> 
> looks like you already fixed it.. works fine for me on your server:
> 
> array(1) { ["testvar"]=>  string(2) "er" } NULL
> (then all the phpinfo())
> 
> i posted "er" on the form at bottom..
> 

Seems to be working for me also.

-- 
Jim Lucas

   "Some men are born to greatness, some achieve greatness,
       and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
    by William Shakespeare

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux