file_exists();
if (file_exists('1234.rm')) {
// show one image
} else {
// show another image
}
Just correct the path of file_exists argument to the one you need/use.
--
Julio Nobrega.
Um dia eu chego l�:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Randum Ian" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi there, is there a way of checking a directory for a sound file showing
one image if its available, another if it isnt? The sound files are in
directory http://www.foo.com/media and they are called 1234.rm.
Can anybody help me pls?
Cheers in advance, Ian.
DJ / Producer / Webdesigner
[EMAIL PROTECTED] - 07814 364277 (new number)
Webmaster: http://www.randumian.co.uk
Webmaster: http://www.danceportal.co.uk
Webmaster: http://www.vivienmarkey.com
Webmaster: http://www.yamnd.org.uk
Webdesigner: http://www.vgland.co.uk
Webdesigner: http://www.allstargambling.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]