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
Re: javascript, XmlHttpRequest, PHP, and daemon [message #177243 is a reply to message #177236] Thu, 01 March 2012 14:05 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
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(at)attglobal(dot)net
==================
[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: Thu Nov 28 05:05:25 GMT 2024

Total time taken to generate the page: 0.04150 seconds