I’ve written a function to fetch a file from remote server and store it into a string here: https://dev.sandalian.com/baca/4/get-content-of-url-into-string-variable.htm. Then today I realized that PHP already have that function! ๐
The function is called get_file_contents(). So, my function is officially deprecated now ๐
Leave a Reply