View Full Version : Asp + Php?
EJMack
01-19-2002, 05:30 AM
is there anyway to combine asp and php?
Mark Hensler
01-19-2002, 04:34 PM
Not in the same file. If your server supports both, than you could execute one with the other. Similar to including PERL scripts in you PHP pages.
EJMack
01-19-2002, 05:02 PM
how do you execute perl scripts in php?:)
tbloom2002
01-19-2002, 05:41 PM
couldnt you do...
include "file.asp";
? hehe.. probably not.. I suck at these things, hehe.
Scott MacVicar
01-19-2002, 05:47 PM
<?
exec("perl /path/to/perlfile.cgi > /dev/null'");
?>
thats for unix
for Win32
<?
exec("C:\perl\perl.exe c:\www\perlfile.cgi");
?>
Scott MacVicar
01-19-2002, 06:00 PM
its stripped all the / from the windows paths, i hope everyone realises that.
Lesane
02-06-2002, 09:12 PM
Originally posted by EJMack
is there anyway to combine asp and php?
There is an option in php.ini:
; Allow ASP-style <% %> tags.
asp_tags = Off
Mark Hensler
02-07-2002, 05:19 AM
That just allows for the open/close tags, it still doesn't interpret VBScript.
Lesane
02-07-2002, 07:11 AM
Yes, thats tru
EJMack
02-07-2002, 01:18 PM
so i take it there is no way to do this?
Scott MacVicar
02-07-2002, 02:06 PM
i posted on how to execute perl in php, though asp is a different matter.
malayneum
02-09-2002, 11:13 AM
i dont understand why would you want to execute ASP script with PHP ? PHP isnt enough for you or you cant make a script in PHP that work like that ASP script ?
anyway .. you can run ASP with PERL i think ... thats known as Apache :: ASP ... or something similar that :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.