Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
header("Location: [URL unfurl="true"]http://www.myhost.com/myurl/");[/URL]
<?
include "config.inc";
$emailcheck = $email;
$sql = "SELECT * FROM information";
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
extract($row);
if ($email == $emailcheck) {
echo '<META HTTP-EQUIV="Refresh" Content="0; URL=literature_new.php">';
exit;
}
else {
$email = $emailcheck;
echo '<META HTTP-EQUIV="Refresh" Content="0; URL=request.php?email=\'$email\'">';
}
?>
while($row = mysql_fetch_array($result)){
# now send the header if they are equal
if($row['email'] == $emailcheck){
header("Location: literature.new.php");
exit;
}
}
# if it hasn't been found in the results use alternate header
header("Location: request.php?email=".urlencode($emaicheck));
exit;
<?
include "config.inc";
$sql = "SELECT * FROM information";
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
extract($row);
$referer = "[URL unfurl="true"]http://test.philipslighting.com/nam/events/lightfair/request.php?$email";[/URL]
$ref1 = "[URL unfurl="true"]http://test.philipslighting.com/nam/events/lightfair/check.php";[/URL]
if (($HTTP_REFERER != $referer) || ($HTTP_REFERER != $ref1)) {
header ("Location: /nam/events/lightfair/checkemail.php");
exit;
}
else {
?>
display page
<? } ?>