FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » javascript, XmlHttpRequest, PHP, and daemon
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
javascript, XmlHttpRequest, PHP, and daemon [message #177236] Thu, 01 March 2012 13:15 Go to previous message
SL is currently offline  SL
Messages: 20
Registered: February 2012
Karma:
Junior Member
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).
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Tutorials for PHP Beginners
Next Topic: MAX(id)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 11:59:54 GMT 2024

Total time taken to generate the page: 0.05139 seconds