From: Steve Staples on 10 Sep 2010 16:37 Ok, here it goes... I am building an app, that requires a web interface. I am using PHP becuase I am familiar with it. Most of the app's i've been looking at, use Python, Cherry.py and stuff, but what I was wondering, is is there a way to create a php CLI app, that creates it's own "web server" even if apache is installed. i want to be able to run it on like port 8880 or something... just looking out there fro something... TIA! Steve
From: Steve Staples on 10 Sep 2010 16:40 OH, i forgot to mention, if it ran on windows or linux, and required no "install", just ran as an executable or something. Steve. On Fri, 2010-09-10 at 16:37 -0400, Steve Staples wrote: > Ok, here it goes... > > I am building an app, that requires a web interface. I am using PHP > becuase I am familiar with it. Most of the app's i've been looking at, > use Python, Cherry.py and stuff, but what I was wondering, is is there a > way to create a php CLI app, that creates it's own "web server" even if > apache is installed. > > i want to be able to run it on like port 8880 or something... just > looking out there fro something... > > TIA! > > Steve > > -- Steve Staples Web Application Developer 519.258.2333 x8414
From: Daniel Brown on 10 Sep 2010 16:42 On Fri, Sep 10, 2010 at 16:37, Steve Staples <sstaples(a)mnsi.net> wrote: > Ok, here it goes... > > I am building an app, that requires a web interface. I am using PHP > becuase I am familiar with it. Most of the app's i've been looking at, > use Python, Cherry.py and stuff, but what I was wondering, is is there a > way to create a php CLI app, that creates it's own "web server" even if > apache is installed. > > i want to be able to run it on like port 8880 or something... just > looking out there fro something... I had written one about two years ago for a project, but the code belongs to the client company, so it won't make it to open source. However, not only can it be done, but there's even some in existence. Check this one out: http://nanoweb.si.kz/ I've never used it myself, but it may be worth a shot for you. -- </Daniel P. Brown> Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/
From: Jim Lucas on 11 Sep 2010 00:53 Daniel Brown wrote: > On Fri, Sep 10, 2010 at 16:37, Steve Staples <sstaples(a)mnsi.net> wrote: >> Ok, here it goes... >> >> I am building an app, that requires a web interface. I am using PHP >> becuase I am familiar with it. Most of the app's i've been looking at, >> use Python, Cherry.py and stuff, but what I was wondering, is is there a >> way to create a php CLI app, that creates it's own "web server" even if >> apache is installed. >> >> i want to be able to run it on like port 8880 or something... just >> looking out there fro something... > > I had written one about two years ago for a project, but the code > belongs to the client company, so it won't make it to open source. > However, not only can it be done, but there's even some in existence. > Check this one out: > > http://nanoweb.si.kz/ > > I've never used it myself, but it may be worth a shot for you. > I use this as a mini web server on my XP workstation just for testing little things. I have no idea how well it will perform in real world use nor have I tried it on any *nix setup. Just my experiences... Jim
From: Per Jessen on 11 Sep 2010 02:46 Steve Staples wrote: > Ok, here it goes... >=20 > I am building an app, that requires a web interface. I am using PHP > becuase I am familiar with it. Most of the app's i've been looking > at, use Python, Cherry.py and stuff, but what I was wondering, is is > there a way to create a php CLI app, that creates it's own "web > server" even if apache is installed. Yep, that's no big deal. A webserver is just some code that listens fo= r requests on port XX, processes the requests and sends back suitably formatted responses.=20 --=20 Per Jessen, Z=C3=BCrich (12.2=C2=B0C)
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: newbie question about code Next: Disabling an extension on a perdir basis. |