XR3X

Jump to content


Hello Alexa,

welcome to our PasteBin system.

Please bare in mind this system is working for this version of IP.B (bulletin board software used) but it is not guaranteed that it will work on future versions.

Use this system with responsibility and do not spam our system.

File #4


<?php
$ch = curl_init($sub_req_url);
$encoded = '';
// include GET as well as POST variables; your needs may vary.
foreach($_GET as $name => $value) {
  $encoded .= urlencode($name).'='.urlencode($value).'&';
}
foreach($_POST as $name => $value) {
  $encoded .= urlencode($name).'='.urlencode($value).'&';
}
// chop off last ampersand
$encoded = substr($encoded, 0, strlen($encoded)-1);
curl_setopt($ch, CURLOPT_POSTFIELDS,  $encoded);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_exec($ch);
curl_close($ch);
?>

Related Files Set

    Not part of any sets

Permanent Link

Direct Link

Quick BBCode


  • Total Files 5
  • Latest By kuupa

user(s) are online (in the past 120 minutes)

members, guests, anonymous users