uawdijnntqw1x1x1
IP : 18.191.68.112
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
jackpotjunglegam
/
www
/
2f7f6
/
..
/
core
/
app
/
Notify
/
..
/
Lib
/
..
/
Lib
/
CurlRequest.php
/
/
<?php namespace App\Lib; class CurlRequest { /** * GET request using curl * * @return mixed */ public static function curlContent($url, $header = null) { $ch = curl_init(); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); if ($header) { curl_setopt($ch, CURLOPT_HTTPHEADER, $header); } curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); curl_close($ch); return $result; } /** * POST request using curl * * @return mixed */ public static function curlPostContent($url, $postData = null, $header = null) { if (is_array($postData)) { $params = http_build_query($postData); } else { $params = $postData; } $ch = curl_init(); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); if ($header) { curl_setopt($ch, CURLOPT_HTTPHEADER, $header); } curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POSTFIELDS, $params); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); curl_close($ch); return $result; } }
/home/jackpotjunglegam/www/2f7f6/../core/app/Notify/../Lib/../Lib/CurlRequest.php