![]() |
|
|
|||||||
| For more information about the ads and why they're here, please see the FAQ |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hallo,
i don't want that roundcube ask me to tellhim username and passwort. I want to edit the index.php to go automaticly to the imap account. Any ideas? Greets getmware |
|
#2
|
||||
|
||||
|
Add javascript that submits the form. Add values into the form.
__________________
![]()
|
|
#3
|
|||
|
|||
|
Quote:
![]() |
|
#4
|
||||
|
||||
|
Code:
<form id="login" method="post" action=".as.dnfliwenraslnkaser.php"> <label id="Username">Username: <input type="text" name="user" id="Username" value="myuser@domain.com"/></label> <label id="Password">Password: <input type="password" name="pass" id="Password" value="mypassword123"/></label> </form> Above is just an example.Then you'd use some javascript to submit the form: Code:
<body onLoad="javascript:document.forms.login.submit();">
__________________
![]()
|
|
#5
|
|||
|
|||
|
I'd like something similar to this, but for the form to automatically insert the mail server. I've tried to look for a way to do this. I'm not skilled in this area, but I'm sure one of you can help me with this. Thanks
|
|
#6
|
|||
|
|||
|
why would you want it to insert the server? and why would you want others to be able to logon as you?
i was thinking of adding code to make a cookie remember your username and password if you select a checkbox or option but havent had time to sit down with the code - dynamicdrive.com has such a script if anyone else with the time is interested. this would be much better as you would only have to tell it once. |
|
#7
|
|||
|
|||
|
instead of automatically loging-in, i would like the form to already have the server name inserted into the form so that users do not have to input the server, only their name and password. How can I do this?
|
|
#8
|
|||
|
|||
|
you can manually add the short name into the alias field in the RC database if there aren't too many users - that is how i did it so i wouldnt have to change things down the road - such as new skin installs that would over write code placed on the pages.
you do this after the user has logged in the first time - this adds them to the RC database. |
|
#9
|
||||
|
||||
|
Quote:
PHP Code:
__________________
![]()
|
|
#10
|
|||
|
|||
|
another way is to set a domain cookie encrypted with blowfish the user and password
__________________
--------------------------------------------------------<br /> ** S.I.M.O.E.S.P. **<br />-------------------------------------------------------- |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
| For more information about the ads and why they're here, please see the FAQ |