Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Self close in PHP


Message #1 by Jefferis Peterson <jefferis@p...> on Thu, 3 May 2001 22:00:41 -0400
Adam Langaalang@r... wrote:

>If you think about it, technically their shouldn't be (and I don't know of
>anything like that).
>
>Remember, PHP code is run before the client gets anything.  How can PHP
>close a browser window if there is no browser window to close at the time of
>the code running?

hmmm... well I didn't think of that, since the window is open, but I see
your point. The code would have to be sent rather than reference the page
already open.

Jeff
>
>To do anything special client side, you have to use javascript.
>
>Adam Lang
>Systems Engineer

-- 
Jefferis Kent Peterson
www.PetersonSales.net
Flash, Web Design and Marketing 
ICQ 19112253
_______
"Happy is the person who finds wisdom, and the one who gets
understanding, for the gain from it is better than gain from silver and
its profit better than gold."  - Proverbs 3:13,14.


  Return to Index