You're right, it was running from a browser, you need to use set_time_limit.

--
itoctopus - http://www.itoctopus.com
"Chris" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Jochem Maas wrote:
> > Tijnema ! wrote:
> >> On 3/26/07, Chris <[EMAIL PROTECTED]> wrote:
> >>> itoctopus wrote:
> >>>> The purpose of this script is to optimize all associated tables in
all
> >>>> databases on a mysql server. This script is working great, you can
> >>> put in a
> >>>> CRON and run it every day. Feel free to throw in your 2 cents!
> >>> It's going to time out if you have any large databases or tables.
> >
> > php will not timeout on the commandline unless you actually specify
> > a timeout - unlike php as used as a webserver SAPI.
>
> Considering the amount of html in the script I guessed (maybe
> incorrectly) it was for running from a browser - which is why I
> mentioned about the timeout issue.
>
> A command line script isn't going to have <br/>'s or tables or anything
> (well, none that I've written recently do).
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to