Ok here is my scenario:
There is a folder on a server called “proofs” and in it are many folders labeled by numbers. So to get to the content of “123”, the relative path would be “/proofs/123”.
I have a text box in a flash movie:
-
The user types in a number in the text box.
-
Flash send the number to a php script as a post variable.
-
The php script opens a new window of the path “/proof/variableNum”
Here is the code that I’m working with (and its not working):
<?
$clientnum = $_POST["clientnum"] ;
print <<
<SCRIPT type="text/javascript" >
window.open('/proofs/$clientnum', 'newWindow',)
</SCRIPT>
HTML;
?>
Can anyone help me out?