[PHP-WIN] Script found and interpreted but header status 404 is set

2005-06-09 Thread Grant Gardner
Hi, I'm running PHP 5.0.4 on Windows XP, under Jetty, a Java HTTP Server and Servlet container. The container is configured to pass *.php requests to a CGI servlet which execs php-cgi.exe Everything seems to work fine and the expected text/html output is returned, however PHP is always setting

[PHP-WIN] how to avoid repetition?

2005-06-09 Thread bo
I need to generate 10million 12-char string and I am able to do so, however the problem is how to avoid repetition keeping each string unique? it will be a disaster to compare each string,isn't it? ps Thanks Yong. Bo -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: ht

RE: [PHP-WIN] how to avoid repetition?

2005-06-09 Thread Murray @ PlanetThoughtful
> I need to generate 10million 12-char string and I am able to do so, > however > the problem is how to avoid repetition keeping each string unique? it will > be a disaster to compare each string,isn't it? One way to handle this would be to insert the 10 million values into a MySQL table [1] that

Re: [PHP-WIN] how to avoid repetition?

2005-06-09 Thread graeme
A couple of ideas to improve the chances of generating unique strings You could create 20,000,001 char(6) strings, merge the first with the last, second with the second last and so on, creating char(12) strings or You could create 20,000,001 char(7) strings, merge the first with the last, se