Over a million developers have joined DZone.

Read A File Or An URL To A String In PHP

·
Simply do this:

$string = implode('',file($pathToFileOrUrl));
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}