| AND OR | string words | *

file handling

|

write to file


function to write a string to a file


function file_write( ) [ line 2 ]



full source of write to file [ line 1 - 13 ] | download write to file

1    <? 
2   function file_write($filename$filecontent)
3   { 
4       if($fp = @fopen($filename,"w "))
5       { 
6           $contents fwrite($fp$filecontent80000); 
7           fclose($fp); 
8           return true
9       }else{ 
10           return false
11       } 
12   } 
13   ?>



12 hits by 12 users in the last 30 minutes.