|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11680 Submission errors
Submitted: 2001-06-25 21:21 UTC Modified: 2001-07-23 11:47 UTC
From: mbeech13 at columbus dot rr dot com Assigned:
Status: Closed Package: HTTP related
PHP Version: 4.0.6 OS: Win2K Pro SP2
Private report: No CVE-ID: None
 [2001-06-25 21:21 UTC] mbeech13 at columbus dot rr dot 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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-26 06:06 UTC]
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.

 [2001-07-23 11:47 UTC]
closed due to lack of user feedback.  if this bug is still valid, please reopen the bug.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Aug 15 12:01:25 2020 UTC