PDA

View Full Version : Mixing asp with php - user permissions


LaserSailor
04-10-2010, 05:11 PM
I am new to this, so this is probably a basic question. Can php and asp be mixed in the same website. Example would be using asp to connect to a mysql database and using php in forms to collect contact information from users and email it to me.

You might react by saying "why would you want to do this, just use one or the other" and it may be a good question, but I am just trying to figure out the basics of this whole thing.

edbr
04-11-2010, 01:54 AM
there is absolutely no reason to ues both even if a server could process both

LaserSailor
04-11-2010, 03:40 AM
If you will bear with me for a moment -----

I believe I have figured out that IIS 7 will be my web server and I will use ODBC 5.1 for connection. I will use MySQL as my back end. However I still am not sure on the php or asp decision.

So my question is - if I set up my test server as shown above, can I create one web page in asp to access the database and another web page in php to access the data base. The reason here would be to have one common database and not have to repeat that effort, but be able to try out asp and php as the front end to see what I am most comfortable with.
Thanks, Greg

davidj
04-12-2010, 01:36 PM
Mate

You are mixing this up with no real focus. ASP and PHP don't live in the same environment.

You have a choice here

ASP and SQL Server (Access)

or PHP, MYSQL

I suspect your going to make this project live one day and you will have to look for a host which matches your configuration. Needless to say you wont find one!.

Bite the bullet and use an AMP environment (Apache, MYSQL and PHP)