Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Sep 2010
    Thanked 0 Times in 0 Posts

    asp.net membership api with PHP

    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!

  2. #2
    Regular Coder
    Join Date
    Apr 2009
    Thanked 20 Times in 20 Posts
    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.



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts