Monday, August 3, 2009

Web site login/payment?

http://www.flickr.com/photos/sunburntkam...



I need a login table or plugging what ever you call it for my site I am making my site through %26quot;Ewisoft Website Builder%26quot;



I have already set up everything and now I need to put up a login the site is not launched yet



I also am trying to restrict parts of my site until they pay accesses to certain pages then when they login it will recognize they have paid what can I do.



Web site login/payment?





you need to use dynamic language for it like asp, asp.net, or PHP and also database. you can use session to control visitors clicks and actions.



How it works, you create an form and when user submit it, it goes to database user table and check whether valid user or not. if yes. you define and session and then you check which pages that user can see from database photo table with that session.



Sessions are valid through all pages in your website.



for example, create an photo table and it keeps userid, photoid. session keeps userid and current page gives photoid. then check it from database. if there is that userid and photoid, it means user can see that page, if not, user cant see that page.

No comments:

Post a Comment