PHP can't do this because it doesn't know what a "window" is.
Javascript could do it, though. Something like
HTML Code:
<script type="text/javascript">self.close();</script>
Though you'll probably need to search the net a bit to see how Javascript does timers (I can never remember, so that's what I end up doing every time I need to do it. SetTimeout() or something like that.)
__________________
On two occasions I have been asked [by Members of Parliament], "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.
Last edited by Weedpacket; 06-04-2006 at 07:55 AM.
|