Re: [PHP] Temporary storage of data

2005-03-11 Thread Jason Barnett
http://receiving_server.com/genkey.php?fname='; define('TMP', './'); $key = << http://evil:haxor/leet_hax0r/your_server_is_my_beeyatch.php.jpg"; /> DATA; $fp = null; while(!$fp) { $fname = TMP . uniqid(NULL, TRUE); $fp = fopen($fname, 'x'); } /** flock() doesn't work on all systems, write ba

Re: [PHP] Temporary storage of data

2005-03-11 Thread Dan Trainor
Jason Barnett wrote: Dan wrote: dan wrote: ... Before we go through all of this, why isn't SQLite an option? It is in by default as of PHP5.0.0 so if the server is / will be PHP5 soon then I would go that route. http://php.net/manual/en/ref.sqlite.php Jason - Yea, I saw that, but for this I have t

Re: [PHP] Temporary storage of data

2005-03-11 Thread Jason Barnett
Dan wrote: > dan wrote: > ... Before we go through all of this, why isn't SQLite an option? It is in by default as of PHP5.0.0 so if the server is / will be PHP5 soon then I would go that route. http://php.net/manual/en/ref.sqlite.php -- Teach a man to fish... NEW? | http://www.catb.org/~esr/f

Re: [PHP] Temporary storage of data

2005-03-10 Thread dan
dan wrote: Hello, all - I am building a script that basically records some data on the local server for a period of about one hour. At that time, the data is sent to another server by means of HTTP POST. The problem I'm faced with is how to store the data locally. There are a few things that