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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.