Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
C
 Configuration Options
E
 Examples
G
 GET Parameters
J
 JSON requests
 JSONP requests
L
 License
N
 Native requests
 Notes
P
 POST Parameters
R
 Release History
S
 Simple PHP Proxy:Get external HTML,JSON and more!
These variables can be manually edited in the PHP file if necessary.
This working example, complete with fully commented code, illustrates one way in which this PHP script can be used.
Certain GET (query string) parameters may be passed into ba-simple-proxy.php to control its behavior, this is a list of these parameters.
This request will return the contents of the specified url in JSON format.
This request will return the contents of the specified url in JSONP format (but only if $enable_jsonp is enabled in the PHP script).
Copyright © 2010 “Cowboy” Ben Alman, Dual licensed under the MIT and GPL licenses.
This request will return the contents of the specified url in the format it was received in, including the same content-type and other headers (but only if $enable_native is enabled in the PHP script).
All POST parameters are automatically passed through to the remote URL request.
Version: 1.6, Last updated: 1/24/2009
Close