Page 1 of 1

Web link in PHP

Posted: Wed Jul 02, 2008 12:09 pm
by sliver
Hi all,

I have this source code, but i instead of the echo's command , I want to put a link to web page.
How can I do that?

SOURCE:

<?php
session_start();
if ($_POST[vercode] != $_SESSION[vercode] OR $_SESSION[vercode]=="") {
echo "<strong>Incorrect verification code.</strong><br>";
} else {
echo "<strong>correct verification code.</strong><br>";
};
?>


Thanks!

Re: Web link in PHP

Posted: Wed Jul 02, 2008 12:13 pm
by Frozenlight777
Easier than you would think... check out the header function

http://us2.php.net/header

Re: Web link in PHP

Posted: Wed Jul 02, 2008 12:30 pm
by sliver
Frozenlight777 wrote:Easier than you would think... check out the header function

http://us2.php.net/header

Pretty easy... ehehe

Thanks!