Page 1 of 1
is_file() in php
Posted: Tue Jun 15, 2010 4:06 am
by dduleep
i have file /home/duleep/a.mp3 that have 777 permission but i
<?
echo ("/home/duleep/a.mp3");
?>
not print anything in code
Re: is_file() in php
Posted: Tue Jun 15, 2010 4:11 am
by aravona
I think you need to readup on echo.
http://www.w3schools.com/php/func_string_echo.asp
You cant echo a sound file. At least, you cannot as far as I know.
Re: is_file() in php
Posted: Tue Jun 15, 2010 9:03 am
by AbraCadaver
You'll need to set the proper headers and then:
And why is is_file() in the subject of this post???