OldManRiver
12-17-2005, 05:46 PM
I'm looking for a login script to both MySQL and FTP that is 100% javascript.
I find examples of all kinds of combos with a little .asp, .php, javascript, even c++ and vb, but have not been able to find one that is 100% javascript.
The javascripts I do find come with no MySQL connection strings, which is critical in logging into MySQL, especially remotely hosted MySQL. Some do not come with authentication, some with/with out cookies, etc. In other words I can not find a 100% all inclusive, this is how you do it, javascript example.
I'm trying to use the UID and PWD from the screen and authenticate it in the MySQL, as I am predefining the users there. Right now I'm doing this manually through an online MySQL admin page, but want to replace that with an admin page specifically design for my admin of new users.
The FTP part I'm referring to are settings in the MySQL database which can/are retreived once the user has a succeful login and then allows the user to FTP to a secure area.
Hope someone has such an example or can help me walk through what I need here so I can finish writing my script. I am uploading my .js and .html files, though they are not finished, so you can see where I'm at. I know java, from the code/syntax but still have trouble with the calls, relationship, classes, etc., so need some coaching.
Thanks for all your help, it is appreciated.
OMR
I find examples of all kinds of combos with a little .asp, .php, javascript, even c++ and vb, but have not been able to find one that is 100% javascript.
The javascripts I do find come with no MySQL connection strings, which is critical in logging into MySQL, especially remotely hosted MySQL. Some do not come with authentication, some with/with out cookies, etc. In other words I can not find a 100% all inclusive, this is how you do it, javascript example.
I'm trying to use the UID and PWD from the screen and authenticate it in the MySQL, as I am predefining the users there. Right now I'm doing this manually through an online MySQL admin page, but want to replace that with an admin page specifically design for my admin of new users.
The FTP part I'm referring to are settings in the MySQL database which can/are retreived once the user has a succeful login and then allows the user to FTP to a secure area.
Hope someone has such an example or can help me walk through what I need here so I can finish writing my script. I am uploading my .js and .html files, though they are not finished, so you can see where I'm at. I know java, from the code/syntax but still have trouble with the calls, relationship, classes, etc., so need some coaching.
Thanks for all your help, it is appreciated.
OMR