zarfan
-
Posts
3 -
Joined
-
Last visited
Never
Posts posted by zarfan
-
-
hi i tried what you said but it didnt work, here is my code now
[code]
<?php
@$productID = addslashes($_POST['productID']);
if (strlen($productID) == 0 )
{
die("<p align='center'><font face='Arial' size='3' color='#FF0000'>Invalid productID</font></p>");
}
die("<script>window.open(products/$productID/index.html,'','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=800,height=600')</script>");
?>[/code] -
Hi,
i would like to make a php popup window based on some information from a form
currently a value is passed into the PHP script then i am forwarwed to another another site
my script is as follows
<?php
[code]
@$productID = addslashes($_POST['productID']);
if (strlen($productID) == 0 )
{
die("<p align='center'><font face='Arial' size='3' color='#FF0000'>Invalid productID</font></p>");
}
header("Location: products/$productID/index.html'");
?>[/code]
but i now i would like to change this abit so that the productID page is opened in a new popup window and that and i return to my last viewed page, can anyone code this small script for me please
thanks
unique ip hit counter help displaying result in html
in PHP Coding Help
Posted
is there anyway i can get a unique ip hit counter onto my index.html and make it run a counter.php script and then display the result back in index.html
thanks