Connecting Tech Pros Worldwide Help | Site Map

Running PHP on a client only...

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 12:55 PM
michelle
Guest
 
Posts: n/a
Default Running PHP on a client only...

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

  #2  
Old July 17th, 2005, 12:55 PM
Michael Vilain
Guest
 
Posts: n/a
Default 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...



  #3  
Old July 17th, 2005, 12:55 PM
Urs Weder
Guest
 
Posts: n/a
Default 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
  #4  
Old July 17th, 2005, 12:55 PM
madmaster
Guest
 
Posts: n/a
Default 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

  #5  
Old July 17th, 2005, 12:55 PM
madmaster
Guest
 
Posts: n/a
Default 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

  #6  
Old July 17th, 2005, 12:55 PM
Chung Leong
Guest
 
Posts: n/a
Default 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.

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.