Reply to Re: Cannot generate random image for form security - help

Your name:

Reply:


Posted by Oli Filth on 04/04/06 04:12

mouseit101 said the following on 04/04/2006 01:43:
> I'd just use javascript....
> in the head section:
> <script>
> var s = new Array("imgsrc1","imgsrc2","etc.")
> document.getElementById("RandomImage").src =
> Math.round(Math.random()*s.length)
> </script>
>
> in body section:
> <img id="RandomImage" src="" />

What? So rather than use a server-side randomly-generated image, you'd
use a client-side selection from a pre-defined list of images? In
JavaScript?


--
Oli

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация