Minor php help needed

Discussion in 'PHP' started by lea, Jun 24, 2009.

  1. #1
    I need help turning a png into php..for captcha secure image..thanks
     
    lea, Jun 24, 2009 IP
  2. nishanair

    nishanair Active Member

    Messages:
    188
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #2
    turn a png into php or php into png?
     
    nishanair, Jun 25, 2009 IP
  3. Wrighty

    Wrighty Peon

    Messages:
    199
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Why not just 'recaptcha'? It's all done for you - and they're secure and also have a really really simple API that you can use.

    :)
     
    Wrighty, Jun 25, 2009 IP
  4. holden30

    holden30 Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I would suggest recaptcha...

    Otherwise, you will need to write a script that uses GD and freetype... A lot of forums use this method
     
    holden30, Jun 25, 2009 IP
  5. NatalicWolf

    NatalicWolf Peon

    Messages:
    262
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Well if you are trying to load a PNG the code is:

    
    $pngHandle = imageloadfrompng('file');
    
    PHP:
    Yes reCaptcha is a much better solution though.
     
    NatalicWolf, Jun 25, 2009 IP