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

Revision: 1.0/1.0, last modified on 2005-02-23 @ 03:08.

Karma: -1 (49.45% out of 91 were positive) [+/-]

You can subscribe to RSS 2.0 feed for comments and trackbacks

Trackbacks:
There are currently no trackbacks for this item.
Use this TrackBack url to ping this item (right-click, copy link target). If your blog does not support Trackbacks you can manually add your trackback by using this form.

No comments yet

Add Comment



A blog about open source, patches, thoughts and geeks