Go Back   CodingForums.com > :: Server side development > ASP.NET

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-23-2010, 12:03 PM   PM User | #1
t-bag
New Coder

 
Join Date: Sep 2010
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
t-bag is an unknown quantity at this point
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!
t-bag is offline   Reply With Quote
Old 09-23-2010, 04:14 PM   PM User | #2
Mike_O
Regular Coder

 
Join Date: Apr 2009
Posts: 244
Thanks: 1
Thanked 20 Times in 20 Posts
Mike_O is an unknown quantity at this point
Hey t-bag,

Here is an article that pretty much describes what I was thinking (when inside, go into that top link as well):
http://bytes.com/topic/asp-net/answe...et-dll-php-asp

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.

Regards,
Mike
Mike_O is offline   Reply With Quote
Reply

Bookmarks

Tags
asp.net, csharp, membershipapi, php

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:30 AM.


Advertisement
Log in to turn off these ads.