when I use file_get_contents function I get Failed to open stream: HTTP request failed! HTTP/1.1 502 Bad Gateway in xammp/...
$name = $_GET['name'];
$phone = $_GET['phone'];
$price = $_GET['price'];
$residue = $_GET['residue'];
file_get_contents("http://example.com:8080/?apikey=***********=&pid=*********&fnum=*******&tnum=$phone&p1=name&p2=price&p3=residue&v1=$name&v2=$price&v3=$residue");
http://example.com:8080, not this code