473,396 Members | 1,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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
Jul 17 '05 #1
5 1461
In article <lf********************@comcast.com>,
michelle <miki@spam_me.net> wrote:
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


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...

Jul 17 '05 #2
michelle wrote:
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

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
Jul 17 '05 #3
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

Jul 17 '05 #4
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

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

Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Kathy Burke | last post by:
Hi. Yet another question. We're running a new asp.net app off a production network server. The PC is a PentiumII/III with 128MB of RAM. When running the app, the memory uses read at about...
10
by: ej1008 | last post by:
HI all I am having a windows Control running on ASP.Net webform. From this windows control I am trying to connect to database to do some database operations. Now I am facing problem while...
17
by: JStemper | last post by:
On one of my localhost sites I'm getting a message to run aspnet_regiis -c to correct some scripting issues. When I try to run the listed command I get another error: "You must have...
9
by: mareal | last post by:
I have noticed how the thread I created just stops running. I have added several exceptions to the thread System.Threading.SynchronizationLockException System.Threading.ThreadAbortException...
6
by: Charles Law | last post by:
Suppose my application is running on a client machine, and they report an intermittent problem. It only occurs after the program has been running for a while, and then occasionally fails to perform...
0
by: archana | last post by:
Hi all, I am having problem in one web method which i am running asynchronously I set oneway attribute in web method. What i want is once client called this web method this should start...
4
by: Jeremy S. | last post by:
We're in the process of writing a new Windows Forms app and the desktop support folks want for it to be run from a network share. I know it's possible (i.e., just have the framework on the clients...
7
by: (PeteCresswell) | last post by:
Can anybody point me to an example of creating a running sum via SQL. The situation is the application shows a history of bond trades - both as parent transaction and as allocated among funds. ...
8
by: John | last post by:
Hi I am using the below code to run a sql on an underlying access table; insStr = "INSERT INTO ( Action, , , Request_Date ) " & _ "VALUES (""Modify Client"", 93, ""Administrator"", Now())"...
8
by: geert | last post by:
Hi all, I have a mac mini running maocosx 10.5 leopard I want to deploy a django project on. My backend is MySQL, and I have it running as a 64- bit app. Of course, apache2 is also running as...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.