Re: How do i include ASP script into PHP...??!
| From: | Joe Truong | Date: | Tue, 17 Apr 2001 02:17:39 +0000 |
| Subject: | Re: How do i include ASP script into PHP...??! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48864@lists.php.net to get a copy of this message | ||
i found it..... some one else sent it to me... thanxz n e wayz guys....
$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
"Kurth Bemis" <kurth@usaexpress.net> wrote in message
news:4.3.2.7.2.20010416175110.01f689d0@mail.usaexpress.net...
> At 05:45 PM 4/16/2001, Plutarck wrote:
>
> plus - why would you want to :-)
>
> >Doesn't work.
> >
> >ASP scripts require an ASP interpreter. If you stick it in a PHP file,
PHP
> >will try to interpret the ASP code. PHP can't do that.
> >
> >
> >
> >--
> >Plutarck
> >Should be working on something...
> >...but forgot what it was.
> >
> >
> >""Joe Truong"" <joetruong@mediaone.net> wrote in message
> >news:9bfd8q$gum$1@toye.p.sourceforge.net...
> > > How can i include ASP scripts into PHP files or is it posible?
> > > thanxz
> > > -Joe
> > >
> > >
> > >
> > > --
> > > 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
> > >
> >
> >
> >
> >--
> >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
>
>
> --
> 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
>