Re: How do i include ASP script into PHP...??!
| From: | Phil Driscoll | Date: | Mon, 16 Apr 2001 22:13:50 +0000 |
| Subject: | Re: How do i include ASP script into PHP...??! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-48817@lists.php.net to get a copy of this message | ||
There may be some perverse way of getting php and asp to parse the same
page, but I;m sure you don't want to go there.
If you have a legacy ASP script which you need to access, you can call it
from within PHP using something like:
$f=fopen('http://your.server/legacyscript.asp"),
"r");
if($f)
{
/*read the data from the file handle and deal with it as you wish - you
might want to process it somehow, or just output it as part of the current
page*/
fclose($fp);
}
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org