TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

Easy Splash?

Page: 1 Reply
Mar 23rd 2003#96601 Report
Member since: Mar 23rd 2003
Posts: 5
I would like to set up the random spalsh pic thingy and i was wondering if there was an easy way?
Reply with Quote Reply
Mar 23rd 2003#96615 Report
Member since: Mar 24th 2002
Posts: 3114
[PHP]
$splashes=array("dog.jpg","cat.jpg","horse.jpg","pr0n.jpg");
$splashes=shuffle($splashes);
echo "




";
?>
[/PHP]

^ the very basics of one way, search the forum for a better one, it's been talked about several times.
Reply with Quote Reply
Mar 23rd 2003#96618 Report
Member since: Mar 23rd 2003
Posts: 5
Ta!
Reply with Quote Reply
Mar 23rd 2003#96622 Report
Member since: Mar 23rd 2003
Posts: 5
Any chane of an idoit guide of how to get this workin
Reply with Quote Reply
Mar 23rd 2003#96658 Report
Member since: Apr 20th 2002
Posts: 3000
Write up the general code used to display the splash (background colors, tables, etc.) and then paste that code between:

echo "

CODE HERE

";


Then just add the paths to the images into:

$splashes=array("dog.jpg","cat.jpg","horse.jpg","pr0n.jpg");

Now take your edited code, put it in a file name "index.php" and upload it to your webhost. If you webhost doesn't support PHP then this method will not work.
Reply with Quote Reply
Mar 24th 2003#96797 Report
Member since: Mar 23rd 2003
Posts: 5
ahh ok ill see if this works
Reply with Quote Reply
Mar 24th 2003#96799 Report
Member since: Mar 23rd 2003
Posts: 5
OK Guys am rely stupid

any chance of a expamle page?
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum