Re: [PHP] file_get_contents() problem

[email protected] (Adam Jon Richardson)
Newsgroups php.general
Message-ID <CAJzDObe-rhEi3MsWUzWEh61R_PVo7rTJ1ir=ie8AKP_wpUzw-Q@mail.gmail.com>
On Sat, Feb 25, 2017 at 1:00 PM, Tedd Sperling <[email protected]> wrote:

> 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


I usually first check the allow_url_fopen setting when this stops working
on a server, as file_get_contents needs this turned on to access URLs:
http://php.net/manual/en/filesystem.configuration.php

Adam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.