Current location: Hot Scripts Forums » Programming Languages » PHP » Uhh...Can you use Javascript to make a login page/register? Would it run by itself???


Uhh...Can you use Javascript to make a login page/register? Would it run by itself???

Reply
  #1 (permalink)  
Old 06-02-04, 08:43 PM
fusion fusion is offline
Newbie Coder
 
Join Date: May 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Uhh...Can you use Javascript to make a login page/register? Would it run by itself???

Please help
Reply With Quote
  #2 (permalink)  
Old 06-02-04, 08:44 PM
Eclipse's Avatar
Eclipse Eclipse is offline
Coding Addict
 
Join Date: May 2004
Location: Long Island, New York
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
in short, no, you need some sort of server side scripting like perl or php
Reply With Quote
  #3 (permalink)  
Old 06-04-04, 07:47 AM
Apoc's Avatar
Apoc Apoc is offline
Newbie Coder
 
Join Date: Apr 2004
Location: UK
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Yep you can. I have created a page using javascript and VBScript in a normal page to write to files and DB. Fact is though doing it this way
a. means all the files / code is viewable.
b. anyone can view the logins / passwords / details etc.

So yes you can but i wouldn't recommend it. For me it was a small work app to represent a chat page. It uses the work pc's login name and logs number of users online, and lets them post comments to a DB using DOA or is that DAO anyway.. lol.
__________________
-
< ? $Apoc ? >
-

If it aint broke, let Apoc fix it for you.

If all else fails, hack it until it works.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 10:37 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.