TIME LIMIT

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!

Moderator: General Moderators

Post Reply
avix
Forum Newbie
Posts: 2
Joined: Sun Jan 23, 2011 10:27 am

TIME LIMIT

Post by avix »

I am basically running a php script which is inserting some data in database but the data which this script will insert into the databse will take more than 1 hr and as you know 300 sec is the time limit for a query to run so i am basically running out of time.So,please suggest me how can run this script ??
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: TIME LIMIT

Post by John Cartwright »

Code: Select all

set_time_limit(0);
Post Reply