How to …PHP Redirect
Thursday, May 10th, 2007 Use an index.php file that will redirect the user to whatever URL you want .
< ? php
header("Location: http://www.whereUwant2Go.com/");
exit;
?>
Use an index.php file that will redirect the user to whatever URL you want .
< ? php
header("Location: http://www.whereUwant2Go.com/");
exit;
?>
The above PHP code works for the index page and doesn’t display on the other pages, perfect.
Pixel-Pro..Click
Excellent, found via westernstudios.net
if($sentmessage == ‘5′){
echo “FLOOD PROTECT!!..You have already accessed our downloads module 5 times!”;
exit();
}else{
$num = $sentmessage + 1;
setcookie(”sentmessage”,”$num”,time()+600);
}
600 = 10 minutes, 5 is number of times page can be accesses by IP
Currently added as test to localhost/nuke79/downloads
Include .php page in html
Code below:
<?php include(“raven.php”);?>