?php
$number = $_REQUEST['number'] ;
if ($number!="")
{
header( "Location:http://localhost/".$number.".html");
}
else
{
header( "Location:http://localhost/nopage.html");
}
?
i tried this, it works with true numbers but when inserting a number which is not on the server the else part is not working. how can i do it ? and i want the pages are in a popup window not in the same page. is it possible ?