00001 <?php 00002 00003 // Add in PHP 5 00004 if (!function_exists('file_put_contents')) { 00005 function file_put_contents($file, $data) { 00006 $file = @fopen($file, 'w'); 00007 if ($file === FALSE) 00008 return FALSE; 00009 $return = fwrite($file, $data); 00010 fclose($file); 00011 return $return; 00012 } 00013 } 00014 00015
1.5.5