By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,748 Members | 1,427 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,748 IT Pros & Developers. It's quick & easy.

Is PHP client-side or server-side?

P: n/a
I'd like to take a look at PHP but the problem is that
this far, i've used Java because it doesn't require
anything else from the server it's downloaded from
(if compiled as an Applet, of course). How is it with
PHP? Will i have to nag on the administrators of the
server where my website is to install anything?

--

Kindly
Konrad
---------------------------------------------------
May all spammers die an agonizing death; have no burial places;
their souls be chased by demons in Gehenna from one room to
another for all eternity and more.

Sleep - thing used by ineffective people
as a substitute for coffee

Ambition - a poor excuse for not having
enough sence to be lazy
---------------------------------------------------


Jul 17 '05 #1
Share this Question
Share on Google+
11 Replies


P: n/a
PHP is server side :P .. If you don't have it on your hosting already good
luck getting it !
"Konrad Den Ende" <ch************@bigfoot.com> wrote in message
news:bn**********@news.gu.se...
I'd like to take a look at PHP but the problem is that
this far, i've used Java because it doesn't require
anything else from the server it's downloaded from
(if compiled as an Applet, of course). How is it with
PHP? Will i have to nag on the administrators of the
server where my website is to install anything?

--

Kindly
Konrad
---------------------------------------------------
May all spammers die an agonizing death; have no burial places;
their souls be chased by demons in Gehenna from one room to
another for all eternity and more.

Sleep - thing used by ineffective people
as a substitute for coffee

Ambition - a poor excuse for not having
enough sence to be lazy
---------------------------------------------------

Jul 17 '05 #2

P: n/a
Carved in mystic runes upon the very living rock, the last words of Konrad
Den Ende of comp.lang.php make plain:
I'd like to take a look at PHP but the problem is that
this far, i've used Java because it doesn't require
anything else from the server it's downloaded from
(if compiled as an Applet, of course). How is it with
PHP? Will i have to nag on the administrators of the
server where my website is to install anything?


It's strictly server-side, but I've always thought a client-side PHP would
be interesting <G>

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 17 '05 #3

P: n/a
Alan Little wrote:
It's strictly server-side, but I've always thought a client-side PHP would
be interesting <G>


Isn't that what the php-gtk project is for (http://gtk.php.net/)? ;)

--
Justin Koivisto - sp**@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.

Jul 17 '05 #4

P: n/a
> It's strictly server-side, but I've always thought a client-side PHP
would be interesting <G>


Perhaps that's where Java comes in. The issue with that is that you
still have to require potential users to install JRE. Thanks anyway.

--

Kindly
Konrad
---------------------------------------------------
May all spammers die an agonizing death; have no burial places;
their souls be chased by demons in Gehenna from one room to
another for all eternity and more.

Sleep - thing used by ineffective people
as a substitute for coffee

Ambition - a poor excuse for not having
enough sence to be lazy
---------------------------------------------------


Jul 17 '05 #5

P: n/a
Justin Koivisto wrote:
Alan Little wrote:
It's strictly server-side, but I've always thought a client-side PHP
would be interesting <G>

Isn't that what the php-gtk project is for (http://gtk.php.net/)? ;)


I think by client-side they mean running a script or applet directly in
the browser. PHP-GTK can only be used for GUI apps running on the local
machine. But of course, there's nothing stopping interested parties
from making a PHP-to-Java converter (or even a bytecode compiler for PHP).
Jul 17 '05 #6

P: n/a
Keith Bowes wrote:
Justin Koivisto wrote:
Alan Little wrote:
It's strictly server-side, but I've always thought a client-side PHP
would be interesting <G>


Isn't that what the php-gtk project is for (http://gtk.php.net/)? ;)


there's nothing stopping interested parties from making a PHP-to-Java
converter (or even a bytecode compiler for PHP).


Well, one step in that direction may be this project for creating
independent execuatbles...

http://www.priadoblender.com/index.p...main&cslot_1=2

--
Justin Koivisto - sp**@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.

Jul 17 '05 #7

P: n/a
Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote or quoted:
It's strictly server-side, but I've always thought a client-side PHP would
be interesting <G>


Client-side PHP is Javascript.
--
__________
|im |yler http://timtyler.org/ ti*@tt1lock.org Remove lock to reply.
Jul 17 '05 #8

P: n/a
Carved in mystic runes upon the very living rock, the last words of Tim
Tyler of comp.lang.php make plain:
Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote or quoted:
It's strictly server-side, but I've always thought a client-side PHP
would be interesting <G>


Client-side PHP is Javascript.


No, client-side Javascript is Javascript. They're completely different
languages. It would be possible to construct a browser that could execute
PHP code directly. That's what I was talking about.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 17 '05 #9

P: n/a
On Wed, 29 Oct 2003 12:37:53 +0100, Konrad Den Ende wrote:
I'd like to take a look at PHP but the problem is that
this far, i've used Java because it doesn't require
anything else from the server it's downloaded from
(if compiled as an Applet, of course). How is it with
PHP? Will i have to nag on the administrators of the
server where my website is to install anything?


Sorry, but STFW a little bit.

Here is more info:
http://www.php.net/manual/en/introduction.php

later...
--
Jeffrey D. Silverman | jeffrey AT jhu DOT edu
Johns Hopkins University | Baltimore, MD
Website | http://www.wse.jhu.edu/newtnotes/

Jul 17 '05 #10

P: n/a
"Alan Little" <al**@n-o-s-p-a-m-phorm.com> schrieb im Newsbeitrag
news:Xn**************************@216.196.97.132.. .
Carved in mystic runes upon the very living rock, the last words of Tim
Tyler of comp.lang.php make plain:
Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote or quoted:
It's strictly server-side, but I've always thought a client-side PHP
would be interesting <G>


Client-side PHP is Javascript.


No, client-side Javascript is Javascript. They're completely different
languages. It would be possible to construct a browser that could execute
PHP code directly. That's what I was talking about.


IMO this would be the start of PHP hell - different implementations on every
browser version, all more or less buggy. Don't we have enough problems with
client-side technologies already?

I actually don't see a field where this could be used anyway. What for? As
an alternative to Javascript? Or do you want to perform 'classical' PHP
tasks on the client side? Imagine a server that delivers a password
authentication script unparsed to the client...

--
Markus
Jul 17 '05 #11

P: n/a
Carved in mystic runes upon the very living rock, the last words of
Markus Ernst of comp.lang.php make plain:
"Alan Little" <al**@n-o-s-p-a-m-phorm.com> schrieb im Newsbeitrag
news:Xn**************************@216.196.97.132.. .
Carved in mystic runes upon the very living rock, the last words of
Tim Tyler of comp.lang.php make plain:
> Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote or quoted:
>
>> It's strictly server-side, but I've always thought a client-side
>> PHP would be interesting <G>
>
> Client-side PHP is Javascript.


No, client-side Javascript is Javascript. They're completely
different languages. It would be possible to construct a browser that
could execute PHP code directly. That's what I was talking about.


I actually don't see a field where this could be used anyway.


Neither do I, really. It was a joke, hence the <G> in my original post.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 17 '05 #12

This discussion thread is closed

Replies have been disabled for this discussion.