php-db | 2004071
Date: 07/15/04
- Next message: emre erdogan: "Re: Re[2]: [PHP-DB] Table locking"
- Previous message: Ed Lazor: "RE: [PHP-DB] PHP Max execution time"
- In reply to: Lisi: "[PHP-DB] PHP Max execution time"
- Next in thread: John W. Holmes: "Re: [PHP-DB] PHP Max execution time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
You can use set_time_limit(0) to disable max execution
time limit.
You can set it to more than 30 seconds too.
ini_set("max_execution_time","300");
will also work.
zareef ahmed
--- Lisi <php-db <email protected>> wrote:
> I am running a script (called through a browser)
> that checks entries in a
> table one at a time. As the table has grown, the
> script takes longer to run
> than is allowed - 30 seconds.
>
> Two questions:
> 1) I am on a virtual host so I'm not sure I have
> access to php.ini, but can
> I change this using .htaccess? Do I need any special
> permission for this?
>
> 2) Is there a way to change this just for one
> script, i.e. I did find the
> set_time_limit() function but can I use something
> like set_time_limit(300)
> or does it have to be less than 30?
>
> Thanks in advance!
>
> -Lisi
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
=====
Zareef Ahmed :: A PHP Developer in Delhi(India).
Homepage :: http://www.zasaifi.com
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: emre erdogan: "Re: Re[2]: [PHP-DB] Table locking"
- Previous message: Ed Lazor: "RE: [PHP-DB] PHP Max execution time"
- In reply to: Lisi: "[PHP-DB] PHP Max execution time"
- Next in thread: John W. Holmes: "Re: [PHP-DB] PHP Max execution time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

