Re: Login via php code on an external page
- From: "J.O. Aho" <user@xxxxxxxxxxx>
- Date: Thu, 01 Mar 2007 14:34:34 +0100
Andrea wrote:
I have to do a php script that daily surf a webpage (I do it with
crontab) and collect some data.
The proble is that to access that webpage I have to do a login. I have
the login data, but do it via browser....ok, I'm not stupid, but do
that via php script...well I'm not able to do it.
The script is running on the server side, so it's useless to do the
login on my browser prior to run the script.
The page where I have to login has this code in it:
It's a lot easier if you use wget, it supports sessions and cookies, you first use wget to get the page to your local machine and then process the file in php.
--
//Aho
.
- Follow-Ups:
- Re: Login via php code on an external page
- From: Andrea
- Re: Login via php code on an external page
- References:
- Login via php code on an external page
- From: Andrea
- Login via php code on an external page
- Prev by Date: Login via php code on an external page
- Next by Date: Re: query string passing woes........ help... please....
- Previous by thread: Login via php code on an external page
- Next by thread: Re: Login via php code on an external page
- Index(es):
Relevant Pages
|
|