Re: INCLUDE ASP does Not Work! for PHP - 4.3.4
| From: | DvDmanDT | Date: | Wed, 22 Sep 2004 15:12:53 +0000 |
| Subject: | Re: INCLUDE ASP does Not Work! for PHP - 4.3.4 | ||
| References: | 1 2 3 4 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-24628@lists.php.net to get a copy of this message | ||
Sorry, I was misstaken.. It's nsapi that has a virtual, which is however
called nsapi_virtual.. Also, there are several ASP for Apache projects..
Someone mentioned the one from sun. There's also one named iASP.. And
OpenASP, mod_vb and Apache::ASP (ASP with Perl syntax).. For ASP.NET there
is also mod_mono..
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Dvdmandt" <dvdmandt@telia.com> skrev i meddelandet
news:20040922150347.86794.qmail@pb1.pair.com...
> It's not.. It exists in other SAPIs as well unless I'm misstaken (there
was
> discussion on it anyway), including ISAPI which IIS uses unless PHP is
> installed as cgi.. Not sure at all about this though..
>
> --
> // DvDmanDT
> MSN: dvdmandt¤hotmail.com
> Mail: dvdmandt¤telia.com
> "Mikey" <mikey@radius-design.co.uk> skrev i meddelandet
> news:00ee01c49fc9$0bf56150$9e7652c3@pc...
> > virtual is an Apache specific function, and AFAIK they haven't put ASP
> > support into Apache yet. Let's hope they never do ;-)
> >
> > ----- Original Message -----
> > From: "Dvdmandt" <dvdmandt@telia.com>
> > Newsgroups: php.windows
> > To: <php-windows@lists.php.net>
> > Sent: Saturday, September 18, 2004 9:51 PM
> > Subject: Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4
> >
> >
> > > I'd lookup virtual()...
> > >
> > > --
> > > // DvDmanDT
> > > MSN: dvdmandt¤hotmail.com
> > > Mail: dvdmandt¤telia.com
> > > "Trevor Gryffyn" <TGryffyn@air-cargo-inc.com> skrev i meddelandet
> > >
> >
>
news:B97E3961173C4943BF7C722DFE31943D014CD5D0@irmailee1024.root.aircargo.com...
> > > The problem is that the web server looks at the file type and
determines
> > > what to do with it before it sends anything to the web browser.
> > >
> > > Your .PHP file is being sent to a PHP interpreter which outputs
certain
> > > things that get sent to the browser. What's going to happen in this
> > > case is that ASP code is going to be inserted, sent to the PHP
> > > interpreter and nothing's going to happen.... Or if you have your PHP
> > > set up to see <% %> as PHP, then you'll probably get some kind of
> > > unknown function error.
> > >
> > > The reason the .HTM file works ok is that HTML is passed straight
> > > through the PHP interpreter to the browser.
> > >
> > >
> > > What you'd have to do is maybe use an IFRAME (HTML) and put the
poll.asp
> > > in that so the web server is pulling a .ASP file without anything
else,
> > > therefore interpreting it as an ASP file.
> > >
> > > Does any of that make sense?
> > >
> > > -TG
> > >
> > > > -----Original Message-----
> > > > From: Raj Gopal [mailto:GopalR1@wyeth.com]
> > > > Sent: Thursday, September 16, 2004 5:19 PM
> > > > To: php-windows@lists.php.net
> > > > Subject: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4
> > > >
> > > >
> > > > Hi All,
> > > >
> > > > I have included a ASP file in a PHP script as follows
> > > >
> > > > <? include 'poll.asp' ?>
> > > >
> > > > and it does not work!
> > > >
> > > > whereas <? include 'AA.htm' ?> works fine
> > > >
> > > > Appreciate your help for any workarounds or Syntax issues
> > > >
> > > > --
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > > >