Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F886472
proxy.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
558 B
Subscribers
None
proxy.php
View Options
<?php
// Open the Curl session
if
(!
$_POST
[
'url'
])
exit
;
$session
=
curl_init
((
$_POST
[
'url'
]));
$postvars
=
file_get_contents
(
'php://input'
);
// Don't return HTTP headers. Do return the contents of the call
curl_setopt
(
$session
,
CURLOPT_HEADER
,
false
);
curl_setopt
(
$session
,
CURLOPT_RETURNTRANSFER
,
true
);
// Make the call
$response
=
curl_exec
(
$session
);
//header("Content-Type: text/html; charset=utf-8");
header
(
"Content-Type: application/xml;"
);
// expects a json response and filters it
echo
"/*"
.
$response
.
"*/"
;
curl_close
(
$session
);
?>
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Apr 7, 01:46 (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27580
Default Alt Text
proxy.php (558 B)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment