Not sure exactly if this is what you're asking, but you can 'test' a web page by doing the following:
$url = "http://mysite/page?u=joe&p=secret";
$buff = "";
$fd = fopen($url);
while (!feof($fd)) {
$buff .= fgets($fd, 4096);
}
fclose($fd);
Note that $url is a sample FORM GET that you would like to test. After a successful page get, look in $buff for the resulting page to check against what you expect.
Dave
===========================================
http://badblue.com
Free small footprint web server for Windows
P2P file-sharing, PHP, wireless apps & more