Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: Rotating Avatar

  1. #21
    Poster
    Join Date
    Jan 2003
    Location
    Belle Vernon, PA, USA
    Posts
    638
    Originally posted by vivitron 15@15 April 2004 - 05:58
    is there a way i can get it to do the refresh thing?
    Nah. The script is called when the page is loaded, outputs an image, and that's it; it's done running. If you wanted it to refresh, you'd have to call the script again, which isn't possible in the context of this page, unless you force the entire page to refresh.

    The output of that script is an image, which is static and literally can't do anything itself except sit there and look pretty. Having the image refresh itself is impossible.

  2. Internet, Programming and Graphics   -   #22
    Poster
    Join Date
    Oct 2003
    Location
    Montevideo,Uruguay
    Posts
    983
    OMG it shows something different on every page

  3. Internet, Programming and Graphics   -   #23

  4. Internet, Programming and Graphics   -   #24
    Poster
    Join Date
    Oct 2003
    Location
    Montevideo,Uruguay
    Posts
    983
    Originally posted by NightStalker@24 April 2004 - 23:21
    https://filesharingtalk.com/index.php?showtopic=105614
    thx

  5. Internet, Programming and Graphics   -   #25
    h1
    Guest
    Actually, I didn't do that.
    Code:
    <?php
    error_reporting(0);
    header('Cache-control: no-cache, must-revalidate, no-store');
    header('Cache-control: pre-check=0, post-check=0',false);
    header('Content-disposition: filename=censor.jpg');
    header('Content-length: 0');
    header('Content-type: image/gif');
    header('Expires: 0');
    header('Pragma: no-cache');
    @readfile('./'.rand(1,5).'.gif');
    ?>

  6. Internet, Programming and Graphics   -   #26
    Poster
    Join Date
    Oct 2003
    Location
    Montevideo,Uruguay
    Posts
    983
    Originally posted by haxor41789@25 April 2004 - 00:41
    Actually, I didn't do that.
    Code:
    <?php
    error_reporting(0);
    header('Cache-control: no-cache, must-revalidate, no-store');
    header('Cache-control: pre-check=0, post-check=0',false);
    header('Content-disposition: filename=censor.jpg');
    header('Content-length: 0');
    header('Content-type: image/gif');
    header('Expires: 0');
    header('Pragma: no-cache');
    @readfile('./'.rand(1,5).'.gif');
    ?>
    i see very bad cache there

  7. Internet, Programming and Graphics   -   #27
    h1
    Guest
    If I didn't play with your cache, you'd get the same image over and over.

  8. Internet, Programming and Graphics   -   #28
    dats kool thax a lot

Page 3 of 3 FirstFirst 123

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
  •