RE: [PHP-WIN] Having PHP inside of ASP using the #include VIRUTAL = directive??

From: Date: Mon, 30 Jul 2001 12:33:36 +0000
Subject: RE: [PHP-WIN] Having PHP inside of ASP using the #include VIRUTAL = directive??
Groups: php.windows 
Request: Send a blank email to php-windows+get-8563@lists.php.net to get a copy of this message
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:admin@kevincostain.com] Sent: Sunday, July 29, 2001 12:16 AM To: php-windows@lists.php.net 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: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#8563) next »