Forum Moderators: coopster

Message Too Old, No Replies

PHP for Audio files

         

Kysmiley

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

10+ Year Member



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

coopster

9:37 pm on Nov 28, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



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...