Archive

Posts Tagged ‘imageshack.us curl’

Remote Upload To Imageshack.Us With PHP+cURL

August 30th, 2008 Admin 50 comments

PHP supports libcurl since V 4.0.2, a library created by Daniel Stenberg (more information go here), that allows you to connect and communicate to many different types of servers with many different types of protocols. libcurl currently supports the http, https, ftp, gopher, telnet, dict, file, and ldap protocols. libcurl also supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading (this can also be done with PHP’s ftp extension), HTTP form based upload, proxies, cookies, and user+password authentication.

Now with cURL we trying to make a script that post images to Imageshack.Us via remote upload and return direct link of images. Here the source code to download.

Read more…