SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2000
    Location
    Cork, Ireland
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know I have to use set_time_limit() to set the time
    limit of a particular script.

    Can I use this function anywhere in a PHP Script?

    Does it only effect the Script I use it in or does it
    effect all the scripts running at the time?

    It's just that I have a database loading script which
    runs for a couple of hours and need to set the timelimit
    to zero for it.

    Does anyone forsee any problems with this???

    Help, and help quick if you can, I'm on a deadline.

  2. #2
    SitePoint Wizard jumpthru's Avatar
    Join Date
    Apr 2000
    Location
    Los Angeles, California
    Posts
    1,008
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What is so intensive that it takes an hour?

  3. #3
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Ross Nicholson
    Can I use this function anywhere in a PHP Script?

    Does it only effect the Script I use it in or does it
    effect all the scripts running at the time?
    The answers:

    Yes, and it effects only the current script which is running (who called it).


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •