epod Posted March 2, 2006 Share Posted March 2, 2006 I have recently approached an issue where I must retreive data from a descriptor. The datais 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() functionsappear to be geared around files. Also, I was hoping to avoid running the external programfrom 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.phpexternal_prog pushes data into the descriptor, and script.php needs to pull the data. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.