Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 1st, 2006, 5:44 AM   #1
raf_123
Newbie
 
Join Date: Feb 2006
Posts: 5
Rep Power: 0 raf_123 is on a distinguished road
Need Javascript Code???

Hi peeps,

When clicking on a link, a new window opens opting for a username and password. Has any1 got the javascript code for this??

Im creating a web-based system, using MySQL and PHP. I need to input the javascript code.

Thanks
raf_123 is offline   Reply With Quote
Old Mar 1st, 2006, 6:05 AM   #2
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
http://msdn.microsoft.com/library/de...sthumbnail.asp

3 secs with Google.
Polyphemus_ is offline   Reply With Quote
Old Mar 1st, 2006, 6:49 AM   #3
.TD
Programmer
 
.TD's Avatar
 
Join Date: Feb 2006
Location: UK
Posts: 36
Rep Power: 0 .TD is on a distinguished road
There should be somekind of punisment for people that haven't even tried to use Google before comming here and asking :p OR better yet, a check box that says "Have you first Googled it?" before you can start a new topic
__________________
Go away before I replace you with a very small shell script.
--
Get FireFox!
.TD is offline   Reply With Quote
Old Mar 1st, 2006, 9:34 AM   #4
raf_123
Newbie
 
Join Date: Feb 2006
Posts: 5
Rep Power: 0 raf_123 is on a distinguished road
funny guy!

anyway thanks
raf_123 is offline   Reply With Quote
Old Mar 1st, 2006, 1:24 PM   #5
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
@.TD and Polyphemus_: I think he was talking about HTTP Authentication prompt.

raf_123: If you're talking about something that looks like the image below this, it can't be done in JavaScript (unless M$ has some control for it, which i doubt)... only the server can prompt the browser to open it up via an HTTP 401 response. For more info: (Google for .htpasswd for apache) or ( http://us3.php.net/features.http-auth for php).

__________________

tempest is offline   Reply With Quote
Old Mar 2nd, 2006, 6:12 AM   #6
raf_123
Newbie
 
Join Date: Feb 2006
Posts: 5
Rep Power: 0 raf_123 is on a distinguished road
Thanks tempest.........

Exactly what i wanted....

User and Password window
raf_123 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:37 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC