Jump to content

Recommended Posts

I have searched the internet many times over and have tried many many different things but can't seem to get this working.

 

I have created a PHP file that is currently using exec() to open up a VLC stream.  On the PHP site I have found that

 

"Note: If a program is started with this function, in order for it to continue running in the background, the output of the program must be redirected to a file or another output stream. Failing to do so will cause PHP to hang until the execution of the program ends."

 

Yet I can't seem to code a solution.  I believe that using Popen might work but I have no idea how to use it.  Again I have tried a good 3 hours on this straight without much luck.

 

using the exec command I can open up one process but I need the code to open up many processes..

 

Please Please Help.  This has stumped many people and I really would like to find a solution.

 

If my code will help in the troubleshooting let me know and I will be happy to post it.

 

-Defyer

Link to comment
https://forums.phpfreaks.com/topic/167544-popen-command-help/
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.