LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-29-2006, 04:40 AM   #1
gazman1
Member
 
Registered: Jan 2005
Posts: 40

Rep: Reputation: 15
php visual verification


I am looking for a php script that will random display a string of text/digits that the user must enter correcty befor ebeing allowed to proceed - ne ideas?
 
Old 08-29-2006, 05:04 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Have a look at the random function.

http://www.php.net/manual/en/function.rand.php has some examples that might do what you want; I think that the post from PHP-expert on 19-jul-2006 will do the trick
 
Old 08-29-2006, 05:08 AM   #3
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,453

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Hi

If the idea is to stop robots, you might be better off using an image instead of just text. Maybe take a look at
http://www.zend.com/codex.php?id=327&single=1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stupid Question: Microsoft Visual Studio 6.0 (A.K.A. Visual Basic 6) Will it run? S0RD3N Linux - Software 8 05-07-2008 08:42 PM
PHP GET/POST Setup link for email verification ALInux Programming 2 07-25-2006 02:22 AM
running Visual Basic/Visual Fox Pro in Linux? depam Linux - Software 9 02-11-2006 03:42 PM
Patch Verification jfvanmeter Linux - Security 1 10-24-2005 12:47 PM
What is MD5 Verification anindyanuri Linux - Networking 7 03-31-2005 09:06 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration