divadiva Posted November 24, 2008 Share Posted November 24, 2008 I have a screen in my website that says Enter Database Password: When I hit Go it opens up a form. I have entered Session password as a default password .I want that 'GO' should automatically be clicked.So I shouldnt see the "database password" screen <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0"> <TBODY> <TR> <TD>Database Password</TD> <TD> </TD> <TD> <INPUT TYPE="PASSWORD" NAME="super_pass" VALUE ='$_SESSION' SIZE="20"></TD> <TD> </TD> <TD> <INPUT TYPE="SUBMIT" NAME="Submit1" VALUE='Go'></TD> </TR> </TBODY> Actually, whenever I enter datbaase password it taked me to this form .Now that session password is my default for this screen how can I get rid of "Enter Dstabase" screen. if($edit) { if( $dblog == $dbsup) { // logged in to superadmin database if($delete) { delete(); } else { if($done) { save(); } //**** displaying form form(); } } else { superpw() ; } } else { error() ; } } Thankyou in advance Link to comment https://forums.phpfreaks.com/topic/134119-how-to-automate-a-button/ Share on other sites More sharing options...
waynew Posted November 24, 2008 Share Posted November 24, 2008 Sorry, I still don't get what you're saying? Link to comment https://forums.phpfreaks.com/topic/134119-how-to-automate-a-button/#findComment-698159 Share on other sites More sharing options...
darkfreaks Posted November 24, 2008 Share Posted November 24, 2008 i think she wants to make it so she never has to login. however you will have to login at least once however you can do: <?php session_cache_expire(525948); //expires every year ?> Link to comment https://forums.phpfreaks.com/topic/134119-how-to-automate-a-button/#findComment-698182 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.