#1
|
||
|
I fixed a problem with IIS 6
I installed phShoutBox without a hitch - it's a wonderful, simple solution for what I was looking for - thanks!
However, whenever I hit the "Shout It Out" submit button it would write that shout 100 times into the MySQL database and the phshoutbox.php file would return a CGI Error with a message about an incomplete set of headers. I'm running IIS 6/PHP 4.3.4/MySQL 4.0.16 After debugging a while I found that in phshoutbox.php there is a line that reads: PHP Code:
PHP Code:
|
#2
|
||
|
An automatic way to do the header would be
header("Location: http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']."?cmd=".$phsb[cmd]); Ill include this into future scripts. Thanks!
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
#3
|
|||
|
ok old topic i know, but cant you better use Apache instead of IIS? Ive been busy with PHP and stuff and from what ive read and heard Apache works better then IIS.
But i guess you have a reason for using it. Just a thought from me
__________________
<- Sponsored by Chris Found on Youtube: Quote:
|
#4
|
||
|
It don't woyk.
When I open phShoutbox.php to view, in IE, it opens the file. What gives? :? |
#5
|
||||
|
Quote:
Quote:
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fixed sizes | Chrispy | Sigs and Graphics | 9 | 01-12-2008 06:00 PM |
Must Have Fixed Today! | General Nuisance | Tech Support | 13 | 09-11-2005 02:18 AM |
I fixed it up | legit1 | Sigs and Graphics | 2 | 01-29-2005 12:20 AM |
Your DFLW Elevation Problem is fixed... | ArcticWolf | Delta Force | 2 | 04-21-2002 02:26 PM |