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

Results 1 to 6 of 6
  1.     
    #1
    Member
    Website's:
    fileservedownload.net

    Default lulzimg

    hello

    i use lulzimg for host my picture


    i use a script for this and works for some image and not for other...

    i don't know why...


    my script....

    $img=postHost("http://www.lulzimg.com/upload.php?submit=lulz&url=$shot", "", "");
    preg_match_all("/\[IMG\]http:\/\/[a-z0-9.]+\/[a-z0-9A-Z.]+/", $img, $matches);
    $imageUrl = $matches[0][0];
    $screenshot = str_replace('[IMG]','',$imageUrl);


    this work for some img and not for other....

    work with this : http://i25.lulzimg.com/ace7c2.jpg
    and not work with this : http://i25.lulzimg.com/c7d6d0.jpg

    (work with other xxx image)

    i dont know the difference
    ciaociao4 Reviewed by ciaociao4 on . lulzimg hello i use lulzimg for host my picture :D i use a script for this and works for some image and not for other... i don't know why... Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    what's the problem huh?

    and what software r u using to take that pics looks nice

  4.     
    #3
    Member
    Website's:
    fileservedownload.net
    i use mtn

    the problem is that the script work for some image and not for other

    (in the example ...the second i upload manualy)


    i see it work if the image it's from a avi...aa nfo etc..etc..

    and not work if it's from mp4 or wmv

    but i dont know why

    (if i upload manualy all the image work)

  5.     
    #4
    Member
    idk what your saying i can see image huh

    http://prntscr.com/2o6ii

    ----------------------
    dude MTN by who..

  6.     
    #5
    Member
    Website's:
    fileservedownload.net
    mtn http://moviethumbnail.sourceforge.net/index.en.html


    you can see the image becouse i upload it manualy withot the script

    if i use the script the first image work (uploaded)
    the second no

  7.     
    #6
    Member
    Website's:
    tehMoviez.com 0Senes.com GeekFaceGames.com
    try this, i've made it months before for a custom script and it should work
    PHP Code: 
    function lulzit($link) {
        
    $a 0;
        do {
            
    $res postit("http://www.lulzimg.com/upload.php?submit=lulz&url=" $link""true);
            
    preg_match("/\[IMG\](.*?)\[\/IMG\]/i"$res$matches);
            
    $a++;
        }while(((
    $matches == false) or (!isset($matches[1]))) and ($a<5));
        return 
    $matches[1];

    and postit() function
    PHP Code: 
    function postit($url$postdata$header false$cookie ""$follow 0) {
        
    $ch curl_init();
              
    curl_setopt($chCURLOPT_URL$url);
              
    curl_setopt($chCURLOPT_COOKIESESSION1);
              if(
    $header == true) {
                  
    curl_setopt($chCURLOPT_HEADER1); 
              }
              if(
    $cookie <> "") {
                  
    curl_setopt($chCURLOPT_COOKIE$cookie); 
              }
              if(
    $follow <> 0) {
                  
    curl_setopt($chCURLOPT_FOLLOWLOCATION1); 
              }
              if(
    $postdata <> "")    {
                  
    curl_setopt($chCURLOPT_POST1); 
                  
    curl_setopt($chCURLOPT_POSTFIELDS$postdata); 
              }
        
    curl_setopt($chCURLOPT_RETURNTRANSFER1);
        
    curl_setopt($chCURLOPT_CONNECTTIMEOUT60);
        
    curl_setopt($chCURLOPT_TIMEOUT60);
        
    curl_setopt($chCURLOPT_HTTPHEADER, array('Expect:'));
        
    curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)");
        
    $source_code curl_exec($ch);
        
    curl_close($ch);
        return 
    $source_code;


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. need help ( lulzimg )
    By rockamitsingh in forum General Discussion
    Replies: 8
    Last Post: 26th Jan 2012, 05:51 AM
  2. lulzimg down
    By jackamitsingh in forum General Discussion
    Replies: 9
    Last Post: 21st Jan 2012, 02:13 PM
  3. Lulzimg is down
    By sahil00150 in forum Webmaster Discussion
    Replies: 7
    Last Post: 12th Jan 2012, 10:42 AM
  4. lulzimg is down for me for 1 hr ?
    By djkelaj in forum General Discussion
    Replies: 1
    Last Post: 11th Jan 2012, 02:53 PM
  5. lulzimg add on
    By chaudhary9 in forum Technical Help Desk Support
    Replies: 4
    Last Post: 27th Jun 2011, 03:08 PM

Tags for this Thread

BE SOCIAL