Click to See Complete Forum and Search --> : php as a asp language??
I am currently working for a company that uses PHP/MySQL web apps to power many of their websites. They are exploring a partnership with another company that uses strictly ASP to script all their pages. It may be a bit of a stretch here, but I was wondering if PHP could be used as a language for the ASP environment? My C/C++ and VBscipt is a bit rusty and I prefer PHP. Thanks for any help.
vincente
07-09-2001, 12:41 PM
What exactly did you have in mind?
I would like to use PHP instead of, for instance, VBscript when working on ASP files.
why don't you just add a @LANGUAGE="PHP" and like, I dunno, just TRY it?
I already tried that one, but thanks for the input.
toma42
07-13-2001, 11:24 AM
Well, the sneeky way to do it would be to associate .aspp (pulled extension out of my butt) pages with php and set
asp_tags=On ; allow ASP-style <% %> tags
in the ini file.
This will totally screw with the VB programmer that tries to modify your code, however.
The key here is "language for a ASP environment"
I don't believe so - Active Server Pages can work with any **ACTIVE X** Scripting Language
which, to my admittedly limited knowledge, rules out PHP. however, http://www.activestate.com 's ActivePerl works fine, as long as it's installed on the server ;)
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.