alin19 Posted July 31, 2008 Share Posted July 31, 2008 why is'n this page opened in internet explorer? if i write that path in the browser the page opens <?php include ("config.php"); include ("login.php"); if (isset ($_SESSION['logIN'])&&($_SESSION['logIN']==true)) { include ("header.php"); ?> <style type="text/css"> body{margin:10px;border:1px solid black;width:70%;height:90%;} </style> <body> <form method="POST"> <table> <tr> <td><i>Cod BO:</i> <td><select name='id_bo'><?php $queryS="SELECT `cod_bo` FROM `clienti`"; if ($r=mysql_query($queryS)) { while ($row = mysql_fetch_array($r)) { echo "<option "; if ((isset ($_POST['id_bo']))&&($_POST['id_bo']==$row[0])) echo "selected "; echo "value=$row[0]> $row[0] </option>"; } } ?></select></td> <td>Data Start:</td><td><input type="text" name="dataStart" value="2007-01-01" size="7"></td><td>Data End</td><td><input type="text" name="dataEnd" value="<?php echo date("Y-m-d"); ?>" size="7" ></td> </tr> <tr> <td>Tip Raport</td><td><select name="tip"> <option value="OPERATIUNI">OPERATIUNI</option> <option value="FINANCIAR">FINANCIAR</option> </tr> <tr><td></td><td><input type="submit" name="submit" value="Cauta"></td></tr> </table> <br> <table> <tr> <td><img src="imagini\acroread.png" name="pdf" height="30" width="30"></td> <td><img src="imagini\excel8.png" name="xls" height="30" width="30"></td> <td><img src="imagini\text.png" name="txt" height="30" width="30"></td> </tr> <tr> <td><input type="radio" name="format" value="pdf" checked > </td> <td><input type="radio" name="format" value="xls"disabled> </td> <td><input type="radio" name="format" value="txt" disabled > </td> </tr> </table> </form> <hr> <?php if (isset($_POST['submit'])) { if (($_POST['tip']=='FINANCIAR')&&($_POST['format']=='pdf')) { $document='pdf/fisa_financiara.php'; } if (($_POST['tip']=='OPERATIUNI')&&($_POST['format']=='pdf')) { $document='pdf/fisa_operatiuni.php'; } if (($_POST['tip']=='EXTRAS_CONT')&&($_POST['format']=='pdf')) { $document='pdf/extras_de_cont.php'; } $_SESSION['id_bo']=$_POST['id_bo']; $_SESSION['dataStart']=$_POST['dataStart']; $_SESSION['dataEnd']=$_POST['dataEnd']; [color=red]echo "<SCRIPT LANGUAGE='javascript'> <!-- window.open ('$document') --> </SCRIPT>";[/color] } } else { echo "verificati userul si parola</br>"; echo "<a href='index.html'>BACK</a>"; } ?> </body> Quote Link to comment https://forums.phpfreaks.com/topic/117492-internet-explorer-erorr/ Share on other sites More sharing options...
RichardRotterdam Posted July 31, 2008 Share Posted July 31, 2008 what path are you trying to open are you using a webserver or are you calling it directly from a folder such as c:\your_file\index.php Quote Link to comment https://forums.phpfreaks.com/topic/117492-internet-explorer-erorr/#findComment-604354 Share on other sites More sharing options...
alin19 Posted July 31, 2008 Author Share Posted July 31, 2008 a webserver, this path works just fine in mozila firefox Quote Link to comment https://forums.phpfreaks.com/topic/117492-internet-explorer-erorr/#findComment-604355 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.