Just check the content of the request.
Sent http://127.0.0.1/test.php?data=1234567890
the first line in PHP file
$msg = = file_get_contents('php://input');
variable $msg is empty
var_dump($_POST);
var_dump($_GET);
Dear Leif, Thank you very much for the tip. I will check and let you know.
Dear Leif, I tested your commands.
I sent URL message
http://179.12.11.2/testurl.php?h=gfgzfdhdzfhzfdhzd&t=fdfsfs&ff=112334
got on browser
array(3) { ["h"]=> string(17) "gfgzfdhdzfhzfdhzd" ["t"]=> string(6) "fdfsfs" ["ff"]=> string(6) "112334" }
```
the variable
```
$msg=var_dump($_GET);
$fp = fsockopen('localhost', 6000);
fwrite($fp, $msg);
fclose($fp);
```
the variable $msg still empty , on browser need remain blank
I am trying to forward url. I removed all lines at traccar.xml file, and added lines as below:
<entry key='event.forward.enable'>true</entry> <entry key='event.forward.url'>http://127.0.0.1/test.php</entry>
What's the structure of the data forwarded? I want to prepare PHP file
Thank you