Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

how to remove validation code(captcha) from contact?

Asked Modified Viewed 6,914 times
N
nirvan5a
N
nirvan5a 10
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

My all captchas not working then i disabled that on registration and shoutbox. But i dont know how to disable it. Or i need remove it how to remove that? what area i have to remove in contact.php? Thank you.
0 replies

6 posts

R
riomas
R
riomas 10
PHP-Fusion community Lithuanian

http://php-fusion.lt/news.php
  • Junior Member, joined since
  • Contributed 36 posts on the community forums.
  • Started 8 threads in the forums
answered
Junior Member

do not understand what can be?
0 replies
N
nirvan5a
N
nirvan5a 10
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Quote

riomas wrote:
do not understand what can be?

you see its liking this!
http://ubwarez.com/contact.php
0 replies
C
camau
C
camau 10
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 3 threads in the forums
answered
Newbie

In my experience, your host server has no GD packet installed. If it is your own server, install GD packet.
you could delete the following code in contact.php to remove it:
echo "<img id='captcha' src='".INCLUDES."securimage/securimage_show.php' alt='' align='left' />\n";
echo "<a href='".INCLUDES."securimage/securimage_play.php'><img src='".INCLUDES."securimage/images/audio_icon.gif' alt='' align='top' class='tbl-border' style='margin-bottom:1px' /></a><br />\n";
echo "<a href='#' onclick=\"document.getElementById('captcha').src = '".INCLUDES."securimage/securimage_show.php?sid=' + Math.random(); return false\"><img src='".INCLUDES."securimage/images/refresh.gif' alt='' align='bottom' class='tbl-border' /></a>\n";
echo "</td>\n</tr>\n<tr>";
echo "<td class='tbl'>".$locale['408']."</td>\n";
echo "<td class='tbl'><input type='text' name='captcha_code' class='textbox' style='width:100px' /></td>\n";
Hope it help !
0 replies
W
warwound
W
  • Newbie, joined since
  • Contributed 1 post on the community forums.
answered
Newbie

It may be that GD library is installed but hasn't been compiled with Freetype support.

This is the situation with my webhost (110mb.com).

My capcha image failed to work as the imagettftext() function in secureimage.php is therefore undefined.

The solution for me was to edit secureimage.php and change the line that reads:


var $use_gd_font = false;


Change it to:


var $use_gd_font = true;


Once that's done all works fine.

warwound.
0 replies
N
nirvan5a
N
nirvan5a 10
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Quote

camau wrote:
In my experience, your host server has no GD packet installed. If it is your own server, install GD packet.
you could delete the following code in contact.php to remove it:
echo "<img id='captcha' src='".INCLUDES."securimage/securimage_show.php' alt='' align='left' />\n";
echo "<a href='".INCLUDES."securimage/securimage_play.php'><img src='".INCLUDES."securimage/images/audio_icon.gif' alt='' align='top' class='tbl-border' style='margin-bottom:1px' /></a><br />\n";
echo "<a href='#' onclick=\"document.getElementById('captcha').src = '".INCLUDES."securimage/securimage_show.php?sid=' + Math.random(); return false\"><img src='".INCLUDES."securimage/images/refresh.gif' alt='' align='bottom' class='tbl-border' /></a>\n";
echo "</td>\n</tr>\n<tr>";
echo "<td class='tbl'>".$locale['408']."</td>\n";
echo "<td class='tbl'><input type='text' name='captcha_code' class='textbox' style='width:100px' /></td>\n";
Hope it help !

wow it worked thanx man.
0 replies
N
nirvan5a
N
nirvan5a 10
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Quote

warwound wrote:
It may be that GD library is installed but hasn't been compiled with Freetype support.

This is the situation with my webhost (110mb.com).

My capcha image failed to work as the imagettftext() function in secureimage.php is therefore undefined.

The solution for me was to edit secureimage.php and change the line that reads:


var $use_gd_font = false;


Change it to:


var $use_gd_font = true;


Once that's done all works fine.

warwound.

my host is powweb.com and i dunno are they support that.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

R
R
riomas 10
PHP-Fusion community Lithuanian

http://php-fusion.lt/news.php
  • Junior Member, joined since
  • Contributed 36 posts on the community forums.
  • Started 8 threads in the forums
C
C
camau 10
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 3 threads in the forums
W
W
  • Newbie, joined since
  • Contributed 1 post on the community forums.
N
N
nirvan5a 10
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet