Re: Access another server aspx page

From: Date: Wed, 25 Apr 2007 06:25:30 +0000
Subject: Re: Access another server aspx page
References: 1  Groups: php.db php.soap 
Request: Send a blank email to php-db+get-43485@lists.php.net to get a copy of this message
You can do this on HTTP level. Open the source (html) of login.aspx and look at the submission form. Then use a tool such as telnet to send the GET/POST request for testing. Then implement this in php - probably using the cURL extention. You'll need to read a bit about the HTTP protocol... Hope this helps... Regards, Emil Ivanov Lasitha Alawatta wrote:
Hi All, I need to access .aspx page using .php page. It’s like this.
01)     I have a login.aspx & home.aspx pages in different server (IIS6, already hosted at different location: www.abc.com/login.aspx <http://www.abc.com/login.aspx>  ).
02)     I have the username & password for login to the above application (home.aspx)
03)    I need to go to home.aspx page, bypassing login.aspx page. (using php page: http://localhost/bypass.php )
·          Is there is a possibility to control www.abc.com/login.aspx <http://www.abc.com/login.aspx> page events.
Ex: login.aspx page have 2 text boxes & login button. I mean is it possible to handle login.aspx’s login button’s click event?
·          Is it possible to do my requirement using php *curl* function?
·          Or do you all have any suggestions?
Thanking you, Best regards, Lasitha


« previous php.db (#43485) next »