Re: <Script language=php???

From: Date: Sun, 27 Oct 2002 23:35:24 +0000
Subject: Re: <Script language=php???
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-16583@lists.php.net to get a copy of this message
Jason, I know there is no restriction on using <script language=php> (I used to do that all the time) but can ASP break out of script into plain html like php can?? If so, is that the way? Break out of asp %> - then start php <?php do something ?> - then back into asp <% I know very little about asp so I might be talking through my hat here. Imagine php and asp working together - a bit like the big bad wolf and little red riding hood having an affair! CD ----- Original Message ----- From: "Jason Porembski" <jporembs@optonline.net> To: "'Dash McElroy'" <php@l1te.net> Cc: <php-windows@lists.php.net> Sent: Sunday, October 27, 2002 12:56 PM Subject: RE: [PHP-WIN] <Script language=php??? > 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: php-windows@lists.php.net > 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 > >

« previous php.windows (#16583) next »