Hi, I've been using this script that I found here for about a year, but it's stopped working and I really need some help:
http://www.programmingtalk.com/showthread.php?t=3972
It was working great, but then my server's hard drive died and I was given PHP 4.3.7. Now this script gives me the following error:
Warning: Cannot modify header information - headers already sent by (output started at /home/url/jump.php:7) in /home/url/jump.php on line 8
I have been looking all over the Web for an answer and I can't fix it. I already checked to make sure this script has no white spaces. I tried putting the <HTML> etc. after the <?php ... ?> and that doesn't work.
Does anyone have any idea how to fix this? I am a total novice at PHP - I barely understand it. But this jump script is used throughout my site and was working so much better than CGI that I really rely on it in my drop-down menus and forms. I bet it's something stupid that I've done wrong, but I honestly have no idea how to fix it.
Here is my version of this script. Thanks for reading my message, and please, please help if you can!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Jump</title>
</head>
<body>
<?php
header("Location: $goto");
?>
</body>
</html>