alin19 Posted August 15, 2008 Share Posted August 15, 2008 this is a part of a code, in mozila firefox the page opens and display the document but in internet explorer get: The page cannot be displayed with the same header if (isset($_POST['confirmare'])) { $_SESSION['nr_ordin']=$_POST['confirmare']; $_SESSION['id_bo']=$_POST['id_bo']; $document='pdf/raport.php'; echo "<SCRIPT LANGUAGE='javascript'> <!-- window.open ('$document') --> </SCRIPT>"; } Link to comment https://forums.phpfreaks.com/topic/119804-internet-explorer-problem/ Share on other sites More sharing options...
ratcateme Posted August 15, 2008 Share Posted August 15, 2008 if the window opens then the problem is not with this code it is with the code of pdf/raport.php Scott. Link to comment https://forums.phpfreaks.com/topic/119804-internet-explorer-problem/#findComment-617192 Share on other sites More sharing options...
alin19 Posted August 15, 2008 Author Share Posted August 15, 2008 the problem is with the compatibiliti with internet explorer, if i go : 195.214.105.196/extern/pdf and then select raport.php it works perfectly but not if i paste the whole adress: 195.214.105.196/extern/pdf/raport.php Link to comment https://forums.phpfreaks.com/topic/119804-internet-explorer-problem/#findComment-617194 Share on other sites More sharing options...
MasterACE14 Posted August 15, 2008 Share Posted August 15, 2008 maybe try... echo "<SCRIPT type='text/js'> <!-- window.open ('$document') --> </SCRIPT>"; Link to comment https://forums.phpfreaks.com/topic/119804-internet-explorer-problem/#findComment-617196 Share on other sites More sharing options...
alin19 Posted August 15, 2008 Author Share Posted August 15, 2008 nop, this way dosn't even open a blank page Link to comment https://forums.phpfreaks.com/topic/119804-internet-explorer-problem/#findComment-617197 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.