Jump to content

tmp directory


jeff5656

Recommended Posts

I have a script that backs up using mysqldump.

The script saves to /tmp which is ABOVE the public_html (WWW) directory.

Question:

 

where do I put this script and how do I write the php to correctly point to the tmp directory?

 

If I put the file above the WWW directory, I won't be able to run it from the web I assume.

 

Once I get this to work I;m going to try to figure out how to set up a cron job, but first thing is to learn how to write to the tmp directory (before mailing the backup to a gmail address)

Link to comment
https://forums.phpfreaks.com/topic/241248-tmp-directory/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.