As I start the process of writing my site in PHP and MySQL, one of the first PHP scripts I\'ve written is a script to initialize my database. Drop/create the database. Dro
Why you not read php documentation about fopen
$file = fopen("source/file.txt","r"); if(!file) { echo("ERROR:cant open file"); } else { $buff = fread ($file,filesize("source/file.txt")); print $buff; }