����JFIF��`�`�����Viewing File: /home/u820193700/domains/thereown.com/public_html/test4.php
<?php $ch = curl_init('http://localhost/thereown/api/index.php?action=login'); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(['action'=>'login', 'password'=>'admin123'])); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt'); $res = curl_exec($ch); echo $res; $ch = curl_init('http://localhost/thereown/api/index.php?action=add_delivery'); curl_setopt($ch, CURLOPT_POST, 1); $cfile = new CURLFile('test.jpg', 'image/jpeg', 'test.jpg'); curl_setopt($ch, CURLOPT_POSTFIELDS, ['name'=>'Classic 350', 'sub'=>'Test', 'location'=>'Test Loc', 'file'=>$cfile]); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt'); $res2 = curl_exec($ch); echo $res2; ?>
Back to Directory �������}�!1AQa"q2���#B��R��$3br� %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz�������������������������������������������������������������������������������� ������w�!1AQaq"2�B���� #3R�br� $4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz������������������������������������������������������������������������ ��?��_��+��?��(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(�����