Re: JavaScript to PHP?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: JavaScript to PHP?

From: Thomas 'PointedEars' Lahn <PointedEars@web.de>
Date: Thu Mar 30 2006 - 19:35:16 CEST

Tim Slattery wrote:

> "The Numerator" <alvin4jesus@gmail.com> wrote:
>> I was just wondering that if it is possible to do almost anything you
>> can do in JavaScript in PHP.
>
> Javascript is (nearly always, anyway) run on the client.

JavaScript, JScript, and other ECMAScript implementations are.
There is no "Javascript".

> PHP is run on the server. That being the case, they do quite different
> things.

PHP can also run without a server.

> There is a small set of things that can be accomplished from either
> end. There are *many* things that can be done client-side but not
> server-side, and there are *many* things that can be done server-side
> but not client-side.

True.
 
> --
> Tim Slattery
> Slattery_T@bls.gov

A signature part is to be delimited by "-- ".

F'up2 cl.php

PointedEars
Received on Mon May 1 02:45:11 2006