x10Hosting Forums

Corporate Free Hosting for the Masses.



Register

Reply
 
LinkBack Thread Tools Display Modes
x10Hosting Member

Join Date: Apr 2008
Posts: 1
Credits: 15
Jimmyjini is on a distinguished road
Quote  
04-16-2008, 06:17 AM
Help with Registeration and Logout and Login

can anyone give me the login,logout and registeration script...
Reply With Quote
Jimmyjini is offlineReport Post
Lord Of The Keys

LHVWB's Avatar

Join Date: Jan 2008
Posts: 1,280
Credits: 9,231
LHVWB is a jewel in the rough
Location: Australia

Send a message via MSN to LHVWB
Quote  
04-16-2008, 05:19 PM
Re: Help with Registeration and Logout and Login

What exactly do you want it to help you do? The easiet option for creating a member system which has those parts to it, would be to use an already created software such as a forum or content management system and then integrate your site into it, by using its member system.

If you are going to use a forum then SMF, is a good free one which has an easy to use 'server side includes' (SSI.php) file for php, which allows you to use a login/logout/register system which is connected to SMF.
Reply With Quote
LHVWB is offlineReport Post
x10 Elder

Xemnas's Avatar

Join Date: Sep 2007
Posts: 809
Credits: 9,624
Xemnas is on a distinguished road
Quote  
04-17-2008, 04:54 AM
Re: Help with Registeration and Logout and Login

I'm not going to give any example scripts, because there just isn't enough room for them and there are already heaps you can find in your preferred search engine. Also, it's relatively easy to code yourself if you know a scripting language (such as PHP) and SQL, and you know how it all fits together. So instead I'll explain the logic behind it, because it's pointless to copy and paste an example if you don't know for yourself what everything does.

User account data doesn't simply pop out of nowhere; it needs to be stored somewhere. This is where the database comes in. You can create a database to store account-related information, divided into smaller groups, or database tables. For instance, you may have one table store usernames and passwords, another for user profiles etc.

However, the database itself is useless if there's no data to store in the first place. This is where registration comes in; users come to a page where they are asked to give a username and password, along with any other tidbits you want to collect. You'll need to protect against malicious input by only accepting anything you know is clean, and you many also wish to keep spambots at bay by implementing a system whereby a user must confirm their registration by email. When the form is submitted, it is stored in the database, ready for access.

Finally, once the user has created an account, they'll need a way to access their data. To do this, there needs to be a way to verify that the data they want is in fact theirs. This process, logging in, is usually done on the home page, and requires a user to fill in their username and password. Once this is submitted, it is checked to make sure it's harmless, and is verified against the database information. If the submitted login data perfectly matches something in the database, it is accepted and the user is logged in, able to view and/or modify their data. Otherwise, the user is denied entry.

So in short: you create a database and tables to store data, make a registration page to collect it, and a login page to access it - storage, collection, access.
__________________

Last edited by Xemnas; 04-17-2008 at 04:57 AM.
Reply With Quote
Xemnas is offlineReport Post
Account Manager

sohailamir52's Avatar

Join Date: Sep 2007
Posts: 2,796
Credits: 1,302
sohailamir52 has a reputation beyond repute
Location: Dubai, UAE

Quote  
04-17-2008, 08:24 AM
Re: Help with Registeration and Logout and Login

It wouldn't be easy, especially with the little amount of detail you have given, you could try searching on hotscripts.com and you might be lucky enough to find the script that you require but it isn't that simple (Seeming that you're a noob) as you have to set up MySQL databases, edit scripts, and then you have to implement them into your site and create various interfaces to get everything to math.

I would suggest that you create a thread in The Marketplace asking someone to do all this for you and offer credits for it. That way you would probably get more attention.
__________________

SohailTech MANAGER/X10 MODERATOR
•NEED DESIGNING SERVICES/ADVERTISING? CLICK HERE
•PLEASE DO NOT PM ME OR ANY OF THE STAFF FOR HELP
•CLICK THE TO GIVE ME REP

NEED HELP?
SERVER STATUS - INSERTING ADS - PHP PROBLEMS? - HOW DO CREDITS WORK? - x10 COMMANDMENTS - TERMS OF SERVICE - MARKETPLACE RULES
Reply With Quote
sohailamir52 is offlineReport Post
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 05:48 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC7
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

Credit Card | eBay | Credit Cards | Credit Card | Loans