Re: mysql php4.04 and safe_mode

From: Date: Sat, 13 Jan 2001 22:16:32 +0000
Subject: Re: mysql php4.04 and safe_mode
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-34412@lists.php.net to get a copy of this message
create a dir called tmp in de dir where de script runs chmod 777 that dir and the run the script again .. -- If it can be dreamt, it can be build "andreas (@work)" <myviva@utanet.at> wrote in message news:003501c07ce5$41a15120$fe78a8c0@devel01... hi list, sorry, but we cant manage a Load Data Infile cause we always get: Can't get stat of '/tmp/phpNNAQSM' (Errcode: 2) OUR Code is working fine in different project where safe_mode = OFF ============================= heres the line where we try to move the file to a webfolder in our directory move_uploaded_file ($textfile, "/home/sites/site2/web/Tango/tmp/mySql.txt"); chmod("/home/sites/site2/web/Hafele/tmp/mySql.txt", 0644); ============================= any ideas for us ? is there a way that we can set the upload_tmp_dir path in a .htaccess file ? thank you andreas

« previous php.general (#34412) next »