GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   blog question... or just php maybe...not sure (https://gfy.com/showthread.php?t=532502)

Deej 10-25-2005 11:01 PM

blog question... or just php maybe...not sure
 
I want to have a blog where a random image (out of 5 or 6 selected images) will load on each refresh or load....

Any leads on how to find out or any scripts already?

monkeysnap 10-25-2005 11:08 PM

http://www.google.com/search?sourcei...ndom+image+php

Deej 10-25-2005 11:11 PM

Sorry that sounds really dumb and easy dosnt it......im sorry....I mean in the background...I want the background image to be randomly changed

MrIzzz 10-25-2005 11:13 PM

so you dont want to have my pic in there all the time!!!! :(

TMM_John 10-25-2005 11:14 PM

<body background="/your/image/path/<?php code to spit out the random filename?>" blah blah blah>

page needs to be php parsed in that case of course

if the page can't be php parsed you'll need to create a .jpg or .gif file which is php parsed which spits out the proper mime heders and the image data for the random image on each load and use that .jpg or .gif named php file as your background image

Deej 10-25-2005 11:24 PM

Quote:

Originally Posted by MrIzzz
so you dont want to have my pic in there all the time!!!! :(

this is research for my up and coming blog Izzz .... your platinum baby

Deej 10-25-2005 11:57 PM

i got it....thank you for your help


All times are GMT -7. The time now is 06:55 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123