Jump to content

Popen() command HELP


deathdeyfer2002

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

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.