How can I check captcha with PHP?

Let’s learn how can I check captcha with PHP. The most accurate or helpful solution is served by Stack Overflow.

There are ten answers to this question.

Best solution

Check captcha with lower and uppercase characters in php

I use codeigniter, i want make valid data for captcha, if captcha is mixed of lower and uppercase characters, user should insert in input like it lower or uppercase or mixed they. in following code i tried it, but it don't check lower and uppercase characters, how can fix it? my captcha image is as: dAwVJ //$cap = $this->input->post('captcha'); $cap = 'dAwVJ';// if i change this to dawvj return(output) is true, i don't want this // Then see if a captcha exists: $sql = "SELECT COUNT...

Answer:

$sql = "SELECT COUNT(*) AS count FROM captcha WHERE BINARY word = ? AND ip_address = ? AND captcha...

Read more

Kate Wintz at Stack Overflow Mark as irrelevant Undo

Other solutions

PHP CAPTCHA problem facing?

well i m facing problem while creating PHP captcha for ma form .. here is ma code .. --------------------------------------… captcha.php ------------------- <body> <?php session_start(); header("Expires: Mon, 26 Jul 1997 05:00:0...

Answer:

Please try after placing the code in a live web server. In local machine it may fail to work.

Read more

Mit Chauhan at Yahoo! Answers Mark as irrelevant Undo

Please check this php codes?

/* this is my d.php which i hav linked to another html file*/ <?php //Connecting to MySQL Database $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } //Select Database...

Answer:

What is it that you are trying to accomplished?

Read more

Swathi at Yahoo! Answers Mark as irrelevant Undo

Can I check website down or not through IP using php script ?

hi, can i check website down or not through IP, lets me take an example, if i want to check google.com is down or not, and I using google.com IP that is "209.85.175.139", can i check it using IP ? i'm using this function but it seem dont work...

Answer:

The code you provide is parsing urls not IP addresses. If you wanna use IP address instead, remove the...

Read more

Altenato... at Yahoo! Answers Mark as irrelevant Undo

Answer:

You need to provide more details than that. However, I can give you few pointers. When making HTML checkbox...

Read more

l0yalt at Yahoo! Answers Mark as irrelevant Undo

How to check if a file exist on the client side? (PHP)?

I want to add some kind of security to my website... I want it to ONLY OPEN the website WHEN a certain file is found on the client side... for example PC1 has the file "check.txt" while PC2 does not... I want to access a website name www.website...

Answer:

Your PHP script runs on the web server. It does not have access to the file system on the client. If...

Read more

Jed Ong at Yahoo! Answers Mark as irrelevant Undo

Custom PHP Script : Simple RBL Check for REMOTE_IP

Hello, Im interested in having a very computer savvy individual, code a somewhat simple (or perhaps not?) PHP script that will check the incoming REMOTE_IP (I'm not fluent with PHP) IP address in the popular RBL list and verify whether an entry for...

Answer:

captainnemo-ga, I have completed your requested script. You can download the file at: http://www.maxlin...

Read more

captainnemo-ga at Google Answers Mark as irrelevant Undo

PHP, Connect to FTP and check for file.?

I want to be able to make a php file that can get on the FTP server, and check to see if a file already exists. Thanks.

Answer:

<?php // set up basic connection $conn_id = ftp_connect($ftp_server); // login with username and...

Read more

UpThe0nu... at Yahoo! Answers Mark as irrelevant Undo

PHP check for file in ZIP?

Hey guys in PHP how can I make it check a zip file for a certain file?

Answer:

php as a built in zip lib. you can use that to open the zip file, and loop through each file and check...

Read more

Kyle at Yahoo! Answers Mark as irrelevant Undo

I want my drop down list to retrieve/display data from database using php and mysql.. could u check it plz?

i still can not display the data from mydatabase to the drop down list.... in my table that i named it as category have two field/column that are caID and caName.. <?php $con = mysql_connect("localhost","root",""); if...

Answer:

<?php ?> <!--beginning of the HTML page, up to the dropdown--> <?php $con = mysql_connect...

Read more

Me M at Yahoo! Answers Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.