$ PHP script required $

Discussion in 'Programming' started by andrew47, Aug 18, 2007.

  1. #1
    IF YOU KNOW WHAT YOU ARE DOING IT'S A 10 MINUTE WORK !!!
    PAYING $10 for 10 MINUTES!!!

    all i really need is a php script that can post to SSL connection and receive the response. In other words:

    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL,"http://www.domain.com/login.php");
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $postData);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    $page=curl_exec ($ch);
    curl_close ($ch);
    echo $page;

    Exactly the same thing BUT for "https://" connection.
    It's really 10-20 lines.

    ONE conditions tho! - It must work on my end!
    I have curl library & openSSL setup. If something else will need to be installed on my server i am opened for it, but at the end result the script MUST work.
     
    andrew47, Aug 18, 2007 IP
  2. nts

    nts Active Member

    Messages:
    220
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    I can do this. PM Sent.
     
    nts, Aug 18, 2007 IP