On Nov 13, 2014, at 4:20 AM, Benaya Paul <[email protected]> wrote:
> 
> Can you please tell me how to call php file in nodejs
> 


You could child_process to exec/spawn the PHP interpreter passing it the PHP 
script to run as an argument. There are also simpler modules available that 
give you an “exec” call that synchronously returns the output of an external 
command. I’d recommend the latter if your need is simple. If you need specific 
links let me know.

        —ravi


-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/DEE0A6BF-596F-405A-A84C-9F3BB8659170%40g8o.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to