Results 1 to 2 of 2
Hybrid View
-
11th Dec 2011, 07:06 AM #1OPToo busy :|Website's:
L337Fx.com BeastieBay.netLulzImg 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($ch, CURLOPT_URL,"http://www.lulzimg.com/upload.php?submit=lulz&url=$url");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec($ch);
curl_close($ch);
preg_match('#\[IMG\](.*)\[\/IMG\]#', $data, $matches);
$image = $matches[1];
?>
Credits: automan & mRAza.
==========
Official API: http://www.besthostingforums.com/92-...d-example.html
Source: L337FX.comBlaZe 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
-
11th Dec 2011, 07:09 AM #2MemberWebsite's:
fakevisitors.net serpmafia.comWow, great man
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
lulzimg Down! Is there any free good image host?
By MSL6600 in forum Webmaster ResourcesReplies: 31Last Post: 11th Jan 2012, 03:27 PM -
Anything Similar to LulzImg's Image Remoting?
By champ_007_bond in forum Webmaster DiscussionReplies: 3Last Post: 22nd Oct 2011, 06:20 PM -
PHP CURL LulzImg Uploader
By heppinnz in forum Web Development AreaReplies: 2Last Post: 2nd Sep 2011, 03:43 PM -
Need image host like Lulzimg.com
By Pettrious in forum General DiscussionReplies: 30Last Post: 25th May 2011, 08:36 AM -
fileserver error uploader file & image uploader
By logitec100 in forum Webmaster ResourcesReplies: 0Last Post: 16th Sep 2010, 10:05 PM
themaCreator - create posts from...
Version 3.53 released. Open older version (or...