Re: [PHP] file_get_contents() problem
[email protected] (Aziz Saleh)
| Newsgroups | php.general |
|---|---|
| Message-ID | <CAPJtNhVADMuXTm2+eBoet8-0LeqMmBaTM-O22L1jX=XZ97Jibg@mail.gmail.com> |
On Sat, Feb 25, 2017 at 1:12 PM, Narcis Garcia <[email protected]> wrote: > PHP version? > Web server? > What is the "no longer works" appearance? > > > El 25/02/17 a les 19:00, Tedd Sperling ha escrit: > > Hi guys: > > > > My file_get_contents() demo has stopped working on the school's server, > please review: > > > > http://citw.lcc.edu/~sperlt/citw185/examples/content.php > > > > It did work (since 2009), but no longer works. I have tried the exact > same code on other sites and it does work. But I don’t have an explanation > as to why it doesn’t work on this site. Anyone care to comment? > > > > Thanks, > > > > tedd > > > > _______________ > > tedd sperling > > [email protected] > > > > > > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Insure this setting is correct: http://php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen Without it you won't be able to do external URLs.