Ben userpage.php bu kodu var:
<script langauge="JavaScript"><!--
function newWindow(fileName,windowName) { msgWindow=window.open(fileName,windowName); }
//--></script>
<a href="javascript:newWindow('1.html','window1')">Logout</a>
Ve index.php bu kodu:
<script language="JavaScript"><!--
function newWindow(fileName,windowName) { msgWindow=window.open(fileName,windowName); }
function replaceURL(fileName) { newWindow(fileName,'window2'); self.close(); }
//--></script>
What Im trying to do is to call another window that show index.php. Calling it with the userpage.php. But the script doesn't close the window that calls it.
Onun çıkış bağlantı. Ben çıkıyor sonra düğmeye tekrar bastığınızda çünkü. Ben sayfayı görme sonunda hangi can erişimi açmış yalnızca kullanıcı