When I create the instance of the an object, the browser shows a bunch of question marks and weird characters. At times the weird characters that are spit out are appended to pieces of my actual code (like its html not script).
PAGE1 - login.php (file is in the root dir)
<?php
// includes
include ("classes/clsSession.php"
![winking smiley winking smiley](./mods/smileys/images/smilie3.gif)
;
// create sessions
$objSession = new clsSession;
?>
PAGE2 - clsSession.php (file is inside a classes folder in the root dir)
<?php
class clsSession{
}
?>
php_error.log
[14-Jan-2006 13:12:36] PHP Fatal error: Class 'clsSession' not found in C:\wamp\www\login.php on line 7
Output Shown in Browser:
戼⁲㸯㰊㹢慆慴牥潲㱲戯㨾汃獡⁳挧獬敓獳潩❮渠瑯映畯摮椠戼䌾尺慷灭睜睷汜杯湩瀮灨⼼㹢漠楬敮㰠㹢㰷戯㰾牢⼠ਾ
WAMP5 Version 1.6.0
Any suggestions for fixing this?