<?php $linksfile = "links.txt"; // Open the file $fp = @fopen($linksfile, 'r'); // Add each line to an array if ($fp) { $links = explode(PHP_EOL, fread($fp, filesize($linksfile))); }
Updated on 2 Dec