Join the forums now, and start posting to receive access to our Scripts Vault!
<?phpif( !file_exists($filepath) ){ ob_start(); //generation file_put_contents( $filepath, ob_get_flush() );}?>
if( !file_exists($filepath) )
If filename does not exist, the file is created. Otherwise, the existing file is overwritten, unless the FILE_APPEND flags is set.