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 if(!empty($_GET['httpurl'])){ | |
/** | |
* Basic cURL script for passing http through https locally, to get around mixed-security issues in browsers | |
* not fully tested; can handle GET and POST data as needed. | |
* $_GET['httpurl'] is urlencoded | |
*/ | |
$cookie = tmpfile(); | |
$userAgent = 'Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31'; | |
$thisurl=urldecode($_GET['httpurl']); | |
//basic check for domain |