You are here: Re: JavaScript to PHP? « PHP Programming Language « IT news, forums, messages
Re: JavaScript to PHP?

Posted by Steve Chapel on 03/30/06 17:57

Thomas 'PointedEars' Lahn wrote:
> Not necessarily.
>
>> In order for PHP to do anything, the browser has to contact the server and
>> get a repsonse. How would PHP, running on a server, open a new browser
>> window on the client's computer?
>
> The concept and interfaces of the Document Object Model are not restricted
> to an HTML UA, nor is opening a window part of the DOM (in the original
> sense).

Spock, do you need to be so logical? Think about what the person is
asking. Is he referring to JavaScript on the server? The reasonable
answer, although perhaps not 100% technically correct, is that you can
do things in JavaScript (on the web browser client) that are simply not
possible with PHP (on the web server). One example is opening a window.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация