Deny access of files via browser
<p>I am creating files with PHP:</p>

<pre><code> $handle = fopen('backup/db-'.date("ymdhis").'.sql.gz','w+');
 fwrite($handle, $gzdata);
 fclose($handle);
 chmod('backup/db-'.date("ymdhis").'.sql.gz', 0700);
</code></pre>

<p>but the created file is accessible via web browser. Is here some way to not allow that?</p>
