Re: Can a website block the use of file_get_contents ?



@petersprc : I did indeed also try with a generic user agent, and I
managed to download the page BUT some values on the page retrieved
where different from the values seen on the webpage itself when simply
browsing it and not trying to retrieve it. Take a look at the value to
the right of "Nombre de jours" which seems to be randomly generated
when retrieving the page and in fact a static value when browsing the
page. How can that be, very strange ? I am surprised the contents
could be retrieved but with a random modification of particular values
within the page ?
Thank you already for your help.

@NC : yes I did try curl but got the error message mentioned above. I
will try sockets as well.
Thank you already for your help as well !
.



Relevant Pages

  • Re: Inet1.OpenURL
    ... We use the OpenURL method of the control to retrieve the content from the remote file. ... The OpenURL method is used twice, first to retrieve the actual data and then to retrieve the data as a text string. ... You put in a file name to download and tell the program whether the file is all text or binary. ...
    (comp.lang.basic.visual.misc)
  • Outlook 2002 stops while retrieving email
    ... Outlook 2002 to download messages from one of my email accounts - the ... program stops retrieving the mail and continues displaying the ... message) each time I try to retrieve the mail. ... account settings and they appear OK. ...
    (microsoft.public.outlook)
  • Re: Open URL then copy text...programmatically
    ... Access" shows how you can retrieve the content of a webpage. ... download the column and sample database for free at ...
    (microsoft.public.access.modulesdaovba)
  • Re: begin to parse a web page not entirely downloaded
    ... begin to test if a specific string is present and if yes ... stop the download? ... if not chunk: break ... I think in both case urllib.openurl retrieve the whole page. ...
    (comp.lang.python)
  • Re: Linking to excel spreadsheet over the Internet
    ... "Sietse Wijnker" wrote in message ... To retrieve that kind of information you can place ... > XML file next to it specifying the file size and date, ... > Maybe there's a better way for etrieving file info before you download, ...
    (microsoft.public.fox.vfp.dbc)