Re: PHP Turing test problem

From: Date: Tue, 13 May 2003 13:06:26 +0000
Subject: Re: PHP Turing test problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147429@lists.php.net to get a copy of this message
At 14:34 13-5-03, you wrote:
This was in Feb issue of php|arch and I still can't solve it.... The problem is that the IE6.0 just don't want to display picture(just the little X-box)... As I see from the computer's point of view everything went well and the picture is displayed but all I get is the X-box....I think it has something to do with headers...
Looking at your function AdministerTest: function AdministerTest ($error = false) { // Generate a six-digit random string $token = (string) rand (100000, 999999); // Output form to the user if ($error) echo 'ERROR! You\'re not human!'; ?> Please enter the combination you see in the string above: <? } I miss the call to the image function and this $token = (string) rand (100000, 999999); surprises me that it does not give an error, what does that (string) part do?

« previous php.general (#147429) next »