Re: is there a function like javascript's window.open in PHP

From: Date: Sun, 23 Jun 2002 20:55:12 +0000
Subject: Re: is there a function like javascript's window.open in PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-103493@lists.php.net to get a copy of this message
Mark, thankyou very very much your detailed explanations about my complexity. And thank you for gave your time to write it. I think, I have to start first step about scripts :) "Mark Charette" <charette@woodwind.org> wrote in message news:ODEKKKOHBFKHBBNEGHMLMELJCAAA.charette@woodwind.org... > This is a common question, related to the lack of understanding of > client/server architectures I believe. > > PHP is all server side - a browser is all client side. > > Servers can send data only to the browser, nothing else. The server can > inquire and gather data from text files and databases, but it will format > the data into a particular protocol (HTTP most often) and send it to the > browser. The data may even include lines of text from a language that the > browser understands, like JavaScript. Or it might be XML data and the > corresponding XSLT instructions. But ... it can't affect the browser > directly. Only the embedded instructions that the browser understands can > actually affect anything on the browser. > > The browser looks at the stream of data provided by the server and decides > on-the-fly what to do with it. If it sees JavaScript instructions, it may > decide to interpret them and do some particular action. Or it may decide > that it doesn't want to play with JavaScript today and just ignore them. It > may see the XML/XSLT and decide to do something - but it doesn't have to. > This, of couse, is the bane of Web programmers everywhere. What does the > browser understand, and what does it do with the data. > > PHP allows us to write programs eaisy on the server to make some decisions > on what to send a browser, but it cannot act directly on the browser. We > must depend (somehow) on the browser interpreting what we tell it and then > acting in a particular way. > > -----Original Message----- > From: Jason Wong [mailto:php-general@gremlins.com.hk] > Sent: Sunday, June 23, 2002 12:17 AM > To: php-general@lists.php.net > Subject: Re: [PHP] is there a function like javascript's window.open in > PHP > > > On Sunday 23 June 2002 07:21, Burak Delice wrote: > > hi, > > > > I wonder that is there a PHP function like window.open() into Javascript? > > No. > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > > /* > One thought driven home is better than three left on base. > */ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#103493) next »