View Full Version : asp.net membership api with PHP

09-23-2010, 01:03 PM
Hi guys,

Fairly new to this so go easy ;-)

Just looking for some general advice really. I'm currently creating a front end system to integrate with a back end system that someone else has created. My front end system just consists of a website, a sign up form where customers can register. This is integrated with our payment partners and is done through PHP (this is the language I know best). Up until now, I have not seen the back end, so I have been using a mysql database to test my scripts etc.

So now I'm at the point where I need to update the database at the back end in order to set up the user accounts. Silly me for thinking this would just be as simple as using an insert statement. The backend is done in asp.net c# and uses sql server. In order to create new users, the guy who wrote the backend uses the asp.net membership api. This creates the user but also creates a LOT of tables in the database.

Does anyone know how I should go about integrating these two? Is there anything I can use PHP-wise that will work with the asp.net membership api?

Any advice is appreciated!

09-23-2010, 05:14 PM
Hey t-bag,

Here is an article that pretty much describes what I was thinking (when inside, go into that top link as well):

In a nutshell, the idea is this: You create a COM compatible .NET "wrapper" class library using that Membership API, and then you reference it inside your PHP code.

I believe this is the only way you'll be able to intergrate the two, otherwise, as George Carlin used to say, you're SOLJWF. Aside from that, I just want to comment that it's probably not a good idea to start intergrating PHP and .NET like that. I would just pick a platform and stick to it, otherwise you might be setting yourself up for a big fall.