Mixing PHP site with ASP

I have a site that was developed in PHP.  I have some functionality in an older site that was written using classic ASP.  My plan is to include some of the ASP pages into the new PHP site.  Is this OK.  Is there any gotchas or anything else I should be aware of.  I am running this on W2K3 Server with IIS.

Thanks
LVL 11
BillPowellAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TeRReFCommented:
It should be fine as long as your server supports both and as long as you call the .asp pages directly. I don't think it's possible to mix both in 1 page...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
reallyethicalCommented:
Calling the pages, seperatly is possible, however clean your code and make sure all php starts with
<?php
not just
<?

Doing includes with ASP is NOT really possible, there are a few 'emulators' avalible, however non that I have tested are worth it, far to buggy.

If it is possible for you, then keep the pages seperate.

Hope this helps

Adam
BillPowellAuthor Commented:
Im not sure what you mean.  Several of my asp pages use includes, but I do not plan to mix php and asp in the same page.  Its only my intention to call asp pages from php and vice versa.
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

reallyethicalCommented:
Thats fine, what i mean is you can't do this

<?php

include_once('somefile.asp');

?>

I know it is silly but people do try that!

Adam
TeRReFCommented:
Then that should not be a problem...
BillPowellAuthor Commented:
Thats what I figured.  Thanks.
TeRReFCommented:
You're welcome :)
reallyethicalCommented:
No problem
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.