adam84 Posted October 26, 2006 Share Posted October 26, 2006 i have a website and my problem is that when the user clicks a link, the system opens up a new window that uses basic authorization (network password). i was wondering if there a way so that when the user clicks on the link, i could send in their username and password to the window and all they have to do is click accept. thanks Link to comment https://forums.phpfreaks.com/topic/25122-password-problem/ Share on other sites More sharing options...
vbnullchar Posted October 26, 2006 Share Posted October 26, 2006 <Script Language="JavaScript"> function load() { var load = window.open('result.php','','scrollbars=no,menubar=no,height=200,width=400,resizable=no,toolbar=no,location=no,status=no'); } function suggest() { var load = window.open('suggest.php','','scrollbars=no,menubar=no,height=320,width=320,resizable=no,toolbar=no,location=no,status=no'); } // --> </Script>the link - <a href=javascript:load('result.php?username=yoshi') > Link to comment https://forums.phpfreaks.com/topic/25122-password-problem/#findComment-114583 Share on other sites More sharing options...
mb81 Posted October 26, 2006 Share Posted October 26, 2006 If you are using authentication using the file system, I don't believe their is any way to send the username via PHP unless you are talking about some sophisticated modRewrite functions in the htaccess file, but even then I don't think it will work. Link to comment https://forums.phpfreaks.com/topic/25122-password-problem/#findComment-114593 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.