fshost
05-28-2003, 06:24 PM
If I have a box where users can enter their name, password, and then click the submit button, is there any program/script that will automatically enter all information in the MSIE box that will pop-up next, and hit the submit for them?
worldhive
05-28-2003, 06:35 PM
Not as far as I know, but you can keep that dialog from popping up to begin with using PHP (or any other language, but you then need to set headers by hand). See this document for more info:
http://www.php.net/manual/en/features.http-auth.php
--Paul
tbnguyen
06-02-2003, 07:15 PM
Sounds like you need a database to check the login against... that way, you can pull up the data and place them into the text boxes. It is like setting up a user profile update/modify module. You can check the net for some PHP or ASP scripts that can do what you need... of course, you will likely need to edit the code.
wintek
06-02-2003, 07:57 PM
Are you trying to do this?
<FORM name="cpanel">
Username:<input name="username" size="14" maxlength="32" >
Password:<input name="password" type="password" size="14" maxlength="32" >
<input name="button" type="button" onClick="location.href='http://' + username.value + ':' + password.value + '@yourhost.com:2082/';" value="CPanel Login">
</FORM>
seiretto
06-05-2003, 12:04 PM
Originally posted by wintek
Are you trying to do this?
<FORM name="cpanel">
Username:<input name="username" size="14" maxlength="32" >
Password:<input name="password" type="password" size="14" maxlength="32" >
<input name="button" type="button" onClick="location.href='http://' + username.value + ':' + password.value + '@yourhost.com:2082/';" value="CPanel Login">
</FORM>
This method should be avoided. Why?
If any of your members browse away from your site using the
same window, either following a link from your members area or
typing in a new url, that new site will know the username and
password from the referrer in the new sites logs!
We provide a free tutorial on creating a PHP and MySQL members area here:
http://www.thedemosite.co.uk/
This provides a guide on the basics
- by the end of July we should have completed the new freeware
application tds-autoMembersArea, which will create all you require.
debug
06-05-2003, 09:25 PM
http://www.widexl.com/cgi_scripts.html