Quote Originally Posted by bplex
You have safemode turned on more than likely.

Change the code that says "include("/home/com/public_html/include/config.php");" to be "include("include/config.php");"
Nothing...

Code:
/home/com/public_html/cron_guest_info_table.php: line 1: ?php
: No such file or directory
/home/com/public_html/cron_guest_info_table.php: line 2: syntax error near unexpected token `"include/config.php"'
/home/com/public_html/cron_guest_info_table.php: line 2: `    include("include/config.php");
'
Still errors..

I dont think to have safe mode on, vshare run without problem...

thank you anyway.

Maybe i can directly put database info directly in the code?

Code:
<?php
    $db=mysql_connect ($localhost,$username,$pass) or die ('I cannot connect to the database because: ' . mysql_error());
    mysql_select_db ($namedatabase);
    mysql_query("TRUNCATE TABLE `guest_info`");
    #mysql_query("TRUNCATE TABLE `playlist`"); // uncomment if you also don't want to track peoples entire playlists.
    mysql_close($db);
   #print "Your guests and their play lists (if playlists has been included in the flush) have been cleared from the database.";//UNCOMMENT IF YOU RUN THIS MANUALLY
   #print "

";//UNCOMMENT IF YOU RUN THIS MANUALLY
   #print "Return to the main page";//UNCOMMENT IF YOU RUN THIS MANUALLY
   ?>
will work like this?