OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
3-31-025chanakya
/
assets
/
payment
/
vendor
/
rmccue
/
requests
/
examples
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/26/2025 04:24:36 AM
rwxr-xr-x
📄
basic-auth.php
448 bytes
03/26/2025 04:23:17 AM
rw-r--r--
📄
cookie.php
497 bytes
03/26/2025 04:23:17 AM
rw-r--r--
📄
cookie_jar.php
593 bytes
03/26/2025 04:23:17 AM
rw-r--r--
📄
get.php
387 bytes
03/26/2025 04:23:17 AM
rw-r--r--
📄
multiple.php
1.1 KB
03/26/2025 04:23:17 AM
rw-r--r--
📄
post.php
386 bytes
03/26/2025 04:23:17 AM
rw-r--r--
📄
proxy.php
612 bytes
03/26/2025 04:23:17 AM
rw-r--r--
📄
session.php
644 bytes
03/26/2025 04:23:17 AM
rw-r--r--
📄
timeout.php
518 bytes
03/26/2025 04:23:17 AM
rw-r--r--
Editing: cookie_jar.php
Close
<?php // First, include the Requests Autoloader. require_once dirname(__DIR__) . '/src/Autoload.php'; // Next, make sure Requests can load internal classes. WpOrg\Requests\Autoload::register(); // Say you need to fake a login cookie $c = new WpOrg\Requests\Cookie\Jar(['login_uid' => 'something']); // Now let's make a request! $request = WpOrg\Requests\Requests::get( 'http://httpbin.org/cookies', // Url [], // No need to set the headers the Jar does this for us ['cookies' => $c] // Pass in the Jar as an option ); // Check what we received var_dump($request);