6
           
            
                
     
    
    So you basically want to create a custom block and open a window based on user input?
The user enters a number (e.g 123) and then you want to open a pop-up window with that file displayed (e.g 123.html)
Is that right? It's a little hard to understand what you're trying to do...
You'll need to create a php file to process the form results. 
In the HTML form you set action="processform.php" or such like.
I'm no expert, but, in it's most simple form, it might look like this :
 the form: 
 
 
<form method="post" action="processresults.php"> 
  Number:<input name="number" type="text"/> br>  
  <input type="submit" /> 
form> 
 
the form processing script ("processresults.php") : 
 
?> 
  $number = $_REQUEST['number'] ; 
 
   if ($number!="") 
   { 
    header( "Location: http://www.example.com/".$number.".html"); 
   } 
?> 
You could also use javascript to open a custom sized window but you'd need to make the PHP interact with client-side javascript.
in any case, to reference a form variables value in a PHP script, you can use $variable = $_REQUEST['formvariable'];