Hi,
I have a problem with my PHP and MySQL on a FreeBSD 6.2 server.
When I am saving a file to the database I get this error:
The file '/var/tmp/phpLyOutn' must be in the database directory or be readable by all
What I understand is that MySQL has to have the privilliges to access and read the file, but how do I do this? The /var/tmp dir har CHMOD 777, so the problem is not there. The uploadtemp dir in php.ini, is /var/tmp/, no problems there.. but still I get this error.
MySQL function I use:
$queryLoadDoc = "LOAD DATA INFILE \"$post\" INTO TABLE $tabletemp";
Can somebody please help me, I am all googled out!
// Paul