I’m working on a Facebook app that needs to collect images from an external server. Normally I could use a function like copy to do this, but this requires allow_url_fopen to be on and a lot of providers like mine have this turned off to tighten server security.
Eventually I came across file_get_contents to do the job. Since this also needs allow_url_fopen to be on, my post on fetching page content with cURL came to mind.
This does the same thing without restrictions on privacy and is available on most current setups. Read More »
Untold Entertain...
Untold Entertain...
Untold Entertain...