Results 1 to 5 of 5
Hybrid View
-
10th Dec 2011, 12:18 PM #1Respected MemberWebsite's:
DL4Everything.com Soft2050.inThe above api is only for image uploading (local file)
For remote upload, try:
PHP Code:<?php
function lulzremote($url) {
$source = file_get_contents("http://lulzimg.com/upload.php?submit=lulz&url=$url");
preg_match('/\[IMG\](.*)\[\/IMG\]/', $source, $match);
return $match[1];
}
$url = 'http://ads.besthostingforums.com/ads/659.gif';
echo lulzremote($url);
?>soft2050 Reviewed by soft2050 on . LulzImg API (sort of) Upload Example I suppose this has already been posted somewhere, but I figured I'd post it once and for all. Good for people who're looking for it, and because ciaociao4 and Blaze wanted an example. LulzImg's app.php is a very simple API-ish type script (lol) which I coded a few months back for private use. Eventually, I gave it out on a selective basis to people who needed it. It accepts an image, a zip, or a rar file. If it encounters a zip/rar file, it'll extract it, and copy any images found in it. Rating: 5
-
10th Dec 2011, 01:45 PM #2Too busy :|Website's:
L337Fx.com BeastieBay.netI already use an existing code by automan & mRAza for uploading to lulzimg.com
I thought to make use of the API as it'd be definitely fast
http://www.l337fx.com/lulzimgcom-ima...oader-php.html
Demo: http://www.l337fx.com/tools/imgul/lulz.php
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Can anyone upload the lulzimg.app
By Mr.Mirchi in forum Technical Help Desk SupportReplies: 0Last Post: 26th Jun 2012, 11:58 AM -
MediaFire API: want to sort...
By Mr. Goodie2Shoes in forum Web Development AreaReplies: 2Last Post: 12th Apr 2012, 11:00 AM -
Sort Thread By...
By itsHERO in forum vBulletinReplies: 1Last Post: 20th Oct 2011, 05:47 PM -
[REQ]lulzimg upload with php
By jokerhacker in forum Web Development AreaReplies: 26Last Post: 25th Apr 2011, 03:49 PM -
[phpBB2] How to sort this?
By pi0tr3k in forum phpBBReplies: 8Last Post: 2nd Apr 2010, 03:24 PM
themaManager - edit and manage...
Version 4.22 released. Open older version (or...