Link to home
Start Free TrialLog in
Avatar of neonlights
neonlights

asked on

How facelink.com is created?

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!
Avatar of Zyloch
Zyloch
Flag of United States of America image

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
Avatar of neonlights
neonlights

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of Zyloch
Zyloch
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial