RE: [PHP] My own "captcha" from 2 years ago......

2007-03-26 Thread tedd

At 2:56 PM -0500 3/26/07, Richard Lynch wrote:

On Sun, March 25, 2007 9:49 am, Jake McHenry wrote:

 Do I call the image creation file in an html 

There is no such thing as "inline" image, so just forget that.

Yes, you just use a SRC in an IMG tag to point to a PHP script.

That PHP script can just use session_start() and get the secret key.



Yep, that's the way to do it.

Create a key at the start, place it in a session, call your Captcha 
image maker via src, and display the image.


Cheers,

tedd
--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] My own "captcha" from 2 years ago......

2007-03-26 Thread Jake McHenry
The try again button doesn't work...

And geez I had this working ok the entire time When I saw yours it
hit me... I don't have a form.  It would never echo out the code to
match whats in the picture... When the form is submitted it will check.. But
I didn't have it on a form... I was just playing with the images.. And
trying to get it to echo out whats in the pic So I sat here and did this
for basically nothing... Someone smack me.. lol 

> -Original Message-
> From: tedd [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 26, 2007 1:11 PM
> To: Brad Fuller; php-general@lists.php.net
> Subject: RE: [PHP] My own "captcha" from 2 years ago..
> 
> At 10:59 AM -0400 3/26/07, Brad Fuller wrote:
> >
> >echo '';
> >
> >This does not "run" or "call" image.php.
> >
> >This line of code sends this output to the browser.
> 
> Brad:
> 
> Yes, but the browser runs the code by trying to load an image.
> 
> Check this out:
> 
> http://sperling.com/examples/assorted-captcha/index.php
> 
> The first Captcha is the typical type and the image shown is created 
> by captcha.php via a simple img tag:
> 
> 
> 
> In this example, the "key" for this is passed via sessions and is not 
> included in a cookie nor dependant upon the value of the session id.
> 
> Refresh the page and new values are shown because it's the tag that 
> causes the captcha.php script to run.
> 
> Don't mind the Audio Captcha there, I have a better one.
> 
> Cheers,
> 
> tedd
> 
> -- 
> ---
> http://sperling.com  http://ancientstones.com  http://earthstones.com
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.18/733 - Release 
> Date: 3/25/2007 11:07 AM
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.18/733 - Release Date: 3/25/2007
11:07 AM
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] My own "captcha" from 2 years ago......

2007-03-26 Thread Richard Lynch
On Sun, March 25, 2007 9:02 pm, Jake McHenry wrote:
> In image.php is this:
>
>  session_start();
>
> ..captcha code..
> $_SESSION['code'] = rand(blahblahblah) to get the random code

Arooo?

Don't randomize the code you're going to put on the image here.

Make up a secret/random/obvious 'code' at the very beginning of the
process and DON'T CHANGE IT.


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] My own "captcha" from 2 years ago......

2007-03-26 Thread Richard Lynch
On Sun, March 25, 2007 9:49 am, Jake McHenry wrote:
> Do I call the image creation file in an html  bunch of
> things, and this is the only way I've been able to display the image
> inline
> so far, without the image headers blocking the rest of my output

There is no such thing as "inline" image, so just forget that.

Yes, you just use a SRC in an IMG tag to point to a PHP script.

That PHP script can just use session_start() and get the secret key.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] My own "captcha" from 2 years ago......

2007-03-26 Thread Brad Fuller
> From: tedd [mailto:[EMAIL PROTECTED]
> At 10:59 AM -0400 3/26/07, Brad Fuller wrote:
> >
> >echo '';
> >
> >This does not "run" or "call" image.php.
> >
> >This line of code sends this output to the browser.
> 
> Brad:
> 
> Yes, but the browser runs the code by trying to load an image.


... 

My response was attempting to explain why this:

[snip]

session_start();
$before = $_SESSION['code'];
echo '';
$after = $_SESSION['code'];
echo $before .' ' . $after;

[/snip]

prints the same security code twice.

If it was an include or RPC or cURL, it would be a different story. But the
client (browser) has to request the image for the security code to be
updated in the session.

The php code assigns the value to the "$after" variable before said request
can occur.  Therefore it makes sense that the same code appears twice.  Once
the browser has fully loaded the page that calls the image, the session
variable has been changed.  But that doesn't happen until all the php code
has been run!!!  Hope that makes sense.

:)



> Check this out:
> 
> http://sperling.com/examples/assorted-captcha/index.php
> 
> The first Captcha is the typical type and the image shown is created
> by captcha.php via a simple img tag:
> 
> 
> 
> In this example, the "key" for this is passed via sessions and is not
> included in a cookie nor dependant upon the value of the session id.
> 
> Refresh the page and new values are shown because it's the tag that
> causes the captcha.php script to run.
> 
> Don't mind the Audio Captcha there, I have a better one.
> 
> Cheers,
> 
> tedd
> --
> ---
> http://sperling.com  http://ancientstones.com  http://earthstones.com
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] My own "captcha" from 2 years ago......

2007-03-26 Thread tedd

At 10:59 AM -0400 3/26/07, Brad Fuller wrote:


echo '';

This does not "run" or "call" image.php.

This line of code sends this output to the browser.


Brad:

Yes, but the browser runs the code by trying to load an image.

Check this out:

http://sperling.com/examples/assorted-captcha/index.php

The first Captcha is the typical type and the image shown is created 
by captcha.php via a simple img tag:




In this example, the "key" for this is passed via sessions and is not 
included in a cookie nor dependant upon the value of the session id.


Refresh the page and new values are shown because it's the tag that 
causes the captcha.php script to run.


Don't mind the Audio Captcha there, I have a better one.

Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] My own "captcha" from 2 years ago......

2007-03-26 Thread Brad Fuller
> > -Original Message-
> > From: tedd [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 26, 2007 8:49 AM
> > To: php-general@lists.php.net
> > Subject: RE: [PHP] My own "captcha" from 2 years ago..
> >
> > At 10:02 PM -0400 3/25/07, Jake McHenry wrote:
> > >Like I said... Even if they have sound turned on.. Which all
> > my sets do...
> > >Most of them don't have speakers... That was put into effect
> > over a year ago
> > >due to some people listening to those damn screaming prank
> > things at full
> > >volume... Anyways... I was searching the php site, and it
> > said there used to
> > >be a bug that looks somewhat similar to my problem, but it
> > said it was fixed
> > >long ago... Not sure if this is even close to it or not, but
> > this is the
> > >first time I've run into a sessions problem.
> > >
> > >Just to simplify...
> > >
> > >I have this on index.php
> > >
> > > > >session_start();
> > >
> > >$before = $_SESSION['code'];
> > >
> > >echo '';
> > >
> > >$after = $_SESSION['code'];
> > >
> > >echo $before .' ' . $after;
> > >?>
> > >
> > >Then in image.php is my captcha... And where the session
> > variable 'code' is
> > >being created and updated...
> > >
> > >In image.php is this:
> > >
> > > > >session_start();
> > >
> > >..captcha code..
> > >$_SESSION['code'] = rand(blahblahblah) to get the random code
> > >?>
> > >
> > >
> > >When I view index.php, the image displays, with a new code
> > each time...
> > >Working as it should, but the session variable echos out the
> > previously
> > >generated value, instead of the current value to match whats in the
> > >picture... I'm not sure what I've done... But you can see from
> > >http://nittanytravel.com:8080/$before and $after have
> > the same value...
> > >
> > >In that bug report I was reading it said that this happened until
> > >session_start was called again.. But it said it was fixed
> > back in php4...
> > >
> > >Not sure what I missed :(
> > >
> > >Thanks,
> > >Jake
> > >
> >
> > Jake:
> >
> > Clearly, your image.php is not changing the code (key).
> 
> What would be this clear image you see? It does change the code, otherwise
> it would show the same code in the image.. Which it doesn't... And the
> session variable wouldn't have anything in it.. Which it does
> 
> Not on windows..
> 
> Using mt_rand for the numbers, but that's working fine, if I comment out
> the
> image headers and run the file directly echoing out the session, it works
> fine, its only when I call it from another file in the  
> Thanks,
> Jake
> 
> 
> 
> >
> > Your "blahblahblah" has to be less than 32768 if you're running
> > windows -- maybe that's the problem. But, I would look to my rand()
> > for an answer.
> >
> > Cheers,
> >
> > tedd
> > --
> > ---
> > http://sperling.com  http://ancientstones.com  http://earthstones.com


echo '';

This does not "run" or "call" image.php.

This line of code sends this output to the browser.

The image will not be displayed and the request to change the session
variable will not be made until the browser renders the page.  The browser
will not render the page until PHP has finished parsing the code and sending
the output buffer to the browser.

So any session variables set or changed inside image.php will not show up
until the next request.

This reminds me of an employee that we used to have; she would send me an
e-mail, then run over into my office and say "Hey did you get my e-mail?"
I'd say "No, how long ago did you send it?" ... "Just now." ... (sigh)

If you want to make sure that the session var is actually being changed in
the script, create another page that the form with the image submits to, and
echo the session var on THAT page.

Also I would like to clarify what someone had posted in a previous message:

Quote:
"This is btw not a very useful CAPTCHA, because it should stop
computers from submitting data, but a little bit smart programmer
knows that he has to get session information from the image, and
submit that to the form. Or what i saw used lately by a cracker, he was
just using his own values in session and post, and so they  matched"

The above statement is incorrect, assuming that you are using session
cookies to store the user's session ID and nothing else (default setting)

The only thing stored in the user's cookie is the session ID which
corresponds to the session ID on the server.  The server stores the session
data in the /tmp directory and there is no way under this configuration for
the user to spoof any session data except the session ID.  This is why
CAPTCHA images are so effective.

The above quote would be true if the developer used COOKIES to store the
CAPTCHA security code, then it would be very simple to crack ;)

Cheers,

-B

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] My own "captcha" from 2 years ago......

2007-03-26 Thread Jake McHenry
 

> -Original Message-
> From: tedd [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 26, 2007 8:49 AM
> To: php-general@lists.php.net
> Subject: RE: [PHP] My own "captcha" from 2 years ago..
> 
> At 10:02 PM -0400 3/25/07, Jake McHenry wrote:
> >Like I said... Even if they have sound turned on.. Which all 
> my sets do...
> >Most of them don't have speakers... That was put into effect 
> over a year ago
> >due to some people listening to those damn screaming prank 
> things at full
> >volume... Anyways... I was searching the php site, and it 
> said there used to
> >be a bug that looks somewhat similar to my problem, but it 
> said it was fixed
> >long ago... Not sure if this is even close to it or not, but 
> this is the
> >first time I've run into a sessions problem.
> >
> >Just to simplify...
> >
> >I have this on index.php
> >
> > >session_start();
> >
> >$before = $_SESSION['code'];
> >
> >echo '';
> >
> >$after = $_SESSION['code'];
> >
> >echo $before .' ' . $after;
> >?>
> >
> >Then in image.php is my captcha... And where the session 
> variable 'code' is
> >being created and updated...
> >
> >In image.php is this:
> >
> > >session_start();
> >
> >..captcha code..
> >$_SESSION['code'] = rand(blahblahblah) to get the random code
> >?>
> >
> >
> >When I view index.php, the image displays, with a new code 
> each time...
> >Working as it should, but the session variable echos out the 
> previously
> >generated value, instead of the current value to match whats in the
> >picture... I'm not sure what I've done... But you can see from
> >http://nittanytravel.com:8080/$before and $after have 
> the same value...
> >
> >In that bug report I was reading it said that this happened until
> >session_start was called again.. But it said it was fixed 
> back in php4...
> >
> >Not sure what I missed :(
> >
> >Thanks,
> >Jake
> >
> 
> Jake:
> 
> Clearly, your image.php is not changing the code (key).

What would be this clear image you see? It does change the code, otherwise
it would show the same code in the image.. Which it doesn't... And the
session variable wouldn't have anything in it.. Which it does

Not on windows..

Using mt_rand for the numbers, but that's working fine, if I comment out the
image headers and run the file directly echoing out the session, it works
fine, its only when I call it from another file in the  
> Your "blahblahblah" has to be less than 32768 if you're running 
> windows -- maybe that's the problem. But, I would look to my rand() 
> for an answer.
> 
> Cheers,
> 
> tedd
> -- 
> ---
> http://sperling.com  http://ancientstones.com  http://earthstones.com
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.18/733 - Release 
> Date: 3/25/2007 11:07 AM
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.18/733 - Release Date: 3/25/2007
11:07 AM
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] My own "captcha" from 2 years ago......

2007-03-26 Thread Jochem Maas
Jake McHenry wrote:
> Like I said... Even if they have sound turned on.. Which all my sets do...
> Most of them don't have speakers... That was put into effect over a year ago
> due to some people listening to those damn screaming prank things at full
> volume...

and didn'tr we all have a fun with those :-/

> Anyways... 

indeed ...

> I was searching the php site, and it said there used to
> be a bug that looks somewhat similar to my problem, but it said it was fixed
> long ago... Not sure if this is even close to it or not, but this is the
> first time I've run into a sessions problem.

you don't have a session problem and your not looking at a bug either.
you have a PEBKAC/logic problem with regard to storage/retrieval of the
security code.

> 
> Just to simplify...
> 
> I have this on index.php
> 
>  session_start();
> 
> $before = $_SESSION['code'];
> 
> echo '';
> 
> $after = $_SESSION['code'];
> 
> echo $before .' ' . $after;
> ?>

$before and $after are always going to be the same because image.php
is not being run in the line "echo '';"

imagine 3 files and note that in this psuedo solution the
image is *not* generated in the file that outputs it but rather in the file
that outputs and processes the form:

seccode.inc.php <-- some security code functions
secform.php <-- output the form and processes it's own 'POST'
secimage.php<-- outputs the relevant/current 'security image' for 
secform.php

the psuedo contents of these 2 files should be something *like* this:

seccode.inc.php
-- 8< --
 $code,
'imgloc'=> $imgloc,
);
}

function getCurSecCodeInfo()
{
if (isset($_SESSION['seccodeinfo']))
return $_SESSION['seccodeinfo'];

return null;
}


secform.php
-- 8< --





';


secimage.php
-- 8< --
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] My own "captcha" from 2 years ago......

2007-03-26 Thread tedd

At 10:02 PM -0400 3/25/07, Jake McHenry wrote:

Like I said... Even if they have sound turned on.. Which all my sets do...
Most of them don't have speakers... That was put into effect over a year ago
due to some people listening to those damn screaming prank things at full
volume... Anyways... I was searching the php site, and it said there used to
be a bug that looks somewhat similar to my problem, but it said it was fixed
long ago... Not sure if this is even close to it or not, but this is the
first time I've run into a sessions problem.

Just to simplify...

I have this on index.php

';

$after = $_SESSION['code'];

echo $before .' ' . $after;
?>

Then in image.php is my captcha... And where the session variable 'code' is
being created and updated...

In image.php is this:




When I view index.php, the image displays, with a new code each time...
Working as it should, but the session variable echos out the previously
generated value, instead of the current value to match whats in the
picture... I'm not sure what I've done... But you can see from
http://nittanytravel.com:8080/$before and $after have the same value...

In that bug report I was reading it said that this happened until
session_start was called again.. But it said it was fixed back in php4...

Not sure what I missed :(

Thanks,
Jake



Jake:

Clearly, your image.php is not changing the code (key).

Your "blahblahblah" has to be less than 32768 if you're running 
windows -- maybe that's the problem. But, I would look to my rand() 
for an answer.


Cheers,

tedd
--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] My own "captcha" from 2 years ago......

2007-03-25 Thread Tijnema !

On 3/26/07, Jake McHenry <[EMAIL PROTECTED]> wrote:

Like I said... Even if they have sound turned on.. Which all my sets do...
Most of them don't have speakers... That was put into effect over a year ago
due to some people listening to those damn screaming prank things at full
volume... Anyways... I was searching the php site, and it said there used to
be a bug that looks somewhat similar to my problem, but it said it was fixed
long ago... Not sure if this is even close to it or not, but this is the
first time I've run into a sessions problem.

Just to simplify...

I have this on index.php

';

$after = $_SESSION['code'];

echo $before .' ' . $after;
?>

Then in image.php is my captcha... And where the session variable 'code' is
being created and updated...

In image.php is this:




When I view index.php, the image displays, with a new code each time...
Working as it should, but the session variable echos out the previously
generated value, instead of the current value to match whats in the
picture... I'm not sure what I've done... But you can see from
http://nittanytravel.com:8080/$before and $after have the same value...

In that bug report I was reading it said that this happened until
session_start was called again.. But it said it was fixed back in php4...

Not sure what I missed :(

Thanks,
Jake


Did you read my previous post?
I explained why this occurs, as it is normal that a script behaves like this.


I believe the way this script behaves is quite normal. Look at the way
the scripts are called. First index.php, then rnum1.php and then
rnum2.php.
First index.php is called and all session variables are posted with
that action. Then rnum1.php is called, and the session variables are
edited. Then rnum2.php is called, session variables are edited again,
but index.php is never called again, and so the session variables are
never send to the script. Until you load the script again.
So if you're implementing this in a POST form, the browser should
submit both POST and the right session variables to your parse script.


Above is what you missed i think ;)



Example code which works :)

index.php:
";

echo "";
?>

parse.php:



Did you test above code? You could use it like that.



This is btw not a very useful CAPTCHA, because it should stop
computers from submitting data, but a little bit smart programmer
knows that he has to get session information from the image, and
submit that to the form. Or what i saw used lately by a cracker, he
was just using his own values in session and post, and so they matched
:)
So you should never send the same code as the code that has to be
entered. Even encrypting with MD5 only won't stop hackers to defeat
your script. Maybe you could use a database with this, so that you
pass a reference to the real number shown. So that you have an ID and
a CODE column. in rnum1.php you store the code into the database, and
get the ID of the last one inserted (A discussion about this was
around this list lately) Then you show the code in an image, and you
store the ID in the session. Then you get ID from the session, then
get the code from the database using the ID and compare it to the one
entered in the form.


This might be of interest, because cracking should be avoided as
CAPTCHA is meant to stop from autosubmitting by computers.

Tijnema







> -Original Message-
> From: tedd [mailto:[EMAIL PROTECTED]
> Sent: Sunday, March 25, 2007 7:54 PM
> To: Jake McHenry; 'tedd'; php-general@lists.php.net
> Subject: RE: [PHP] My own "captcha" from 2 years ago..
>
> At 10:49 AM -0400 3/25/07, Jake McHenry wrote:
> >Do I call the image creation file in an html  tried a bunch of
> >things, and this is the only way I've been able to display
> the image inline
> >so far, without the image headers blocking the rest of my output
> >
> >I've been reading and somewhat interested in the audio and
> pic captchas..
> >But audio won't work for my intranet... Hardly any of the sets have
> >speakers... Productivity solution I guess...
> >
> Jake
>
> The audio is for visually impaired and unless their also deaf, they
> have sound turned on.
>
> tedd
> --
> ---
> http://sperling.com  http://ancientstones.com  http://earthstones.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.18/733 - Release
> Date: 3/25/2007 11:07 AM
>
>

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.18/733 - Release Date: 3/25/2007
11:07 AM


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] My own "captcha" from 2 years ago......

2007-03-25 Thread Jake McHenry
Like I said... Even if they have sound turned on.. Which all my sets do...
Most of them don't have speakers... That was put into effect over a year ago
due to some people listening to those damn screaming prank things at full
volume... Anyways... I was searching the php site, and it said there used to
be a bug that looks somewhat similar to my problem, but it said it was fixed
long ago... Not sure if this is even close to it or not, but this is the
first time I've run into a sessions problem.

Just to simplify...

I have this on index.php

';

$after = $_SESSION['code'];

echo $before .' ' . $after;
?>

Then in image.php is my captcha... And where the session variable 'code' is
being created and updated...

In image.php is this:




When I view index.php, the image displays, with a new code each time...
Working as it should, but the session variable echos out the previously
generated value, instead of the current value to match whats in the
picture... I'm not sure what I've done... But you can see from
http://nittanytravel.com:8080/$before and $after have the same value... 

In that bug report I was reading it said that this happened until
session_start was called again.. But it said it was fixed back in php4... 

Not sure what I missed :(

Thanks,
Jake




> -Original Message-
> From: tedd [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, March 25, 2007 7:54 PM
> To: Jake McHenry; 'tedd'; php-general@lists.php.net
> Subject: RE: [PHP] My own "captcha" from 2 years ago..
> 
> At 10:49 AM -0400 3/25/07, Jake McHenry wrote:
> >Do I call the image creation file in an html  tried a bunch of
> >things, and this is the only way I've been able to display 
> the image inline
> >so far, without the image headers blocking the rest of my output
> >
> >I've been reading and somewhat interested in the audio and 
> pic captchas..
> >But audio won't work for my intranet... Hardly any of the sets have
> >speakers... Productivity solution I guess...
> >
> Jake
> 
> The audio is for visually impaired and unless their also deaf, they 
> have sound turned on.
> 
> tedd
> -- 
> ---
> http://sperling.com  http://ancientstones.com  http://earthstones.com
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.18/733 - Release 
> Date: 3/25/2007 11:07 AM
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.18/733 - Release Date: 3/25/2007
11:07 AM
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] My own "captcha" from 2 years ago......

2007-03-25 Thread tedd

At 10:49 AM -0400 3/25/07, Jake McHenry wrote:

Do I call the image creation file in an html 
Jake

The audio is for visually impaired and unless their also deaf, they 
have sound turned on.


tedd
--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] My own "captcha" from 2 years ago......

2007-03-25 Thread Jake McHenry
Do I call the image creation file in an html  -Original Message-
> From: tedd [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, March 25, 2007 10:33 AM
> To: Jake McHenry; php-general@lists.php.net
> Subject: Re: [PHP] My own "captcha" from 2 years ago..
> 
> At 11:28 PM -0400 3/24/07, Jake McHenry wrote:
> >Well, I've been creating my own... Since like two years 
> ago... Lol.. But
> >this is the KNOWN name now. Anyways... How can I get the 
> info from the
> >image creation script back to my main script? Sessions DO 
> NOT WORK! They
> >give me the previous entry instead of the current.. Which 
> obviously won't
> >work... This was on the back burner for a long time, but my 
> boss said .
> >Oh wow.. That looks cool... And I told him I had started it 
> a long time
> >ago.. But never finished it cause he told me to work on 
> something else...
> >Anyways... U can see what I mean http://nittanytravel.com:8080/
> >
> >The numbers surrounding the images displayed are session 
> values created in
> >the image scripts...which as you will see are the previous 
> value It may
> >be a simple fix.. But once again... I'm tired... And had one 
> too many long
> >island iced teas tonight to think about this. And yes... 
> My boss works
> >me even on saturdays after happy hour :(
> >
> >
> >Thanks,
> >Jake
> 
> Jake:
> 
> Sessions do work. It's simply a matter of logic. Keep your current 
> key intact until you need a refresh.
> 
> Or you can wait just a bit and I'll give you mine. I've been working 
> on an audio Captcha.
> 
> Cheers,
> 
> tedd
> -- 
> ---
> http://sperling.com  http://ancientstones.com  http://earthstones.com
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.18/733 - Release 
> Date: 3/25/2007 11:07 AM
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.18/733 - Release Date: 3/25/2007
11:07 AM
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] My own "captcha" from 2 years ago......

2007-03-25 Thread tedd

At 11:28 PM -0400 3/24/07, Jake McHenry wrote:

Well, I've been creating my own... Since like two years ago... Lol.. But
this is the KNOWN name now. Anyways... How can I get the info from the
image creation script back to my main script? Sessions DO NOT WORK! They
give me the previous entry instead of the current.. Which obviously won't
work... This was on the back burner for a long time, but my boss said .
Oh wow.. That looks cool... And I told him I had started it a long time
ago.. But never finished it cause he told me to work on something else...
Anyways... U can see what I mean http://nittanytravel.com:8080/

The numbers surrounding the images displayed are session values created in
the image scripts...which as you will see are the previous value It may
be a simple fix.. But once again... I'm tired... And had one too many long
island iced teas tonight to think about this. And yes... My boss works
me even on saturdays after happy hour :(


Thanks,
Jake


Jake:

Sessions do work. It's simply a matter of logic. Keep your current 
key intact until you need a refresh.


Or you can wait just a bit and I'll give you mine. I've been working 
on an audio Captcha.


Cheers,

tedd
--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] My own "captcha" from 2 years ago......

2007-03-24 Thread Jake McHenry
Well, I've been creating my own... Since like two years ago... Lol.. But
this is the KNOWN name now. Anyways... How can I get the info from the
image creation script back to my main script? Sessions DO NOT WORK! They
give me the previous entry instead of the current.. Which obviously won't
work... This was on the back burner for a long time, but my boss said .
Oh wow.. That looks cool... And I told him I had started it a long time
ago.. But never finished it cause he told me to work on something else...
Anyways... U can see what I mean http://nittanytravel.com:8080/

The numbers surrounding the images displayed are session values created in
the image scripts...which as you will see are the previous value It may
be a simple fix.. But once again... I'm tired... And had one too many long
island iced teas tonight to think about this. And yes... My boss works
me even on saturdays after happy hour :(


Thanks,
Jake


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.17/731 - Release Date: 3/23/2007
3:27 PM
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php