Re: INCLUDE ASP does Not Work! for PHP - 4.3.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux