Connecting Tech Pros Worldwide Help | Site Map

Running PHP on a client only...

michelle
Guest
 
Posts: n/a
#1: Jul 17 '05
I was wondering if it is possible to run a PHP program on a web browser
on a local PC without having a server, such as Apache, installed
locally? I am thinking about creating an application the will configure
Linux config files based on input from webpages.

I have seen this done on the CUPS setup/admin pages: http://localhost:631/

....do these pages use php, perl or what?

Miki
Michael Vilain
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Running PHP on a client only...


In article <lfydna3XqYbYge7fRVn-qA@comcast.com>,
michelle <miki@spam_me.net> wrote:
[color=blue]
> I was wondering if it is possible to run a PHP program on a web browser
> on a local PC without having a server, such as Apache, installed
> locally? I am thinking about creating an application the will configure
> Linux config files based on input from webpages.
>
> I have seen this done on the CUPS setup/admin pages: http://localhost:631/
>
> ...do these pages use php, perl or what?
>
> Miki[/color]

Well, php is a server-side language. So, unless there's a server
_somewhere_ that's turning the php code into HTML, my guess would be no.

--
DeeDee, don't press that button! DeeDee! NO! Dee...



Urs Weder
Guest
 
Posts: n/a
#3: Jul 17 '05

re: Running PHP on a client only...


michelle wrote:[color=blue]
> I was wondering if it is possible to run a PHP program on a web browser
> on a local PC without having a server, such as Apache, installed
> locally? I am thinking about creating an application the will configure
> Linux config files based on input from webpages.
>
> I have seen this done on the CUPS setup/admin pages: http://localhost:631/
>
> ...do these pages use php, perl or what?
>
> Miki[/color]
If http://localhost:631/ works for you then you have an php server
already running.
Check your php configuration for Doc-root. There you can place your php
files you want to execute by your browser.

Greetings, Urs
madmaster
Guest
 
Posts: n/a
#4: Jul 17 '05

re: Running PHP on a client only...


I don't know what's the idea (if you want something like the JAVA
Applet it won't work), but you can make your own php desktop
applications using the PHP-GTK bindings.

check http://gtk.php.net

madmaster
Guest
 
Posts: n/a
#5: Jul 17 '05

re: Running PHP on a client only...


I don't know what's the idea (if you want something like the JAVA
Applet it won't work), but you can make your own php desktop
applications using the PHP-GTK bindings.

check http://gtk.php.net

Chung Leong
Guest
 
Posts: n/a
#6: Jul 17 '05

re: Running PHP on a client only...


It is possible to write a simple HTTP daemon in PHP CLI. See
http://www.php.net/sockets/. Not a very robust solution though.

Closed Thread