php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mbeech13 at columbus dot rr dot com
New email:
PHP Version: OS:

 

 [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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-26 06:06 UTC] sniper@php.net
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] kalowsky@php.net
closed due to lack of user feedback.  if this bug is still valid, please reopen the bug.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 04:01:30 2025 UTC