[SOLVED] programatically creating a temporary file
Posted: Fri Jan 07, 2005 9:03 am
Hello group,
I am needing to grab data from a database and create a file temporarlily for use with the exec() function. Is there any easy way to do this without actualy going through all of the steps of fopen() fwrite()... then deleting the file when i'm done.
Does such a function exists that I may be able to send some text to it and a filename and use it until the page changes and have it deleted?
hope that made sense..
thanks to all
Will
I am needing to grab data from a database and create a file temporarlily for use with the exec() function. Is there any easy way to do this without actualy going through all of the steps of fopen() fwrite()... then deleting the file when i'm done.
Does such a function exists that I may be able to send some text to it and a filename and use it until the page changes and have it deleted?
hope that made sense..
thanks to all
Will