Hi there!
I need to get access to a page in a site from my script to grab its content but the page is in a protected area, I mean, you have to log in first and then go there by using a menu. There is no copyright concern and I have a user account to do that.My problem is to use my username and pswrd to grab the content without logging in through the web form.Any idea?? Or is there any other way to do that?Please help me.Sorry I'm new in the php world.
Thanks in advance
Shortcut
Authenticating a user without filling up a web form??? Help
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Hi!
Of course I have permission to do that.Actually I could do it without grabbing the data from external page but it is gonna take a lot of work.It is about a soccer league and I want the fixtures page just to get the matches of a given date to show them on other page.Just like that.Since I have this account and everything is already set, there is no point in setting it again.
thanks
shortcut
Of course I have permission to do that.Actually I could do it without grabbing the data from external page but it is gonna take a lot of work.It is about a soccer league and I want the fixtures page just to get the matches of a given date to show them on other page.Just like that.Since I have this account and everything is already set, there is no point in setting it again.
thanks
shortcut
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Just because you have access to something doesn't mean you're allowed to copy/harvest from it.
You first need to ask them if it's OK to do this... since you need an account I'm not sure they'd appreciate account holders harvesting information using PHP scripts... I'm not kidding, it's dodgey ground.
Anyway, like I say... look into cURL... it's can handle logins etc...
http://www.php.net/curl
You first need to ask them if it's OK to do this... since you need an account I'm not sure they'd appreciate account holders harvesting information using PHP scripts... I'm not kidding, it's dodgey ground.
Anyway, like I say... look into cURL... it's can handle logins etc...
http://www.php.net/curl