24-01-2005, 21:36
|
|
|
חבר מתאריך: 05.01.05
הודעות: 73
|
|
נסה ככה...
קוד PHP:
print(" <html> <head> <title></title> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1255\"> <script language=\"javascript\"> <!-- if (top.frames.length != 0) { top.location=document.location } //--> </script> <script language=\"JavaScript\"> <!-- function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args[i]+\".location='\"+args[i+1]+\"'\"); } //--> </script> </head> <body bgcolor=\"#FFFFFF\" onLoad=\"MM_goToURL('parent','index.php');return document.MM_returnValue\"> \n"); print("</body></html>\n");
ואם זה יפתח על חלון חדש ומלא אז תוריד את הקוד הבא משם
קוד PHP:
<script language=\"javascript\"> <!-- if (top.frames.length != 0) { top.location=document.location } //--> </script>
|