Hello Everyone!
I can't use header in application as I have to change lots of things if I do that , Because before it the data in that frame changing, so for this reason I decided to create javascript : ( Toggle Plain Text)
PHP Code:
if ($diff>30) { include("del.php"); echo "<script type='text/javascript'> top.location.href = 'index.php'; </script>";}
but I having one critical problem as It works only on my local server not in main server, when I put it in real server it's open that main page in the same frame!? SO can anyone expert short out my trouble or provide a suggestion that why It happened so? What should I do to avoid troubles.
Last edited by chrishirst; 02-14-2011 at 03:33 AM..
|