Bug #11680 Updated: Submission errors

From: Date: Tue, 26 Jun 2001 10:06:42 +0000
Subject: Bug #11680 Updated: Submission errors
Groups: php.dev 
Request: Send a blank email to php-dev+get-58013@lists.php.net to get a copy of this message
ID: 11680 Updated by: sniper Reported By: mbeech13@columbus.rr.com Old-Status: Open Status: Feedback Old-Bug Type: *General Issues Bug Type: HTTP related Operating system: PHP Version: 4.0.6 Assigned To: Comments: You have to include a short but COMPLETE script which can be copypasted to a file and tested. This kind of pieces of some large script are useless since they can not be used to debug anything. Previous Comments: --------------------------------------------------------------------------- [2001-06-25 21:21:02] mbeech13@columbus.rr.com 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. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11680&edit=2

« previous php.dev (#58013) next »