[PHP-DEV] Bug #11680 Updated: Submission errors

2001-07-23 Thread kalowsky

ID: 11680
Updated by: kalowsky
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: HTTP related
Operating System: Win2K Pro SP2
PHP Version: 4.0.6
New Comment:

closed due to lack of user feedback.  if this bug is still valid, please reopen the 
bug.

Previous Comments:


[2001-06-26 06:06:42] [EMAIL PROTECTED]

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-06-25 21:21:02] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=11680&edit=1


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11680 Updated: Submission errors

2001-06-26 Thread sniper

ID: 11680
Updated by: sniper
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]