LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   PHP problem (https://www.linuxquestions.org/questions/programming-9/php-problem-27639/)

Config 08-10-2002 12:40 PM

PHP problem
 
I would like to create an app, that can be run from the webbrowser, and I want to use php. However, the machine the app should run on, doesn't have a web server. How could I make this run?
I would like to do this on a win$ box, but knowing how to do it on Linux might be helpful as well
Thanks

crabboy 08-10-2002 05:53 PM

You can't use php for client side processing. It runs on the webserver only.

Config 08-11-2002 12:51 PM

I know, but it's possible to run php in commandline mode - so there is some sort of possibility. In windows, you can have the php.exe. But I have no Idea what exactly it does.
And if php won't work, what would you use instead?

j-ray 08-12-2002 12:50 AM

you can build php static under linux. so you can run it from command line. it is possible to create gui apps with php + gtk too under linux. then you don`t need a webbrowser. but i donīt think thatīs possible in windows (gui).
but you can install apache under windows as well as under linux. then you have a server for free!
another alternative is to write a java applet that can be used in a browser on windows an linux.
cheers, jens

Martin Clifford 08-15-2002 09:04 AM

Get a PHP enabled host on the internet for $3/mo and you're good to go, for anyone that wants to view your app.

Otherwise the Win sys will REQUIRE a webserver with PHP (at last the version you're using for dev) installed.

HTH


All times are GMT -5. The time now is 10:06 PM.