Got this error when putting the include("wowserverstatus.php") in a php block
2: file_get_contents(images/wowss/wowss_data.txt): failed to open stream: No such file or directory
File: /home/puchusof/public_html/ridersofsombak/forums/wowserverstatus.php
Line: 76
I have the file in that directory... it has 777 permissions... I made sure the .tff files were in binary...
line 76
$info = explode(",", file_get_contents($timestamp));
Its with this grouping
// Check timestamp, update when ready
if (substr($folder_path, -1, 1) != '/') $folder_path = '$folder_path/';
$timestamp = $folder_path . 'wowss_data.txt';
$min = date(i)*1;
$info = explode(",", file_get_contents($timestamp));
if (filesize($timestamp) == 0) { $pass = true; }
if ($min >= ($info[0]+$timer) or $min < $info[0] or $realm or $pass) {
Thanks for the help so far...