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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
3 + 32 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC