Re: Second (Bizarre) Question regarding PHP and ASP

From: Date: Sat, 04 Jan 2003 23:59:55 +0000
Subject: Re: Second (Bizarre) Question regarding PHP and ASP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-130268@lists.php.net to get a copy of this message
It would look like any other user. In ASP you will have to check the request's IP (if its static), or you can use some kind of username/password combinition... Or if you are real lazy use just a hidden url ie mysite.com/akjdhsanlfas/process.asp There is no way to tell the page process.php is making the request. Andrew ----- Original Message ----- From: "Phil Powell" <soazine@erols.com> To: <talk@nyphp.org>; <php-general@lists.php.net> Sent: Saturday, January 04, 2003 11:43 PM Subject: [PHP] Second (Bizarre) Question regarding PHP and ASP I don't know how to post this one so I'm sorry for such bizarre cross-posting, but honestly I don't know where to go for help on this one! I have process.php that has to call a remote file called process.asp on another site. Site 1 has the cookie domain I want (that's where process.php is housed) Site 2 has the database I need (because I can't obtain a database for Site 1 - Site 2 is where process.asp is housed) process.php has to do an fopen to process.asp to process username and password material. process.asp needs security, obviously, to ensure that the user is "coming" from process.asp (but he's not because he's doing an fopen). in other words, process.php opens up process.asp and returns the evaluation of process.asp onto process.php I tried using REQUEST_URI but I didn't get the results I wanted. How will process.asp know that process.php called it in order to do what it should do? Thanx Phil

« previous php.general (#130268) next »