Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Load Text Files - PHP

function LoadTxt($fn){ global $ewPathDelimiter; // Get text file content $filepath = realpath(".") . $ewPathDelimiter . $fn; $fobj = fopen ($filepath , "r"); return fread ($fobj, filesize ($filepath));}Disclaimer: Any code or advice given is for instructional purposes only. We will not be responsible for any loss or damage caused by using this script.



This post first appeared on Smash Scripts, please read the originial post: here

Share the post

Load Text Files - PHP

×

Subscribe to Smash Scripts

Get updates delivered right to your inbox!

Thank you for your subscription

×