PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Old November 26th, 2012, 08:36 PM
yuuber yuuber is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 1 yuuber User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 7 m 31 sec
Reputation Power: 0
Help Please With Adding A Captcha

Hello im in big need of some help and i came here first. I tired fixing my form with a captcha from SolveMedia.

The website SolveMedia has some guides but i cant figure them out.

Here is where I need it added.

PHP Code:
<?php if(CONTINUE_TO_IMAGE == && !isset($_POST['imgContinue'])) {
    echo 
"
    <div id='continuetoimage'>
        <form action='' method='POST'>
            <p>
                <input class='button white bigwidth' type='submit' name='imgContinue' value='Continue to image ... ' />
            </p>
        </form>
    </div>
    "
;

} else { 
?>

    <div id="image_details">
        <?php
        
list($width$height) = getimagesize($dirImg);
        echo 
"<p><strong>Date added:</strong> {$rowImage['date_added']}</p>";
        echo 
"<p><strong>Views:</strong> {$viewsupdate} </p>";
        echo 
"<p><strong>Width:</strong> {$width}px</p>";
        echo 
"<p><strong>Height:</strong> {$height}px</p>";
            if(
$width 1000) {
                echo 
"<br /><br /><p><i>This image was resized. Click to view full size</i></p>";
            }
        
?>
    </div>

<?php


And I need to add something like this too it but i cant and keep running into syntax errors.

PHP Code:
require_once("solvemedialib.php");
$privkey="your_private_key";
$hashkey="your_hash_key";
$solvemedia_response solvemedia_check_answer($privkey,
                    
$_SERVER["REMOTE_ADDR"],
                    
$_POST["adcopy_challenge"],
                    
$_POST["adcopy_response"],
                    
$hashkey);
if (!
$solvemedia_response->is_valid) {
    
//handle incorrect answer
    
print "Error: ".$solvemedia_response->error;
}
else {
    
//process form here


PHP Code:
require_once("solvemedialib.php");            //include the Solve Media library 
echo solvemedia_get_html("your_challenge_key");    //outputs the widget 

Reply With Quote
Old November 30th, 2012, 07:38 PM
tracertme tracertme is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 2 tracertme User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 58 sec
Reputation Power: 0
Are you trying to use SolveMedia for profit? Do not think you gain much.

Do not complicate it! Try PlusCaptcha, is much simpler, no script packages and lower the bounce rate. It's in spanish but is very intuitive. ĄTry it!

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > Help Please With Adding A Captcha


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap