abazoskib Posted October 21, 2009 Share Posted October 21, 2009 How would I run this little Perl script through my PHP script? Quote Link to comment https://forums.phpfreaks.com/topic/178485-mac2unix-for-text-file-in-php/ Share on other sites More sharing options...
Mchl Posted October 21, 2009 Share Posted October 21, 2009 http://www.php.net/manual/en/language.operators.execution.php Quote Link to comment https://forums.phpfreaks.com/topic/178485-mac2unix-for-text-file-in-php/#findComment-941219 Share on other sites More sharing options...
abazoskib Posted October 21, 2009 Author Share Posted October 21, 2009 I was hoping for a more direct method without surrendering to shell_exec(). Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/178485-mac2unix-for-text-file-in-php/#findComment-941223 Share on other sites More sharing options...
MadTechie Posted October 21, 2009 Share Posted October 21, 2009 proc_open $process = proc_open("perl.pl", $handles, $pipes); Quote Link to comment https://forums.phpfreaks.com/topic/178485-mac2unix-for-text-file-in-php/#findComment-941231 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.