MySQL Forums
Forum List  »  PHP

Re: Automating LOAD DATA INFILE with data collected regularly on an other system (Windows)
Posted by: Les Dee
Date: October 08, 2015 12:42PM

I have also tried using 'exec' instead of shell_exec (tied both with and without stderr redirection) but with the same result - the return value is empty and the returned array is empty.

The only advantage of using exec is that the return_var value correctly indicates whether the command failed or not.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.