2 Replies Latest reply on Nov 12, 2008 8:58 AM by (antoniod)

    require_once problem...

    Level 1
      Hi all, <br />I have a file (1.php) that will include another file using <br /><?php require_once('2.php'); ?> <br /> <br />The 2.php file ocntains only variable definitions: <br /><? $myvar["something"]="tesxt something"; ?> <br /> <br />When I view the 1.php on the server, I see an empty space in place of the <br />require_once command. Why? <br />There should be nothing, since the 2.php file contains only variables. <br />Is there a simple workaround? <br /> <br />This happens with IE and Firefox and strangely enough not with Opera. <br /> <br />TIA <br /> <br />tony