turn text file to string php
snippet in php

turn text file to string php

user8973

$fileContent = file_get_contents($url);

transfer file using file_get_content

user3248

file_get_contents('http://url/to/upload/handler', false, $context);

turn text file to string php

user3248

$fileContent = file_get_contents($url);