Add to Favourites Add to Favourites    Print this Article Print this Article

I cannot insert a text file in a table, and I get an error about safe mode being in effect.

Your uploaded file is saved by PHP in the "upload dir", as defined in php.ini by the variable upload_tmp_dir (usually the system default is /tmp). We recommend the following setup for Apache servers running with PHP in safe mode, to enable uploads of files while being reasonably secure:

Was this answer helpful?

Also Read