heres another alternative
replace the line
header("Location: ".$_SERVER['PHP_SELF']);
with
echo "<meta http-equiv=\"refresh\" content=\"1;". $_SERVER[PHP_SELF] ."\" />\n";
Posted 29 July 2006 - 06:17 PM
header("Location: ".$_SERVER['PHP_SELF']);
echo "<meta http-equiv=\"refresh\" content=\"1;". $_SERVER[PHP_SELF] ."\" />\n";
Posted 29 July 2006 - 06:21 PM
if (!$tomanylinks && !$badwordfound) { $result = mysql_query("INSERT INTO shoutbox (name, message, time) VALUES ('{$_POST['name']}', '{$_POST['message']}', '$time')") or die(mysql_error()); }That's where I put it, since that was the area of problem (plus I found no other actual querys I could legally put it in).
Posted 29 July 2006 - 06:24 PM
Posted 29 July 2006 - 08:29 PM
echo "<meta http-equiv=\"refresh\" content=\"0;". $_SERVER[PHP_SELF] ."\" />\n";
Posted 29 July 2006 - 08:32 PM
Posted 29 July 2006 - 08:37 PM
Posted 29 July 2006 - 08:38 PM
Edited by coolaid, 29 July 2006 - 08:39 PM.
Posted 29 July 2006 - 08:41 PM
Posted 29 July 2006 - 08:44 PM
Posted 29 July 2006 - 08:46 PM
Edited by .Matt, 29 July 2006 - 08:47 PM.
Posted 29 July 2006 - 08:47 PM
Posted 29 July 2006 - 08:52 PM
lol, how did it fail??
Posted 29 July 2006 - 08:54 PM
Posted 30 July 2006 - 01:18 PM
You probably have a line break at the top of the file. Make sure the opening <?php is the FIRST thing in the file (no spaces, no line breaks, nothing).(output started at /home/irekevin/public_html/index2.php:1)
Edited by rc69, 30 July 2006 - 01:22 PM.
Posted 31 July 2006 - 01:39 PM
0 members, 0 guests, 0 anonymous users