This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// | |
// this gist takes most of the code from https://gist.github.com/3176917 but adds in form uploading which is just an @ symbol | |
// this also explores different options for the form data | |
// | |
// curl_post_upload.php | |
// You can modify this script to make PHP use a webpage like a person sitting | |
// at a computer would use a webpage. | |
// | |
// tags: #php #curl #form #upload |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// | |
// curl_post_update.php | |
// You can modify this script to make PHP use a webpage like a person sitting | |
// at a computer would use a webpage. | |
// | |
// tags: #php #curl #form | |
// | |
// This script is licensed under the JSON licence http://www.json.org/license.html | |
// "The Software shall be used for Good, not Evil." style license |
NewerOlder