php - index page wont display
When I type in the url I get a blank page. If I type in the url/page name, it comes up fine.
Without: http://www.rabbits-health-care.us --With: Training Rabbits
There is an index.php page that apparently rotates the main page. The only thing I've modified is to make sure that all my webpages are listed on that index.php page.
text from index.php
<?php
// Set how often home page changes - in seconds (recommended period is 86400 for 24 hours)
$lockperiod = 86400;
$filename = array ();
$filename[0] = 'what-do-rabbits-eat.php';
$filename[1] = 'training-rabbits.php';
$filename[2] = 'baby-rabbit-care.php';
$filename[3] = 'holland-lop-rabbits.php';
$filename[4] = 'lop-eared-rabbits.php';
$filename[5] = 'rabbits-diet.php';
$randpos = (intval(time() / $lockperiod)) % 10;
$filepath = $filename[$randpos];
include $filepath;
?>
LadyL
Fight Phishing Attacks, BEC, Ransomware Data Breach & other Threats
https://tangabyte.com
Free Reseller Account: https://hostingbizresellers.com