I am learning php and mysql I can import individual sql files ok but I am struggling with importing multiple sql files. I need a PHP PDO script to loop through all files in a folder and import them. The sql files all contain 'create table'.
I don't need fancy interface, just a simple script for learning so I am looking at low bids. I must know in advance if there are likely to be any file size constraints as some sql files are large 10 - 20mb but must work with all file sizes or we need to discuss way forward.
Must run on local and hosted server which does not support exec() or system() so must me pure PHP. Imperative we check will work on both before proceeding so if you need any checks I need to know
Hi there, I can get it done for you, without need to use exec(),system() and can work with a large sql file size without a need to update server's execution time, memory limit. Thanks.