I have a html form that someone fills out. Then on "submit" a php script reads what was typed in the form. It then opens a new page with a html page in it with the results.
I would like this page to load as a pre-sized window (ie. 200 X 400pixels). How?
This is how I have it loading the new page:
$file = "../../../directory/filename.htm";
$read = fopen($file, "r");
$content = fread($read, filesize($file));
$content = ereg_replace("{VIN}", $VIN, $content);
$content = ereg_replace("{make}", $make, $content);
$content = ereg_replace("{serial}", $serial, $content);
echo $content;
I would like this to pop open a pre-sized window rather than an entirely new page..
Thanks.