PHP Function not working for routing number

Discussion in 'PHP' started by pcf43, Jun 21, 2010.

  1. #1
    Hello all, I'm trying to create a routing number function in PHP using GD Library for a registration form, problem is the server gives me errors. I do have GD Library installed, I even tested to see if it reeally is installed with phpinfo but i still dont know what is the problem.
    Here is the code to it:

    
    
    function imageNumberVer(){
    $randomNumberVerification=imagecreate(310,500);
    $imagestring=imagecreatefromstring(310,500);
    $verificationImage="";
    
    if($imagestring==$verificationImage){
    
    $verificationImage=TRUE;
    }
    else{
    echo "Verification number error";
    
    }
    
    
    PHP:
    if this information is not enough i can provide the entire document.
     
    pcf43, Jun 21, 2010 IP
  2. bogdanas

    bogdanas Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    WTF is Routing Number? Captcha?
     
    bogdanas, Jun 21, 2010 IP
  3. pcf43

    pcf43 Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes the captcha are
     
    pcf43, Jun 22, 2010 IP