Forum Moderators: coopster
I get an error message : syntax error near unexpected token mysql_connect(" .
First Lines of script are:
<? // line1
$server_connect = mysql_connect("localhost", "user", "pass"); // line2
$db_connect = mysql_select_db("dbname", $server_connect) or die("Cannot Connect to Database");// line3
Am i doing somethig wrong?
The cron is set to run as root from: /home/username/www/foldername/filename.php
anyway i finally managed to run the script as it was supposed to run...
wget [mysite.com...]
with {folder} and script_to_run.php set to 777
Thanks for the advice dc (because since you saw me i could call an exe, perhaps i could call a virtual browser (or at least this is how i understand the wget))! :)