La Vita è Bella

Tuesday, February 22, 2005

Just remember a program I've wrote

I've wrote a PHP program to verify proxy servers in a MySQL db. It use wget to direct download a webpage, and then use the proxy to download the webpage, and diff them.

So I need 2 temp filename for the 2 downloaded file, I forgot the function &tmpfile&, so I generate 2 random numbers, and use the md5 hashs of the numbers as the filename...



tags: , ,

12:08:00 by fishy - thought - Permanent Link

no comments yet - no trackbacks yet - karma: -2 [+/-]

May the Force be with you. RAmen