no no, i understand.
really, what i was getting at, i guess was that this isn't really meant to
be developed for mass distribution. more for a class.
@ Edwin [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Well, I didn't really mean to imply anything about
I see.
Now, that sounds a lot of fun! :)
Anyway, enjoy!
- E
"Kenneth Love" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
no no, i understand.
really, what i was getting at, i guess was that this isn't really meant to
be developed for mass distribution. more
Well, I didn't really mean to imply anything about people's honesty and so
forth...
I just wanted to say that validating (anything) on the client side is not
normally a good (and reliable) idea. Of course, as always mentioned,
validation on the server side is always better.
- E
"Kenneth Love"
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
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?
--
--
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
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...
PROTECTED]
Subject: RE: [PHP] where's waldo
Or, a simple way...
When you show your image, make sure it is a form submit button of
'type=image'. On the PHP side you know the X and Y co-ordinates of waldo.
When the user clicks on the image, the place they clicked on the image is
passed
Good idea!
And your idea about this is also great:
input type="image" src="myimage.xxx" name="thename" /
It should work...
I forgot that there was someting like that in HTML... :)
- E
On Thursday, September 26, 2002 12:55 AM
Subject: RE: [PHP] where's waldo
I received this shortly after posting to this list.
Anyone else get one of these? I'm confused...
thanks,
- Kev
-Original Message-
From: [EMAIL PROTECTED]
[SMTP:[EMAIL PROTECTED]]
Sent: 25 September 2002 17:10
To: [EMAIL PROTECTED]
Subject: Re: RE: [PHP] where's waldo
10 matches
Mail list logo