php get whole file in variable code example
Example 1: turn text file to string php
$fileContent = file_get_contents($url);
Example 2: transfer file using file_get_content
$header = 'Content-Type: multipart/form-data; boundary='.MULTIPART_BOUNDARY;