Welcome to WebmasterWorld Guest from 3.93.74.227

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP for Audio files

     
4:04 pm on Nov 26, 2005 (gmt 0)

Full Member

10+ Year Member

joined:Mar 27, 2004
posts:276
votes: 0


Is there any way to use PHP to choose an audio file at random to play when the page starts. I have something like this for a background so when u click refresh u will get a different background or if u leave the site todayt and come back tomorrow u may see a different background. I would like to do this with embeded audio files also
Pat
9:37 pm on Nov 28, 2005 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12555
votes: 3


Have you tried applying the same logic to the audio portion that you already have working for the background portion? Shouldn't be much different...