[Solved] The BlackHole Bot Trap
Since your first line is as follows: $fp = fopen($filename, ‘r’) or die(‘<p>Error opening file.</p>’); We can pretty quickly deduce that the fopen() call is failing. Verify that you’re providing the function with a correct file path — nothing after it matters if the file doesn’t open! solved The BlackHole Bot Trap