SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 29 of 29
  1. #26
    SitePoint Evangelist Jedi007's Avatar
    Join Date
    Aug 2005
    Posts
    463
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what the hell is wrong with you guys??? (jk)

    The answer is so simple, simply put this in the head section:

    Code:
    <META HTTP-EQUIV="Refresh"
          CONTENT="30; URL=(your url here)">

  2. #27
    Keep it simple, stupid! bokehman's Avatar
    Join Date
    Jul 2005
    Posts
    1,933
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jedi007
    what the hell is wrong with you guys??? (jk)

    The answer is so simple, simply put this in the head section:

    Code:
    <META HTTP-EQUIV="Refresh"
          CONTENT="30; URL=(your url here)">
    And how would that do any good? The script would stop running as soon as the browser is closed.

  3. #28
    SitePoint Addict phpster's Avatar
    Join Date
    Feb 2005
    Location
    Toronto, Canada
    Posts
    374
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the best solution is obviously a cron run cli script...since he can't use it...what about an intermdiate computer running a script and catching those results and passing them onto the client system...

    Is SOAP somewhere in there a possibility?
    phpster

    I wish my computer would do what I want it to.
    Not what I tell it to do...

  4. #29
    SitePoint Wizard
    Join Date
    Jan 2005
    Location
    blahblahblah
    Posts
    1,447
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP Code:
    ignore_user_abort(true); 
    set_time_limit(0); 
    while (
    == 1) { 
        if (
    strtolower(file_get_contents('kill.txt')) == 'y') { 
            exit; 
        } 

        
    // Your code 

        
    sleep(30); 

    could this work with a request to a db instead of a file?



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
  •