14
I just tested them both :
//$number = $_REQUEST['number'];
//$filename = $number.".html"; //add filename extension
$filename="test1.htm";
if ($filename!="") //if number is not blank
{
echo "";
}
else
{
echo "Invalid Number";
}
?>
and
//$url= $_REQUEST['number']; //get form field result
$url="test1";
$ext = ".htm"; //file extension
$title = "Window Title"; //window title
$details = "height=300,width=300"; //window properties
$url=$url.$ext; //make filename
print ""
?>
It's odd. It prints the function alright but doesn't actually activate it. anyone know why?