Subj : Re: run external php script
To   : echicken
From : Mortifis
Date : Sat Feb 09 2019 06:02 pm

>   Re: run external php script
>   By: Mortifis to All on Sat Feb 09 2019 15:57:26

>  Mo> my win7_x86 system.


> If I were doing a lot of this, I'd probably make a function that:

> - Takes the command-line to execute as an argument
> - Generates a random tempfile name
> - Runs the command and tacks on the redirect to the temp file
> - Reads the temp file contents
> - Deletes the temp file
> - Returns the temp file contents

> And then I'd probably still feel a bit gross.

perhaps a shower afterward would help :-)

Thanks for the info, now I gotta  p,  open a beer

---
� Synchronet � AlleyCat! BBS - http://alleycat.synchro.net:81