LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-10-2002, 12:40 PM   #1
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
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
 
Old 08-10-2002, 05:53 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
You can't use php for client side processing. It runs on the webserver only.
 
Old 08-11-2002, 12:51 PM   #3
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Original Poster
Rep: Reputation: 30
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?
 
Old 08-12-2002, 12:50 AM   #4
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
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

Last edited by j-ray; 08-12-2002 at 12:53 AM.
 
Old 08-15-2002, 09:04 AM   #5
Martin Clifford
LQ Newbie
 
Registered: Aug 2002
Location: Maryland, USA
Distribution: Red Hat 7.3
Posts: 3

Rep: Reputation: 0
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
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM
New to PHP and Postgressql. Is this a PHP problem or a sql problem. Please help sendas4 Linux - General 2 11-05-2004 01:54 PM
Problem getting PHP to recognize MySQL, Using PHP 4.0 and MySQL 4.0.20 d2army Programming 4 06-27-2004 08:54 PM
RH9: PHP session problem (or Apache problem) fengcn Red Hat 0 12-01-2003 06:32 PM
Apache php index.php problem neurotic Linux - Software 3 11-18-2003 06:02 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration