Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #5054
| From | "sl@exabyte" <sb5309@hotmail.com> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | javascript, XmlHttpRequest, PHP, and daemon |
| Date | 2012-03-01 21:15 +0800 |
| Organization | albasani.net |
| Message-ID | <jinsps$io3$1@news.albasani.net> (permalink) |
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).
Back to comp.lang.php | Previous | Next — 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