This is a discussion on "client login script?" within the PHP Forum section. This forum, and the thread "client login script? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
client login script?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
client login script?
Hi,
Apologies, if this is not in the right forum for this. I would like to put a client login script on a webpage that when the client enters their username and password, they are automatically directed to their own corresponding folder in the public_html directory of my ftp server. Is this at all possible? If not, does anybody have any suggestions on the best way to set up such a client login without needing to acquire specific software to do the job? Thanks for your time |
|
|
|
|||
|
I assume you have no previous coding experience? If not then this could be a problem as it sounds like quite a specific problem...
|
|
|||
|
you are quite correct to assume that, but i'm quite a quick learner and just need to be shoved in the right direction.
Is what i require possible to do? |
|
|||
|
Yes what you hope to achieve is possible. You need some kind of database format (MySQL, Oracle etc) to store all your client information in. You then use a server side scripting language like PHP or ASP to make a connection to the database and retrieve the correct login info when data is submitted from a client.
I would recommend you use something PHP/MySQL. There are many tutorials scattered around the internet (its to much to explain here) that can help you. Just do a search for "account system in PHP", "membership system in PHP", "sessions PHP" etc. :wink: |
|
|||
|
You could make it really simple:
Sheeps |
|
|||
|
I spend a lot of my time teaching newcomers to PHP (and other languages) who have requirements such as the one described here. A small proportion of bright and determined people can pick up PHP and MySQL from books (and prior knowledge of some other programming language helps), but the majority prefer to learn in some sort of mentor or job placement, or on a course. From what you describe you want to do, it seems very practical (there may be a devil in the detail of the specification though ... your description is quite brief) and it wouldn't take too long for an experienced programmer. For a newcomer, it would take an order of magnitude more time though.
I'm concerned at "Sheepymot"'s suggestion; I guess he/she's assuming that register_globals is on and there's a form with an entry box named userlogin. All sorts of potential security holes (starting with users entering ../ as their name) come to mind ... just as starters. |
![]() |
| Tags |
| client, login, script |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| login script | mbarr | Databases | 13 | Mar 12th, 2008 03:39 |
| Client Management Script for Designers - Request Features! | e39m5 | Webforumz Cafe | 6 | Apr 30th, 2007 02:34 |
| login script help | Aaron1988 | PHP Forum | 2 | Oct 25th, 2006 15:03 |
| login client automatically to https website | minnie | ASP.NET Forum | 1 | Jul 30th, 2006 18:15 |
| PHP Login script advice | chimp | PHP Forum | 1 | Dec 21st, 2005 17:16 |