Re: INCLUDE ASP does Not Work! for PHP - 4.3.4
| From: | Phil Driscoll | Date: | Fri, 17 Sep 2004 19:36:45 +0000 |
| Subject: | Re: INCLUDE ASP does Not Work! for PHP - 4.3.4 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-24592@lists.php.net to get a copy of this message | ||
On Thursday 16 September 2004 22:18, Raj Gopal wrote:
> Hi All,
>
> I have included a ASP file in a PHP script as follows
>
> <? include 'poll.asp' ?>
>
> and it does not work!
If you want poll.asp to execute and generate some output for inclusion in the
php script, you could do
<?php
include('http://wherever.example.com/poll.asp');
?>
But make sure that you are in control of poll.asp and that it cannot generate
any dangerous php code.
Cheers
--
Phil Driscoll