Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #5061
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: javascript, XmlHttpRequest, PHP, and daemon |
| Date | 2012-03-01 09:05 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <jinvnp$3p5$1@dont-email.me> (permalink) |
| References | <jinsps$io3$1@news.albasani.net> |
On 3/1/2012 8:15 AM, sl@exabyte wrote: > Rather than banging my head, I think I shall ask the experts first. > > From a web page, using javascript, there is no way to talk and listen to a > daemon on linux ( I gathered from folks here). > > 1. Using javascript I can send data to a PHP file and wait for it reply (aka > AJAX). > > 2. Assume that the PHP file is on the same server running the daemon. > > Question > --------- > > Can I do this: > > I send my data to a PHP file via XmlHttpRequest; the PHP file communicates > with the daemon and get its reply, after which the PHP will return the > result to my javascript ? > > Thanks folks (forgive me if it is stupid). > > How is the PHP script going to communicate with the daemon? Why are you beating your head against the wall trying to reinvent the wheel? -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
javascript, XmlHttpRequest, PHP, and daemon "sl@exabyte" <sb5309@hotmail.com> - 2012-03-01 21:15 +0800
Re: javascript, XmlHttpRequest, PHP, and daemon The Natural Philosopher <tnp@invalid.invalid> - 2012-03-01 14:05 +0000
Re: javascript, XmlHttpRequest, PHP, and daemon Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-03-01 15:28 +0100
Re: javascript, XmlHttpRequest, PHP, and daemon Jerry Stuckle <jstucklex@attglobal.net> - 2012-03-01 09:05 -0500
Re: javascript, XmlHttpRequest, PHP, and daemon "SL" <sb5309@hotmail.com> - 2012-03-02 00:09 +0800
csiph-web