Activity Stream
48,167 MEMBERS
63133 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1.     
    #1
    Member
    Website's:
    tehMoviez.com 0Senes.com GeekFaceGames.com

    Default [REQ]lulzimg upload with php

    hey,
    i need an idea to upload pics to lulzimg with php.
    thnx
    jokerhacker Reviewed by jokerhacker on . [REQ]lulzimg upload with php hey, i need an idea to upload pics to lulzimg with php. thnx :) Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Just Another Coder
    joker the site itself is in php now what is ur idea?

  4.     
    #3
    Member
    Website's:
    tehMoviez.com 0Senes.com GeekFaceGames.com
    no i want to upload to lulzimg automatically in my php script

  5.     
    #4
    Retired NinJa
    Website's:
    loledhard.com
    U can get a rough idea on how to do that from below link. If u have little knowledge about PHP then u can do it

    http://www.besthostingforums.com/sho...35&postcount=8



    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

  6.     
    #5
    Member
    Website's:
    Elite.SO Defendos.com Motionite.com
    Ask CM or lifetalk, they have an external system.

    Defendos BETA3 Released! Thread - Official Website

  7.     
    #6
    Member
    Website's:
    tehMoviez.com 0Senes.com GeekFaceGames.com
    Quote Originally Posted by humour View Post
    U can get a rough idea on how to do that from below link. If u have little knowledge about PHP then u can do it

    http://www.besthostingforums.com/sho...35&postcount=8
    yep thnx! thats wat i needed
    PHP Code: 
     $img postHost("http://www.lulzimg.com/upload.php?submit=lulz&url=http://thetvdb.com/banners/$match[0]"""""); 
                
    //echo $img; 
                
    preg_match_all("/http:\/\/lulzimg.com\/[a-z0-9]+\/[a-z0-9A-Z.]+/"$img$matches); 
                
    $imageUrl $matches[0][1]; 
                return 
    $imageUrl

  8.     
    #7
    Member
    I have coded a simpole script for that. It can be setup using curl. Use POST.

    Have a look
    http://178.162.175.31/lulzimg.php

  9.     
    #8
    Member
    Website's:
    tehMoviez.com 0Senes.com GeekFaceGames.com
    great! can i get the code plz?

  10.     
    #9
    Member
    Sure here you go-



    <form action="" method="post">
    <p>
    <br /><input width="80" name="imglinks"><br />
    </p>
    <p>
    <input type="submit" value="Go ON!" />
    </p>
    </form>
    <?php
    if (!empty($_POST['imglinks']))
    {
    $ch = curl_init();
    $imglinks=$_POST['imglinks'];
    curl_setopt($ch, CURLOPT_URL,"http://www.lulzimg.com/upload.php?submit=lulz&url=$imglinks");
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);
    curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie);
    curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
    $data = curl_exec($ch);
    curl_close($ch);

    preg_match_all("/http:\/\/lulzimg.com\/[a-z0-9]+\/[a-z0-9A-Z.]+/", $data, $matches);


    $break[]=$matches[0];
    echo "LULZ Share Link -";
    echo $break[0][0];
    echo "</br>";
    echo "Direct Layout Links -";
    echo $break[0][1];
    echo "</br>";


    echo "LULZ!! - Automan@KWWHunction";
    }
    ?>
    A thank would be appreciated.

  11.     
    #10
    Member
    Website's:
    LulzIMG.com chtbx.com RapidPremium.Net ReleaseLeech.com RLSLeech.com NinjaRobotPirateZombieNazi.com
    Good stuff guys.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can anyone upload the lulzimg.app
    By Mr.Mirchi in forum Technical Help Desk Support
    Replies: 0
    Last Post: 26th Jun 2012, 11:58 AM
  2. lulzimg down
    By jackamitsingh in forum General Discussion
    Replies: 9
    Last Post: 21st Jan 2012, 02:13 PM
  3. lulzimg is down for me for 1 hr ?
    By djkelaj in forum General Discussion
    Replies: 1
    Last Post: 11th Jan 2012, 02:53 PM
  4. LulzImg API (sort of) Upload Example
    By Lifetalk in forum Web Development Area
    Replies: 4
    Last Post: 10th Dec 2011, 02:59 PM
  5. lulzimg is down for me..?
    By NoChanCe in forum General Discussion
    Replies: 1
    Last Post: 30th May 2011, 04:58 AM

Tags for this Thread

BE SOCIAL