Page 1 of 1

pop-up window

Posted: Tue Oct 11, 2005 5:59 am
by sebs
How can I make a pop-up window apear in PHP?For redirecting to the first page I am already using :
header("Location: index.htm");
And now I need to open a pop-up window to give an error message

Posted: Tue Oct 11, 2005 6:34 am
by Jenk
JavaScript.

PHP Is server side, server cannot create pop-ups.

Posted: Tue Oct 11, 2005 7:58 am
by sebs
thanks,I made it with javascript.

Posted: Tue Oct 11, 2005 7:59 am
by Joe
Go here to view the javascript popup window attributes which may be of use to you.

Posted: Tue Oct 11, 2005 8:19 am
by sebs
THanks,don't bother.Already made it!