Open files using URL in php
Problem: To open a file that was given as a local path, I didn’t have any trouble opening and reading from the file. When I used the full URL on the same file, I got errors.
Here’s what I found out:
In php you need to set a variable allow_url_fopen = On
Put this parameter in php.ini file and save the file in the directory where I need to open a url.

