I can't get the php linking to work. Please help!
http://www.logisticdesigns.biz/system/link.html
( I have two hyperlinks refering back to link.php )
Index = http://www.logisticdesigns.biz/system/link.php?location=index
Advertise = http://www.logisticdesigns.biz/system/link.php?location=advertise
Page sits blank now, before got 404 page not found.
I have appropriate chmod settings for file to be accessed, what am i doing wrong, this is my third time around getting help with this script, thanks in advance...
😕
<?php
$location['index'] = "../index.html";
$location['rotation'] = "../advertise/rotation.html";
$data = @file ($location[$_GET['location']]);
if (!$data){
$data = @file ("../error/404.html");
}
if (is_array($data)) $data = @implode ($data);
echo $data;
?>
😕