Re: [PHP] where's waldo

2002-09-28 Thread Kenneth Love

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 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 [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]...
  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 in message
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
   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




Re: [PHP] where's waldo

2002-09-28 Thread @ Edwin
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 for a class.


 "@ Edwin" [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  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" [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]...
   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 in message
   [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
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


Re: [PHP] where's waldo

2002-09-27 Thread @ Edwin
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" [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
 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 in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  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


Re: [PHP] where's waldo

2002-09-26 Thread Joshua E Minnie

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




[PHP] where's waldo

2002-09-25 Thread Kenneth Love

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




Re: [PHP] where's waldo

2002-09-25 Thread Marek Kilimajer

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




Re: [PHP] where's waldo

2002-09-25 Thread @ Edwin

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




RE: [PHP] where's waldo

2002-09-25 Thread Kevin Porter

One more thing... if you store your 'waldo co-ordinates' data in a text
file, make sure it is in a directory outside of the webtree...

- Kev

 -Original Message-
 From: Kevin Porter [SMTP:[EMAIL PROTECTED]]
 Sent: 25 September 2002 16:52
 To:   '@ Edwin'; Marek Kilimajer
 Cc:   [EMAIL 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 along the URL in 'x' and 'y' variables. On the PHP side, check if
 their co-ordinates are close enough, if so give them the next (harder)
 image. If they're not near enough, make sure they get served a 'sorry -
 try
 again' message followed by the same image.
 
 That should work, yeah? I used to do spot the ball competitions this way
 at
 least...
 
 HTH,
 
 - Kev
 
  -Original Message-
  From:   @ Edwin [SMTP:[EMAIL PROTECTED]]
  Sent:   25 September 2002 16:40
  To: Marek Kilimajer
  Cc: [EMAIL PROTECTED]
  Subject:Re: [PHP] where's waldo
  
  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
 
 
 **
 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please notify
 the system manager.
 This footnote also confirms that this email message has been swept by
 MIMEsweeper for the presence of computer viruses.
 www.mimesweeper.com
 **
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**


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




Re: [PHP] where's waldo

2002-09-25 Thread @ Edwin
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
Kevin Porter wrote:
snip
 One more thing... if you store your 'waldo co-ordinates' data in a text
 file, make sure it is in a directory outside of the webtree...
 
/snip

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


FW: RE: [PHP] where's waldo

2002-09-25 Thread Kevin Porter

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
 
 We have received a request to add your email address to the Interstate
 Auction email notification list.  If you wish to have your email address
 removed, please reply with the word REMOVE followed by your email address
 as the subject.  Thank you.
 


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**


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