Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged curl



« Prev 1 2
This example will CURL a forum and echo it's contents using SSL support.
0 1265 posted 8 years ago by Davis34
Using cURL to get webpage DOM
0 1063 posted 10 years ago by mos666
This source code contains two files: 1) result.php is a php webpage which expects a post request and renders some static results 2) mycurl.php uses curl to post programmatically some data to the result.php and after rendering the result is being re...
1 2822 posted 10 years ago by pligor
<a href="http://pantuts.com/2013/10/24/ayeemtract-using-curl-parallel/">http://pantuts.com/2013/10/24/ayeemtract-using-curl-parallel/</a>
1 3024 posted 11 years ago by pantuts
Script File launched every 3 minutes to check WebSite status. It uses AWSSDKforPHP library http://docs.amazonwebservices.com/AWSSdkDocsPHP/latest/DeveloperGuide/php-dg-setup.html
0 1205 posted 12 years ago by cduquev
A handy function to get the contents of a file with curl. Accepts $_path as a parameter.
1 2637 posted 12 years ago by o0110o
This function will use curl to see if a file exists at the location it's provided. It accepts $_path as a parameter.
1 2824 posted 12 years ago by o0110o
A function to get a files size via curl. Accepts $_path, $_unit, $_float, $_username & $_password; In the listed order.
1 2850 posted 12 years ago by o0110o
This is a function to retrieve the mime-type of a file by checking the header response with curl. It accepts the file-path as a parameter & it also has a fallback for empty returns.
1 3324 posted 12 years ago by o0110o
0 1270 posted 13 years ago by arpit
0 3197 posted 13 years ago by focal55
0 1617 posted 14 years ago by sybrex
0 1185 posted 14 years ago by rccc
Simply define your POSTURL and POSTVARS in name = value string format. It will post the form.
0 1480 posted 14 years ago by kumar_sekhar
11 2982 posted 14 years ago by frederichoule
1 1707 posted 14 years ago by fackz
0 1743 posted 14 years ago by wnasich
Since the 31 of august 2010, twitter made its API more secure, stopping basic authentication calls. So, if you used basic authentication you have to change your code and implement oAuth authentication model or you can follow this link and found a mi...
1 2077 posted 15 years ago by ginoplusio
If you need to add some content to your pages without having that content in your database you can use Wikipedia API. You can, for example, need to add automatically a simple description to a city name, or to a band name. Or you could need to add the...
1 1591 posted 15 years ago by ginoplusio
Following our recent work on an [API for Cloudworks](http://freear.org.uk/node/40) I thought I\'d post this simple demo, which uses cURL and json_decode. [Email us](mailto:cloudworks AT open.ac.uk?subject=API) for an API key. (15-24 June 2010.)
0 1067 posted 15 years ago by nfreear
0 1074 posted 15 years ago by screamwork
1 1098 posted 15 years ago by screamwork
6 1801 posted 15 years ago by Nettuts
forms part of our Calibre Remote Web App. basically an alternate gui for calibre ebooks content-server.
0 1170 posted 15 years ago by minky
Example of how to send a subscribe_user request using Notifo's api. Notifo lets you setup push notifications to mobiles - for any site. Put the PHP into a separate file named notifo-proxy.php
0 1392 posted 15 years ago by Meander365
Here is how to upload an attachment to a CouchDb document using PHP and cURL.
0 1173 posted 15 years ago by stephanepericat
PHP function of mini bot class that lets you retrieve twitter infos from twitter nickname. ($this->attr method is part of the Mini Bot Class)
2 1665 posted 15 years ago by ginoplusio
« Prev 1 2