SyntaxFix
Write A Post
Hire A Developer
Questions
$file = file("links.txt"); print_r($file);
This will be accept the txt file as array. So write anything to the links.txt file (use one line for one element) after, run this page :) your array will be $file