Jump to content

Runnin php scripts under other programs


epod

Recommended Posts

I have recently approached an issue where I must retreive data from a descriptor. The data
is populated into the descriptor by the program which will run the php script.

I have searched for ways to read the descriptor, but have failed as most of the read() functions
appear to be geared around files. Also, I was hoping to avoid running the external program
from within the php script with proc_open in order to obtain this data.

So a general run down of how this will work, is this:

/sbin/external_prog /sbin/script.php

external_prog pushes data into the descriptor, and script.php needs to pull the data.
Link to comment
https://forums.phpfreaks.com/topic/3953-runnin-php-scripts-under-other-programs/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.