Reply To: ME is underlining my www addresses

Product Compare Forums Multi-Edit Support ME is underlining my www addresses Reply To: ME is underlining my www addresses

#5573
Clay Martin
Keymaster

Hi,
The <a href="http://us4.php.net/manual/en/function.fopen.php:2vozw0sy]fopen[/url:2vozw0sy”> function will allow your script to read another webpage into the script. If you want to send a visitor to another web page on your site you should use the following:
[code:2vozw0sy]header("Location: http://" . getenv("HTTP_HOST") . "/" . "somepage.html");[/code:2vozw0sy]
Note you can’t have sent any other data to them, or this will be a duplicate <a href="http://us4.php.net/manual/en/function.header.php:2vozw0sy]header[/url:2vozw0sy”> (look out for blank lines above your <?php as they are considerd “sending data” :wink: )

But if you want to open another browser window for a web site visitor, you need to use a bit of javascript.

HTH
Clay