PDA

View Full Version : read only files


mainegate
03-20-2009, 05:23 PM
I want to be able to record a stream and then if that file still exists the next time I try to record it doesn't because the file already exists.

I see some mentioning of "read only" files. How do you make a file read only? Is there something that you can do when you publish?

foxhound87121
03-22-2009, 07:21 PM
I want to be able to record a stream and then if that file still exists the next time I try to record it doesn't because the file already exists.

I see some mentioning of "read only" files. How do you make a file read only? Is there something that you can do when you publish?

You could use PHP to see if a file exists.

For example:

if(file_exists("file1.php"){
print '<embed src="record.swf">';
}else{

}