I'm not sure about calling a PHP page from an ASP page, but I have called a PERL-based
cgi from a php using the php include function. The only thing I had to do was include
the file using a full url instead of just the relative filename.
Example:
<? include("http://myserver.com/cgi-bin/includeme.cgi") ?> //CORRECT
<? include("cgi-bin/includeme.cgi") ?> //WRONG
In the wrong version, the contents of the CGI would be included rather than the output.
More info:
http://www.php.net/manual/en/function.include.php
http://www.php.net/manual/en/features.remote-files.php
-----Original Message-----
From: Kevin Costain [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 29, 2001 12:16 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Having PHP inside of ASP using the #include VIRUTAL=
directive??
Hello,
I was wondering if anyone had done this before, i would like to add a
counter to a page that is asp and use the asp directive #include VIRUTAL=
to include say, count.php and treat this as php script. Has anyone tried
this? Is there a way to run PHP from within ASP itself ?
Thanks,
Kevin Costain
===============================
KCTS: http://www.kevincostain.com
416-463-6655
===============================
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]