hi all...
this is a bit retarded but i cant figure it out.
if(!$hook = mysql_connect(localhost, user, passwd)) die('did not connect');
mysql_select_db(db,$hook);
echo $q = 'select * into outfile "/path/to/files/daily/today.txt" from table where date(entry) = curdate()';
mysql_query($q);
nice. after executing it on the command line nothing happens except it prints the query.
permissions a fine. i even set it up the directory to 777 so i can test.
no warning/error messages. no log entries....
if i copy and paste the printed query in the mysql client cli it works fine...
it works fine on a another machine. just want to move it...
php 5.2.6 with mysql 5.0.51b
any help welcome....
thanks...