Re: [PHP] is there a function like javascript's window.open in PHP
heh, my first thought was to suggest php-gtk g you are right, I see this question on asp lists all the time.. :) -- === Michael J. Ryan - tracker1[*at*]theroughnecks.com Roughneck BBS: http://www.theroughnecks.net telnet://theroughnecks.net === Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email One program for aim/icq/yahoo/msn/irc - http://www.trillian.cc/ Mark Charette [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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:[EMAIL PROTECTED]] Sent: Sunday, June 23, 2002 12:17 AM To: [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] is there a function like javascript's window.open in PHP
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:[EMAIL PROTECTED]] Sent: Sunday, June 23, 2002 12:17 AM To: [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] is there a function like javascript's window.open in PHP
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 [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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:[EMAIL PROTECTED]] Sent: Sunday, June 23, 2002 12:17 AM To: [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] is there a function like javascript's window.open in PHP
hi, I wonder that is there a PHP function like window.open() into Javascript? thankyouverymuch. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
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