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

Results 1 to 2 of 2

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Too busy :|
    Website's:
    L337Fx.com BeastieBay.net

    Default LulzImg Image Uploader in PHP

    This is a simple code snippet which will upload the images remotely to LulzImg.com. It won’t upload the image from your computer, but you can put the remote image URL to upload. Alternately, you can use the code snippet in your project/scripts. I hope that it comes handy for few people who wanna remote upload on lulzimg.com with PHP.

    I have made a simple GUI for better understanding. Have a look at the demo here: LulzImg Uploader.

    The basic code used for uploading (via cURL):

    PHP Code: 
    <?php
    $url 
    $_POST['url'];
            
    $ch curl_init();
            
    curl_setopt($chCURLOPT_URL,"http://www.lulzimg.com/upload.php?submit=lulz&url=$url");
            
    curl_setopt($chCURLOPT_RETURNTRANSFER1);
            
    $data curl_exec($ch);
            
    curl_close($ch);
            
    preg_match('#\[IMG\](.*)\[\/IMG\]#'$data$matches);
            
    $image $matches[1];
    ?>
    Download the source file: http://mediafire.com/?7e4ply3a816fedt

    Credits: automan & mRAza.
    ==========
    Official API: http://www.besthostingforums.com/92-...d-example.html

    Source: L337FX.com
    BlaZe Reviewed by BlaZe on . LulzImg Image Uploader in PHP This is a simple code snippet which will upload the images remotely to LulzImg.com. It won’t upload the image from your computer, but you can put the remote image URL to upload. Alternately, you can use the code snippet in your project/scripts. I hope that it comes handy for few people who wanna remote upload on lulzimg.com with PHP. I have made a simple GUI for better understanding. Have a look at the demo here: LulzImg Uploader. The basic code used for uploading (via cURL): <?php Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    fakevisitors.net serpmafia.com
    Wow, great man

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. lulzimg Down! Is there any free good image host?
    By MSL6600 in forum Webmaster Resources
    Replies: 31
    Last Post: 11th Jan 2012, 03:27 PM
  2. Anything Similar to LulzImg's Image Remoting?
    By champ_007_bond in forum Webmaster Discussion
    Replies: 3
    Last Post: 22nd Oct 2011, 06:20 PM
  3. PHP CURL LulzImg Uploader
    By heppinnz in forum Web Development Area
    Replies: 2
    Last Post: 2nd Sep 2011, 03:43 PM
  4. Need image host like Lulzimg.com
    By Pettrious in forum General Discussion
    Replies: 30
    Last Post: 25th May 2011, 08:36 AM
  5. fileserver error uploader file & image uploader
    By logitec100 in forum Webmaster Resources
    Replies: 0
    Last Post: 16th Sep 2010, 10:05 PM

Tags for this Thread

BE SOCIAL