PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
it give me an error message like this Notice: Undefined variable: error in path/file.php on line 43
plz explain to me, why ?!? should i declare that variable first be4 using it ?? eventhough it give me an error the script still run...
and just for note i set register_global to 'ON'
ok another question, i duno how to ask this question in appropiate PHP language, well....
how u configure the apache server, i mean the general configuration for apache server especially in error reports, cuz i always get error reports in page for variables but the variables is displayed.
it always like "Undefined variable :", should i change sumthing in configuration for apache server ??
that has noting to do with apache, thats php, you can remove the notices/errors by editing your php.ini file, it should be in c:/windows/php.ini, if not, use phpinfo(); in a php page to see where it is,
open it with notepad and search for
error_reporting = E_ALL
then replace it with:
error_reporting = E_ALL & ~E_NOTICE
that should fix it.
dont forgot to restart apache after you save php.ini