No definetly not in the same file. But this is the current problem that
I am facing. We are in the midst of putting ads on our sites. (I know I
know no popups thankfully =) ) Fortunetly those ads use PHP and most of
our sites are run with PHP very tightly except ONE. The admin of that
page refuses to use PHP and is in love with ASP. I need to run some PHP
code from within ASP. How can this be done? My first idea was to use
<!--#exec cgi="filename.php" --> but I noticed that ASP doesn't parse
that. Any ideas?
-----Original Message-----
From: Dash McElroy [mailto:php@;l1te.net]
Sent: Saturday, October 26, 2002 9:46 PM
To: Jason Porembski
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] <Script language=php???
I just took a look in my php.ini file and I didn't see any restrictions
about the <script language="php"> syntax. Is this syntax in a .php (or
php
parsed) file?
Also, as to executing PHP code in an ASP page, I'm not sure how possible
that is - unless all you need to do is to do an 'include' (if that
works). I'm hoping you don't want PHP and ASP code in the same file...
Good luck.
-Dash
Bureaucrats cut red tape -- lengthwise.
On Fri, 25 Oct 2002, Jason Porembski wrote:
> Hey folks. I am attempting to run PHP code with <script
> language="php"> and it doesn't work. Any ideas as to why and how I
> can fix that? Also what is the best way to run a snippet of PHP code
> in an ASP page? Thanks in advance.
>
> Jason "Gluten Mifflin" Porembski
> http://www.world-gaming.com
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php