Re: [PHP-DB] temporary files

2003-03-23 Thread David Smith
You might consider using tmpnam() instead. tmpnam() doesn't give you a file handle (like tmpfile() does), but rather a file name. Just pass it a directory (like "/tmp") and a prefix to help identify it (can be "" ). It returns the unique file's name, and you could open a file handle to it with

[PHP-DB] temporary files

2003-03-23 Thread Lars Tvedt
Im trying to create a way of storing php scripts in a mySQL database and then execute them using temporary files as executable script buffers.. Ive got a mysql table with 4 fields: execID, execName, execDesc and execProc The last one contains php code. This is what i have so far: But i need