page  <- 1234567891011 -> <- 1 .. 7 .. 11 ->
^^
vv
List results:
Search options:
Use \ before commas in usernames
yup. Its workinf alright.
always move fast
for xp users:

start -> my network places -> metroid2002

that gets you (or at least me) to the ftp without any need of opening up an internet browser.  however, it wasnt there at first, and i have no idea how it got there, so it wont be too useful unless you can figure that out...
Still doesn't work Spraky  Crying or Very sad
red chamber dream
You're going to have to create a new Network Place to get a Metroid2002 folder in there. That's what I did, and now it's easy to upload to my ftp.
I just write ftp.metroid2002.com in any window, and i go there.
red chamber dream
Are you using Internet Explorer? 'Cause that's the easiest way to do it, but I don't have it.
There is random avatar, but is there random sig? Just wondering.
in the name of justice!
Quote from radu242:
There is random avatar, but is there random sig? Just wondering.

Yes, unless something has changed.  Scarlet has some.
Quote from Spine Shark:
Quote from radu242:
There is random avatar, but is there random sig? Just wondering.

Yes, unless something has changed.  Scarlet has some.
OK, how do you do it?
everybody knows it's true
Same thing, except give the address to the sig.
in the name of justice!
Damn it, I don't know!  Does it look like I have a random avatar to you?

I'd guess pretty much the same thing though.  Just put the link in your sig this time.

You know, maybe I'll get a random avatar, and it'll just be link on the raft with his eyes open, and my current avatar.

Ha, simulpost.
Quote from Arkarian:
Freewebs = awful
but Freewebs also = at least it gives me my random avatar over at PSF.


How do you upload the .htaccess to free webs?  It keeps telling me it's invalid.
Cook of the Sea
Someone (DZ?) demonstrated some sleight-of-hand for that somewhere in this thread.
soaking through
I think you want freewebtown and not freewebs.
I'll be back. Maybe...
Freewebtown isn't a great share for general use, but since it's only being used as an image host and no-one'll have to load any actual pages hosted there, the evil popups of doom won't attack in great numbers.

Also, it's better than freewebs in that Freewebs can only hold 50 files/account.

I think I was the one who found this thing among the plethora of free web shares caveandi.
red chamber dream
Quote from Izo:
I think you want freewebtown and not freewebs.

Ah, sorry, that's what I meant. I use FreeWebTown.
Good thing this is a sticky...

Is it just me, or are none of the random avatars used by people that use FreeWebTown working anymore?  As in it shows up as just a whit box with a red x over the box instead of an actual picture...
in the name of justice!
Quote from DeathNoble:
Good thing this is a sticky...

Is it just me, or are none of the random avatars used by people that use FreeWebTown working anymore?  As in it shows up as just a whit box with a red x over the box instead of an actual picture...

I'm going to say yes, because one day all my avatars borked at once, so I just went back to plain old single avatar action.  And I used FreeWebTown.
Quote from Spine Shark:
Quote from DeathNoble:
Good thing this is a sticky...

Is it just me, or are none of the random avatars used by people that use FreeWebTown working anymore?  As in it shows up as just a whit box with a red x over the box instead of an actual picture...

I'm going to say yes, because one day all my avatars borked at once, so I just went back to plain old single avatar action.  And I used FreeWebTown.


Evil or Very Mad  I just today started wanting to use random avatars and such...  I made all the avatars myself and downloaded that randomer program, and got an account at FreeWebTown and...  Evil or Very Mad

EDIT:  Wassup Dawgs still has working random avatars...  Wonder what site he uses...
Quote from njahnke:
notes: firefox will cache the result of the script, so that you will have to hit "reload" to see a new random avatar every time you visit a new forum thread.


Solution:
Code:
     Header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");               // Date in the past
     Header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");  // always modified
     Header("Cache-Control: no-store, no-cache, must-revalidate");   // HTTP/1.1
     Header("Cache-Control: post-check=0, pre-check=0", false);
     Header("Pragma: no-cache"); 


Probably overkill, but hey... they're just headers. :P
okay, i know i've mentioned how much you rule before, but now, again:

you rule.

edit: doesn't seem to be working ... am i correct that the code should look like this?:

Code:
<?php
$dh = opendir(".");
while (false !== ($file = readdir($dh)))
{
if (preg_match('/.(jpg|gif|png)$/i', $file) and $file != "avatar.jpg")
{
$filelist[] = $file;
}
}

srand((double)microtime()*1000000);
$picnum = rand(0, sizeof($filelist) - 1);

Header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");               // Date in the past 
Header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");  // always modified
Header("Cache-Control: no-store, no-cache, must-revalidate");   // HTTP/1.1 
Header("Cache-Control: post-check=0, pre-check=0", false); 
Header("Pragma: no-cache"); 
header("Location: " . $filelist[$picnum]);

closedir($dh);
?>
That's the way it should look.

I've never actually tried it out along with a Location header, nor with firefox.

Edit: damn... I'll have to rethink the method. Seems the headers are just ignored.

What would work would be if it actually returned the contents of the file it randomizes instead of sending the Location header.


Edit2: This does work... Just tested:

Code:
<?php
    
    $imgdir   = ".";
    $filelist = array();
    $extlist  = array();
    
    $dh = opendir($imgdir);
    while (false !== ($file = readdir($dh))) 
    { 
        if (preg_match('/.(jpg|gif|png)$/i', $file, $regs) and $file != "avatar.jpg") 
        { 
            $filelist[] = $file; 
            $extlist[]  = $regs[1];
        } 
    } 
    closedir($dh); 
    
    srand((double)microtime()*1000000); 
    $picnum = rand(0, sizeof($filelist) - 1);

    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");               // Date in the past
    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");  // always modified
    header("Cache-Control: no-store, no-cache, must-revalidate");   // HTTP/1.1
    header("Cache-Control: post-check=0, pre-check=0", false);
    header("Pragma: no-cache");
    header("Content-Type: image/" . $extlist[$picnum]);
    echo file_get_contents($imgdir . "/" . $filelist[$picnum]);

?>
ugh, after spending ten minutes cleaning up the shit that code turned into when i pasted it into a text editor, i think it's working. in the future, could you please save code as unix .txt and link to it? i'd like to go ahead and get this code of yours that way before i replace the version in the zip with it, just to make sure there aren't any lingering issues with the random unprintable characters that were inserted by phpbb's formatting.
Sure, no problem. Forgot you also use safari. :?

As a test, here it is on my server:
attachment:
It works. Good job. And nice rotating InGen logo.