Web Page Log in function

General software, Operating Systems, and Programming discussion.
Everything from software questions, OSes, simple HTML to scripting languages, Perl, PHP, Python, MySQL, VB, C++ etc.
Post Reply
User avatar
Pettos
Regular Member
Posts: 251
Joined: Mon Oct 16, 2006 12:35 am
Location: Sydney

Web Page Log in function

Post by Pettos »

Hey guys,

It's been too long. A story for another day is what's been happening since we last spoke...

So in january I left my job, and am back at TAFE (college) studying screen and media... I am also starting out on my own as a freelance video editor/cameraman/web developer/ multimedia dude.

Now I have a client which is a long-time friend of my dad's, so I'm doing this for mates rates... Now my problem is, he currently has a website, which he wants to rebuild... That's cool, i can do that... But he wants a log in function for his clients to log in and access their files, download and/or upload files...

I have no idea when it comes to data bases and things like... So pretty much I need a crash course on data bases...

I have been doing some research and found that mysql and phpmyadmin are the best for it... I then spoke to my brother who suggested "You're better off using the security built into the webserver (.htaccess files) than SQL, because SQL and PHP both run on top of an existing webserver, and are both unsecured protocols (read up on 'SQL injection')."

Thanks in advance guys.

- Pete
:thumb:
User avatar
Pettos
Regular Member
Posts: 251
Joined: Mon Oct 16, 2006 12:35 am
Location: Sydney

Post by Pettos »

... No ideas?
:thumb:
User avatar
TonyT
SG VIP
Posts: 10356
Joined: Fri Jan 28, 2000 12:00 am
Location: Fairfax, VA

Post by TonyT »

No need for database logins for small sites. Just password protect the dir with htaccess and htpasswd.
http://www.colostate.edu/~ric/htpass.html
No one has any right to force data on you
and command you to believe it or else.
If it is not true for you, it isn't true.

LRH
Post Reply