[web-team] Fixed: PHP security-sensitive settings in php.ini
Lisa
svlug at flygirl.com
Wed Jan 23 21:15:25 PST 2008
Rick Moen wrote:
> Quoting Lisa Corsetti (svlug at flygirl.com):
>
>
>> Cool... with one minor correction. We are using PHP to select the
>> random sponsor icon.
>>
>
> Thanks. Fortunately, this snippet doesn't use anything but the rand()
> function and a couple of assignments -- and I've verified that it still
> works:
>
> $filenumber = rand(0, count($files)-1);
> print "<img src='".$reldir."/".$files[$filenumber]."' border=0 alt=\"We'd like to thank our sponsors for making this website possible.\" width=110 height=65 vspace=5 hspace=10>";
>
Oh, yah... I pretty much (after looking at your exclude list) assumed
that it did.
I was just commenting for accuracy's sake
More information about the web-team
mailing list