[PHP-DEV] Bug #11680: Submission errors From: mbeech13 <email protected>
Date: 06/25/01

From: mbeech13 <email protected>
Operating system: Win2K Pro SP2
PHP version: 4.0.6
PHP Bug Type: *General Issues
Bug description: Submission errors

Ok, I will try this again, maybe I can provide some sort of script to help.

Whenever someone submits a vote or newsitem to my site it says "No input file specified"

As admin I can still edit my stuff, just not post a new news item (I can post polls but not vote).

Anyhow, here is a portion of my functions file that deals with voting, maybe it will help.

if (isset($HTTP_POST_VARS["poll"])) {
    $pid = $HTTP_POST_VARS["pid"];
    $vote = $HTTP_POST_VARS["vote"];

    postVote($userinfo["user_id"], $pid, $vote, $REMOTE_ADDR);
}

and this error appears in my log:

Premature end of script headers: c:/php/php.exe

hope you guys can help, thanks.

-- 
Edit Bug report at: http://bugs.php.net/?id=11680&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>