Or, you can go for raw http.
$fp = fsockopen("www.example.com", 80);
$uri = "POST /cgi-bin/teste?param1=1¶m2=2 HTTP/1.0\r\n\r\n";
fputs($fp, $uri);
while ($line = fgets($fp)) {
$document.=$line;
}
fclose($fp);
Now you have the contents of the webpage in $document 🙂 hope that helps:
Chris King