PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am trying to create a script that will backup and restore the tables. The backup part works fine it's just when I go to restore, it does a certain amount of rows and then cuts out. There must be about 1300 rows with a lot of information in each(Sort of like a phpbb form post)
I have added a @set_time_limit(0); at the top of the page but that doesn't do anything...
What db are you using first of all? Secondly, read the documentation for the db to see what and where the time limits for transactions are set to and where to change them. Also, the PHP parser has a setting in the PHP.ini file that limits the length of time that a script has to be executed. For example: I have a 60 second time limit set for transactions in my PHP.ini file but in the Informix db configuration file I have a time limit set to 180 seconds. The web server will time out before the db does so changing a setting in the db, in this case, will do me no good. Also, you must restart the web server (for the changes to take effect) after changing the php.ini file and the same goes for the db.