Question!
Moderator:Moderators
I want to make my avatar a random image...how would I do that? (I tried the PHP way, didn't work)
PS360Wii Fanboy FTW!
- nos_slived
- Higher Idiot
- Posts:3476
- Joined:Mon Mar 21, 2005 6:32 pm
- Location:Burnaby, BC, Canada
- Contact:
Either use one of the services that other users use, or create a PHP script with an image file extension(probably JPG/JPEG), and use your .ht file to use the PHP parser for that type of file(set the PHP headers).
The headers in your script:
Add to you .ht file(.htaccess):
The headers in your script:
Code: Select all
header ('Content-type: image/jpeg');
header ('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
header ('Expires: Fri, 12 May 1978 12:33:00 GMT');
header ('Pragma: no-cache');
Code: Select all
AddType application/x-httpd-php .jpg .jpeg .gif