sb3108sa / phpbrowscap

Automatically exported from code.google.com/p/phpbrowscap
GNU Lesser General Public License v2.1
0 stars 0 forks source link

We have to be logged on the site now to download #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use the default parameters
2. Use the lib

[Browscap_Exception]
Bad datetime format from
http://browsers.garykeith.com/versions/version-date.asp

This url returns now :

Login Required

You must be a member and logged-in to access that resource!

Please login to continue.

Thank you.

Original issue reported on code.google.com by ludovic....@gmail.com on 15 Jan 2009 at 10:10

GoogleCodeExporter commented 8 years ago
Same prerequists as above,
the downloaded browscap.ini has the HTML result of the "login required" page.

Original comment by kmpo...@googlemail.com on 17 Jan 2009 at 9:05

GoogleCodeExporter commented 8 years ago
Appearently, the browscap project homepage needs a registration and logon. After
registering and logging in you can acces browscap.ini via the URL set in
$remoteIniUrl in Browscap.php

I registered and tried to change to URL to a HTTP-Login with my username and 
password
but it didn't work either.

There seems to be communication needed with Gary.

Original comment by kmpo...@googlemail.com on 17 Jan 2009 at 9:14

GoogleCodeExporter commented 8 years ago
Hi all, I'm aware of all this and i'm collaborating with gary about this point. 
Currently I'm in the army and the time 
to dedicate to the class is limited. I'll try to do the possible

Original comment by st.jonat...@gmail.com on 18 Jan 2009 at 12:23

GoogleCodeExporter commented 8 years ago
Thx. If somebody find a solution, don't hesitate.

Original comment by ludovic....@gmail.com on 19 Jan 2009 at 10:06

GoogleCodeExporter commented 8 years ago
I can probably make a diff to make it work for CURL users.  Not sure any other
download type will be able to be used without some changes on Gary's end.

I will try to post something here by the end of the week.

Original comment by austin.bischoff on 20 Jan 2009 at 9:58

GoogleCodeExporter commented 8 years ago
It has to do with file_get_contents. I guess it does not like accessing a 
program,
version-date.asp. I have 'allow_url_open' so it uses the UPDATE_FIOPEN method to
access this. If I disable the check in _getUpdateMethod(), i.e. when it uses
UPDATE_FSOCKOPEN, the whole thing seems to work.

Original comment by willem.v...@gmail.com on 22 Jan 2009 at 12:22

GoogleCodeExporter commented 8 years ago
Just got word today Gary has removed the login restrictions to access the files 
and
the remote version information.  This ticket is now invalid.

Original comment by austin.bischoff on 22 Jan 2009 at 1:41