You want to backup temporary internet files to a server. Do you want to have the script automatically upload every file that enters TIF, only with a certain extension (ie. *.txt files), or do you want to prompt the script itself (I assume not, that is work upon the user).
This script could be obviously be used maliciously. Not trying to say that is your intent or anything.....
Basically, loop through the Temporary Internet Files (http://ie2.php.net/opendir) at certain times (maybe every 2 hours, maybe every 24 hours), check the last modified time and created time to see if it needs to be uploaded (if it existed before the scripts current scan, and was not modified, no updating needed) (http://ie2.php.net/manual/en/function.filemtime.php and http://ie2.php.net/manual/en/function.filectime.php)
At that point, you can:
-
Put them in archive of some sort (php modules exist) and upload them via HTTP php script or FTP.
-
Upload them all individually
That should give you idea of how to write the script yourself, if you wish to do so.