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

Your name:

Reply:


Posted by comp.lang.php on 04/04/06 17:41

mouseit101 wrote:
> 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="" />

And when javascript is turned off? Not to mention what <noscript>
option could possibly match that considering it's a federal mandate for
government sites to follow Section 508 compilance..

Phil

[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

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