You could always use the GD image library to create an image and use
javascript to send back the coordinates of the mouse click.  From the mouse
click, the javascript variables would be sent back to the server to
interpret and check for correctness.

This way they can't look at the code to find where "waldo" is at. Not sure
how easy this would be but HTH.

--
Joshua E Minnie
Advantage Computer Services, LLC
Senior Project Manager
[EMAIL PROTECTED]
Phone: 269.276.9690
Fax: 269.342.8750

"Don't work for recognition, but always do work worthy of recognition."

"Kenneth Love" <[EMAIL PROTECTED]> wrote:
: about the peeking at the code...
: yes, you could, unless the images were coded somehow. perhaps just
numbers,
: not names. after a few tries they'd find "waldo" easily enough, but not at
: first.
:
: and besides. i'd like to give people credit for being more honest than
that.
:
:
: "@ Edwin" <[EMAIL PROTECTED]> wrote:
: > True. Perhaps.
: >
: > But, I think, you can actually do something like that WITH php. Say
: > PHP+Flash or PHP+Javascript...
: >
: > Of course, if you're able to do something like this just by using
: > PHP+Javascript (and HTML only), most probably, you can just take a peek
at
: > the code and find out where "waldo" is... ;)
: >
: > - E
: >
: > On Thursday, September 26, 2002 12:12 AM
: > Marek Kilimajer wrote:
: >
: > > This is for java, javascript, or flash, not much to do for php.
: > >
: > > Kenneth Love wrote:
: > >
: > > >hi all.
: > > >
: > > >i'm interested in creating a php game that generates a page of random
: > (ish)
: > > >images, one of which is waldo (or the like). when the player clicks
on
: > > >waldo, they're taken to the next, slightly harder level.
: > > >
: > > >anyone think that sounds fun?
: > > >any pointers, tips, advice, criticisms?
: > > >
: > > >--
: > > >->-> http://kennethlove.onewingedangel.com <-<-



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

Reply via email to