Re: How do i include ASP script into PHP...??!
| From: | Richard | Date: | Mon, 16 Apr 2001 23:29:19 +0000 |
| Subject: | Re: How do i include ASP script into PHP...??! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48835@lists.php.net to get a copy of this message | ||
ASP is a pathetic framwork.
""Phil Driscoll"" <phil@dialsolutions.co.uk> wrote in message
news:005f01c0c6c2$ad8a2200$0c01a8c0@philsntserver...
> 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
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>