Please help me code remove capcha source Daddy's Link Protector and open new windown when click hide link
thanks!
if( isset($_POST['submit1']) && $_SESSION['security_code'] == $_POST['security_code'] && !empty($_SESSION['security_code'] ) || isset($_SESSION['bypass']) && $_SESSION['bypass']) {
$_SESSION['bypass'] = TRUE;
unset($_SESSION['security_code']);
} else {
if (isset($_POST['submit1'])) {
// Insert your code for showing an error message here
echo "<div class=\"error\"><img src=\"./img/error.png\">Sorry, you have provided an invalid security code</div>";
}
?>
<form method="POST" action="<?php
echo $_SERVER['php_SELF'];
?>">
<p align="center"><font face="Arial">Captcha Check:</font></p>
<p align="left"><font face="Arial">*If the uploader has not chosen to
password-protected their links, then we include a captcha check to avoid
the links from being indexed by spiders.</font></p>
<p align="center">
<img src="CaptchaSecurityImages.php?width=100&height=40&characters=5" /><br />
<label for="security_code">Security Code: </label><input id="security_code" name="security_code" type="text" /><br />
<input type="submit" name="submit1" value="Submit" />
</p>
</form>
<?
}
<a href="<?php
echo $links[$i];
?>"
target="_blank"
SamEA wrote:No problem, glad it helped.
if( isset($_POST['submit1']) && $_SESSION['security_code'] == $_POST['security_code'] && !empty($_SESSION['security_code'] ) || isset($_SESSION['bypass']) && $_SESSION['bypass']) {
$_SESSION['bypass'] = TRUE;
if( isset($_POST['submit1']) && $_SESSION['security_code'] == $_POST['security_code'] && !empty($_SESSION['security_code'] )) {
Users browsing this forum: No registered users and 1 guest