file_get_contents failure

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mouseit

    #1

    file_get_contents failure

    This may be a very easy question, and I may need to supply more
    information, but basically trying to read a file at a URL with
    file_get_conten ts() returns the error message:

    [function.file-get-contents]: failed to open stream: HTTP request
    failed! HTTP/1.0 403 Forbidden

    Any help is appreciated & thanks in advance,
    Mouseit

  • ZeldorBlat

    #2
    Re: file_get_conten ts failure

    On Jun 27, 3:11 pm, mouseit <mouseit...@gma il.comwrote:
    This may be a very easy question, and I may need to supply more
    information, but basically trying to read a file at a URL with
    file_get_conten ts() returns the error message:
    >
    [function.file-get-contents]: failed to open stream: HTTP request
    failed! HTTP/1.0 403 Forbidden
    >
    Any help is appreciated & thanks in advance,
    Mouseit
    The server from which you are requesting the data isn't allowing it.
    Try putting the URL in your browser and see if you get the same
    result. If so, find out from the person who operates the server why
    your request is forbidden.

    Comment

    Working...