Solved

How facelink.com is created?

Posted on 2004-04-20
3
206 Views
Last Modified: 2006-11-17
Hi everyone,

I have a basic question about facelink.com. for example when If I become a member there, they will give me my page: www.facelink.com/xxxxmyname

Does this page database driven? do they create a separate page for each account? if so, how do they create it? using what language? I know these are easy questions...but, I am wondering....

Because, someone asked my opinion to create a site like this...but I do not know much about it...so...I thought I can ask EXPERTS!.

she would like to have
(1) members login
 she probably going to charge them...so, security concern.
(2) prefer Language? ASP?
(3) database?

If I am not clear, please ask me....

Thanking you inadvance...

Cheers!
0
Comment
Question by:neonlights
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 36

Expert Comment

by:Zyloch
ID: 10875546
I believe that Facelink.com uses ASP although they may use scripts in other languages like Perl to process the information. I have never personally made one of these large sites (probably cause I'm just too lazy *sigh*) but I believe that they make a separate file for each visitor. Either they do that, or a default script takes care of it whenever www.facelink.com/xxxxmyname is called.

As for her site, I would either suggest ASP or PHP. Both seem pretty secure, and I know PHP is secure. I, however, advise strongly against using CGI, especially Perl CGI [most common], as your language of choice because of so many security holes that you need to be an expert to fix. I have no experience with JSP, but I still recommend either ASP or PHP.

For a members login, you would need to have a database, (I would use PHP on an Apache server with MySQL for its simplicity). When you charge the visitors, they would probably go to a PayPal site or something similar. The registration and login is not difficult. For registration, you would just need to first create the tables in the database, then when the users click the submit button to register, validate all the fields with Javascript or your language of choice, and then input the fields in the form, maybe send a validation key by email, and send them to the login page.

To login, all you would need to do is to validate username and password and then set a session id.

Note that when your visitors register, you should encrypt their password, possibly with CRYPT_MD5 encryption. This should be unbreakable 99% of the time. Then, when the visitors login, encrypt their password then compare with the database. However, crypt() is only one-way and so if the user forgets the password, you would have to reset it.

The database you use largely depends on the language you choose. However, some that come to mind are MySQL, SQL Server, PostgreSQL among others. Many of these are free and you can download them from the net.

This is just a guideline for you to follow. If you have any questions on it, please feel free to ask.

--Zyloch
0
 

Author Comment

by:neonlights
ID: 10878670
Hi Zyloch, Thank you very much for your advice.

1)  "would either suggest ASP or PHP. Both seem pretty secure, and I know PHP is secure.:"
will be using ASP (VB.Net) since familiar with VB 6

2) "For a members login, you would need to have a database, (I would use PHP on an Apache server with MySQL for its simplicity). "
So, that is means that I can use Php, and ASP together in one page? is that correct?
If I want to run PHP what do I need? (create php files and run it)
Does MySql, Apache, PHP all free? Can run on Windows Xp (HOME)
If they are free is any chance you know the links?

3)"Note that when your visitors register, you should encrypt their password, possibly with CRYPT_MD5 encryption"
Is it language or tool? where should I get that?

I know I am asking lots...LOL

Thanks Zyloch
0
 
LVL 36

Accepted Solution

by:
Zyloch earned 500 total points
ID: 10882188
Well, I'm more into PHP, but I don't think you can use PHP and ASP in one page together. PHP and ASP are totally different languages. I'm not too familiar with ASP, I've just decided to start learning it, but I suppose I might be able to help you with the structure of your page.

From what I understand, crypt() is a function in Perl and PHP that is one-way encryption with very little chance of decryption.

I do not know if there is a crypt() function in ASP, but this page should help with one way encryption:

http://www.freevbcode.com/ShowCode.asp?ID=2565

Two-way encryption allows the password to be decrypted. This can be found easily by searching on google.com. Just type in simple encryption and you'll see lots of entries on different kinds. I still recommend one-way encryption as you just have to reset the password if the user forgets.

All in all, you either choose PHP or ASP, not both.

---------------------------------------------------------------------------------

However, if you are interested in PHP, you can download php  for free at http://www.php.net/downloads.php.

Apache is a free server that can be used to run PHP. It may also work for ASP. If you download Apache, it means that you can test your php scripts locally; good for dialup users.

Apache is at http://httpd.apache.org/download.cgi.

MySql is a free database that is easy to use especially with PHP. It is at http://dev.mysql.com/downloads/.

If you need more help, please post. Good luck :)

--Zyloch
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Html using "Or" in condition 3 38
Validating number not work with decimal 4 42
Geolocation works...sometimes 2 34
Slow Down an Animation 3 25
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question