Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
How to make a members login Page?
Old 04-27-2009, 10:19 AM How to make a members login Page?
Average Talker

Posts: 21
Trades: 0
Hi,
I wanted to make a system where My members can actually get their own Web-Page after they register through my website.

something like this : abc.com/member1

can you guys assist me?

Thanks a Ton!
__________________
Webhosting-10.com
The
Please login or register to view this content. Registration is FREE
Place |
Please login or register to view this content. Registration is FREE
(Under Construction)
+ We Jumped To a PR 4 This Update +
Webhosting-10 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-28-2009, 11:38 AM Re: How to make a members login Page?
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
You're probably going to need a combination of PHP and mySQL. That's how I would do it, and I'm pretty sure that's how abc.com does it.

Use the PHP to handle the login and registration. It would check all the login attempts with the mySQL database, and if the user's details matched one of the database's combinations, PHP would forward the user to a dynamically created page that held their special info, which also would ideally drawn from the database. Simple enough.

No doubt a google search with something like 'php login' would bring up a lot of helpful results.

http://www.google.com/search?ie=UTF-...=1&q=php+login

- Steve
__________________
if($stevej == "helpful") { $talkupation += $user_power; }
stevej is offline
Reply With Quote
View Public Profile
 
Old 04-28-2009, 10:52 PM Re: How to make a members login Page?
nayes84's Avatar
Extreme Talker

Latest Blog Post:
Difference between ASP And JSP
Posts: 232
Name: John
Location: Tokyo
Trades: 0
there are many languages and ways you can do that

for example you can use php and mysql
http://www.roscripts.com/PHP_login_script-143.html

or asp with access database
http://www.go4expert.com/forums/showthread.php?t=1237

or even you can make different directories one for each user and make it password protected using htaccess
http://www.htaccesselite.com/basic-a...mple-vt17.html

it depends on what you acually need
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

if(I'm("Helpful")) Add_Talkupation("nayes84");
nayes84 is offline
Reply With Quote
View Public Profile
 
Old 04-30-2009, 07:02 AM Re: How to make a members login Page?
Average Talker

Posts: 21
Trades: 0
Thanks for the Information Steve & Naves
Assumed That I'v done the php part and now my website can support a Login function,Is there a way where the Login Page(mysite.com/member1) can be viewed publicly(through search engines & Stuff) and also Is there a way where a common Template can be used on all the Dynamically created pages.

thanks Guys!
__________________
Webhosting-10.com
The
Please login or register to view this content. Registration is FREE
Place |
Please login or register to view this content. Registration is FREE
(Under Construction)
+ We Jumped To a PR 4 This Update +
Webhosting-10 is offline
Reply With Quote
View Public Profile
 
Old 04-30-2009, 09:37 AM Re: How to make a members login Page?
nayes84's Avatar
Extreme Talker

Latest Blog Post:
Difference between ASP And JSP
Posts: 232
Name: John
Location: Tokyo
Trades: 0
your site can get searched by google and yahoo etc.. when it is indexed either through crawling it from other websites linking to you or when you submit your site to search engines one by one. normally it takes from one week to few months to get your site listed.

Quote:
and also Is there a way where a common Template can be used on all the Dynamically created pages.
yes you can use template engine to do that for you.
one of the most famous free one is smarty templates. it is really powerful. even used in many of the big content management systems
you can download it and get more information about it from here
http://www.smarty.net/
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

if(I'm("Helpful")) Add_Talkupation("nayes84");
nayes84 is offline
Reply With Quote
View Public Profile
 
Old 05-02-2009, 07:44 PM Re: How to make a members login Page?
kcmartz's Avatar
Super Talker

Latest Blog Post:
~Gri to Kcmartz~
Posts: 120
Name: Kenson
Location: Washington, USA
Trades: 0
and what if you do not have access to a mysql database yet?
__________________
Thanks,

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
for problems/site.
kcmartz is offline
Reply With Quote
View Public Profile Visit kcmartz's homepage!
 
Old 05-02-2009, 09:04 PM Re: How to make a members login Page?
nayes84's Avatar
Extreme Talker

Latest Blog Post:
Difference between ASP And JSP
Posts: 232
Name: John
Location: Tokyo
Trades: 0
Quote:
Originally Posted by kcmartz View Post
and what if you do not have access to a mysql database yet?
didn't get your point but if you are talking about templates engine. smarty templates doesn't need database. it just require a writable directory for generating and storing compiled php/html templates.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

if(I'm("Helpful")) Add_Talkupation("nayes84");
nayes84 is offline
Reply With Quote
View Public Profile
 
Old 05-05-2009, 01:29 PM Re: How to make a members login Page?
kcmartz's Avatar
Super Talker

Latest Blog Post:
~Gri to Kcmartz~
Posts: 120
Name: Kenson
Location: Washington, USA
Trades: 0
Quote:
Originally Posted by nayes84 View Post
didn't get your point but if you are talking about templates engine. smarty templates doesn't need database. it just require a writable directory for generating and storing compiled php/html templates.
Ok, but those are usually "Premium" on template websites and you have to pay for them, could you point me to a tutorial for making a website w/o a database (I think I have one, but dad hasn't told me the password yet), I would like a login that connects to my phpBB forum when I get it, so you are already logged in to the forum if you sign up on the main site (also like: http://forums.g4tv.com/ | connects to the main website, http://g4tv.com)
__________________
Thanks,

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
for problems/site.
kcmartz is offline
Reply With Quote
View Public Profile Visit kcmartz's homepage!
 
Old 05-08-2009, 12:28 AM Re: How to make a members login Page?
nayes84's Avatar
Extreme Talker

Latest Blog Post:
Difference between ASP And JSP
Posts: 232
Name: John
Location: Tokyo
Trades: 0
Quote:
Originally Posted by kcmartz View Post
Ok, but those are usually "Premium" on template websites and you have to pay for them,
smarty templates has GPL license so you can use it for free.

Quote:
could you point me to a tutorial for making a website w/o a database
it is not that hard. you just need to use files to store your data instead of using database.
you can make a separate file for each type of data. like file for members, file for orders, file for products, etc...
you can make your own the files structure and your own way to store your data. there is no certain rules for that.
for example you can store data in a comma separated form or in tab separated form.

I had googled for some tutorials. and found some tutorial for building a file based login system
http://www.phptoys.com/e107_plugins/...php?content.35
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

if(I'm("Helpful")) Add_Talkupation("nayes84");
nayes84 is offline
Reply With Quote
View Public Profile
 
Old 05-08-2009, 11:19 AM Re: How to make a members login Page?
NewBreed's Avatar
Extreme Talker

Posts: 223
Name: Johnny
Location: Washington
Trades: 0
While text files are a good substitution in this case, you really should be using a database. MySQL really isn't hard if that's what is holding you back. You can always get a GUI tool like PHPmyAdmin to do all the syntax for you.
__________________
"The only thing that interferes with my learning is my education." -Albert Einstein
NewBreed is offline
Reply With Quote
View Public Profile
 
Old 05-08-2009, 11:27 AM Re: How to make a members login Page?
nayes84's Avatar
Extreme Talker

Latest Blog Post:
Difference between ASP And JSP
Posts: 232
Name: John
Location: Tokyo
Trades: 0
Quote:
Originally Posted by NewBreed View Post
While text files are a good substitution in this case, you really should be using a database. MySQL really isn't hard if that's what is holding you back. You can always get a GUI tool like PHPmyAdmin to do all the syntax for you.
completely agree you should use database if possible. if you are using files you can have compatibility problems if you moved your site to some where else. besides if you have large data, like some millions of records you will need to use database. because using files will make it quite troublesome to search or modify some data in a 2 GB file.

Actually database are just files but they got optimized and structured in the way you can handle your data easily.
so if it is possible to use database, why you reinvent the wheel by using files
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

if(I'm("Helpful")) Add_Talkupation("nayes84");
nayes84 is offline
Reply With Quote
View Public Profile
 
Old 05-10-2009, 06:49 AM Re: How to make a members login Page?
Junior Talker

Posts: 3
Trades: 0
Quote:
Originally Posted by Webhosting-10 View Post
Thanks for the Information Steve & Naves
Assumed That I'v done the php part and now my website can support a Login function,Is there a way where the Login Page(mysite.com/member1) can be viewed publicly(through search engines & Stuff) and also Is there a way where a common Template can be used on all the Dynamically created pages.

thanks Guys!
Ok, here's what I'd do. Use php to get user registration and add them to a mysql database with only their user name password and an id. Then, when the user logs in, I'd use http to call their website like : www.example.com/1234. That is of course, the registration php will create a page with their id in the url. Each personal page will parse a specific XML page using jscript to be displayed via a template. This means that the actual personal page will simply be a template, and any part that requires dynamic updates from the user will be controlled by the external XML page (and it's wise to use XSLT to style it) and dynamically updated using jscript.

It sounds hard, but it actually is. The only problem that you (and me) will find is that browsers treat XML differently. And Google Chrome and Safari may not parse the XML at all (like the w3schools tutorials). But this is probably the most efficient way to do it.

Quote:
Originally Posted by kcmartz View Post
Ok, but those are usually "Premium" on template websites and you have to pay for them, could you point me to a tutorial for making a website w/o a database (I think I have one, but dad hasn't told me the password yet), I would like a login that connects to my phpBB forum when I get it, so you are already logged in to the forum if you sign up on the main site (also like: http://forums.g4tv.com/ | connects to the main website, http://g4tv.com)
If you can actually edit the actual code of the forum, then here's what you do. You see where the forum saves the database. Then you call the same database when you make your actual website like what I've stated above. You must change the forum registration code to also make a personal page like i've stated above, unless you don't want a personal page, so it depends on what you want to do. But the gist of it is to just call the database that your forum uses.

Last edited by ThisNewGuy; 05-10-2009 at 06:54 AM..
ThisNewGuy is offline
Reply With Quote
View Public Profile
 
Old 05-14-2009, 12:29 PM Re: How to make a members login Page?
Banned

Posts: 315
Name: Doug
Trades: 1
Sorry to jump in here, but I am wanting to do something along the lines of the original user, except a little more complicated.

I need to create an environment where EVERYTHING is readable by anyone but they can only post if they become a member, similar to what happens on this board.

But, I am working with four different domains. I need them to be able to login on one and have access to the rest. Plus with login they need to have access to
1. Multiple Blogs
2. Forums
3. A Buy Sell Script
4. An area where they can create their own personal page.
5. A calendar of events
6. Other scripts as needed

All of these items will be divided among the four domains along with a ton of general public information.

I had planned to use precanned scripts for much of this, but do not want the users to have to login more than once if possible. Why? Because they are paying for this membership so the membership script must interface with Paypal.

I've been looking at the possibility of using one of the Content Management interfaces too but it would not be my first choice.

I need two things.

1. Suggestions of which scripts I can use to accomplish this, (free if possible)
PHP is my preferred medium but I hear is stinks on multi-user management.

2. Someone who would be willing to be available for questions as I need them
answered. I would be willing to pay a reasonable fee.

Please email me directly.
marketingman100 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to make a members login Page?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43456 seconds with 12 queries