Welcome To Snipplr


Everyone's Recent Snippets Tagged curl



« Prev 1 2 3
  1. FAV

    Get A Website Using Curl (SSL Support)

    This example will CURL a forum and echo it's contents using SSL support.
    PHP 3 views posted 3 years ago by Davis34
  2. FAV

    Using cURL get webpage

    Using cURL to get webpage DOM
    PHP 5 views posted 4 years ago by mos666
  3. FAV

    Use curl in php to post to a php webpage programmatically and retrieve the result

    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...
    PHP saved by 1 person 10 views posted 4 years ago by pligor
  4. FAV

    AyeEmtract - PHP Class that implements Curl in Parallel to extract Email Addresses

    <a href="http://pantuts.com/2013/10/24/ayeemtract-using-curl-parallel/">http://pantuts.com/2013/10/24/ayeemtract-using-curl-parallel/</a>
    PHP saved by 3 people 8 views posted 6 years ago by pantuts
  5. FAV

    Check AmazonEC2 WebSite status and if server is down send notification and restart instance

    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
    PHP 3 views posted 7 years ago by cduquev
  6. FAV

    A function to get a files contents with curl.

    A handy function to get the contents of a file with curl. Accepts $_path as a parameter.
    PHP saved by 4 people 8 views posted 7 years ago by o0110o
  7. FAV

    A function to see if a file exists with curl.

    This function will use curl to see if a file exists at the location it's provided. It accepts $_path as a parameter.
    PHP saved by 4 people 8 views posted 7 years ago by o0110o
  8. FAV

    A function to get file sizes in multiple formats with curl.

    A function to get a files size via curl. Accepts $_path, $_unit, $_float, $_username & $_password; In the listed order.
    PHP saved by 4 people 6 views posted 7 years ago by o0110o
  9. FAV

    A function to get file mime-types with curl.

    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.
    PHP saved by 2 people 5 views posted 7 years ago by o0110o
  10. FAV

    CSS3 box-shadow with page curl effect

    Other saved by 3 people 8 views posted 7 years ago by rodcwahr
  11. FAV

    CSS3 box-shadow with page curl effect

    Other 4 views posted 7 years ago by rodcwahr
  12. FAV

    Simple cURL example

    This example will go get the latest version of wordpress and save it as "wordpress-latest.tar.gz" in the current directory. Note, don't include the protocal (http://) in the url.
    Bash 9 views posted 7 years ago by beneberle
  13. FAV

    cjb-upload.sh: Upload a file to upload.cjb.net using curl

    Bash 8 views posted 8 years ago by ksaver
  14. FAV

    Load a page in PHP

    PHP 4 views posted 8 years ago by arpit
  15. FAV

    PHP - cURL receives xml

    PHP 12 views posted 8 years ago by focal55
  16. FAV

    Get page redirect URL

    PHP 3 views posted 8 years ago by sybrex
  17. FAV

    Sparql request with CURL

    PHP 1 views posted 8 years ago by rccc
  18. FAV

    byPAss curl / file_get_contents blocking for scrapping

    PHP 3 views posted 8 years ago by level09
  19. FAV

    REST-Antwort http-header debuggen

    Der folgende Aufruf führt einen PUTrequest durch und zeigt (nur!!) den antwort-header an. Damit es funktioniert muss in app/controllers/application_controller.rb die zeile protect_from_forgery auskommentiert werden.
    Bash 2 views posted 8 years ago by abstraktor
  20. FAV

    Form Post using CURL in php

    Simply define your POSTURL and POSTVARS in name = value string format. It will post the form.
    PHP 4 views posted 8 years ago by kumar_sekhar
  21. FAV

    Perfect cURL Function

    PHP saved by 33 people 112 views posted 8 years ago by frederichoule
  22. FAV

    Basic cURL wrapper function for PHP

    PHP 11 views posted 8 years ago by akshay_raje
  23. FAV

    Listando seus vídeos do YouTube com PHP

    PHP saved by 2 people 2 views posted 9 years ago by thiagobelem
  24. FAV

    LESS - Page Curl

    A LESS class which can be included to easily allow for a page-curl/shadow on element. *NOTE: Still needs work to allow for consistency at various sizes...* **Usage Instructions** * To remove reliance on javascript, setup the LESS compiler:...
    CSS saved by 24 people 20 views posted 9 years ago by bdiddymc
  25. FAV

    Fetch last.fm song from bash

    This script fetches the current playing song of user XY
    Bash saved by 2 people 5 views posted 9 years ago by Sn0opy
  26. FAV

    gets the data from a URL

    PHP saved by 2 people 2 views posted 9 years ago by fackz
  27. FAV

    Simple PHP Rest Cient using curl

    PHP 5 views posted 9 years ago by wnasich
  28. FAV

    Faking your User Agent with cURL

    PHP 1 views posted 9 years ago by Awilum
  29. FAV

    How to change Twitter's status with php and Curl without oAuth

    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...
    PHP saved by 3 people 8 views posted 9 years ago by ginoplusio
  30. FAV

    PHP bot to get wikipedia definitions

    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...
    PHP saved by 2 people 4 views posted 9 years ago by ginoplusio
« Prev 1 2 3