problems with php4 & 5???
I have been developing with PHP5 on WAMP5...but the codes are not interpreted properly.. below is a section of some codes that work on PHP5 but does not on PHP4.
This code is part of a header file..where i want to display certain buttons on certain pages..
<?php
InString(FileName(),"Default");
if(!$Found){
?>
<A HREF="MySummary2.php" onMouseOver="SwapImage('Home', 'Home1.jpg');" OnMouseOut="SwapImage('Home', 'Home0.jpg');"><IMG SRC="images\Home0.jpg" NAME="Home" ALT="Home Page" BORDER="0" WIDTH="70" HEIGHT="25"></A>
<?php
} else {
?>
<?php
}
?>
the InString function looks for a certain string in the current filename.. This works properly in PHP5 but not in PHP4..Please help?
|