Bu kodu vardır.
Aşağıdaki kod Firefox'ta çalışıyor ama IE'de değil
<?php // file: login_dfr.php ?> <body> <?php $data = getLoginData($_SESSION['whoyouare']); ?> <form name="frm_redirect_dfr" action="<?php echo $data['url']; ?>" method="POST" id="frm_redirect_dfr" style="display: none;"> <input name="DFRNet_User" value="<?php echo $data['username']; ?>" type="hidden" /> <input name="DFRNet_Pass" value="<?php echo $data['password']; ?>" type="hidden" /> <input name="tbllogin" value="login" type="hidden" /> <input type="submit" value="submit" /> </form> <script language="javascript" type="text/javascript"> document.forms["frm_redirect_dfr"].submit(); </script> </body>
Kullanıcı erişim sayfasında, ilk şeklinde echo, giriş verileri almak için çalışacağız, ve javascript kullanarak otomatik formu göndermek ne yapmak istiyorum, bir
Update: I forget to mention that the code above is on a Frame, the mainFrame code is like below:
<?php session_start(); ?> <?php // file: login_frame.php ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Wavinet</title> </head> <frameset rows="1,*" frameborder="no" border="0" framespacing="0"> <frame src="topFrame.php" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" /> <frame src="login_dfr.php" name="mainFrame" id="mainFrame" title="mainFrame" /> </frameset> <noframes> <body>This page contain frame</body> </noframes> </html>