Ive been a php developer for a while now but never have i had to do this, as being a developer my job is to fix and not hide bad coding.
When i say bad coding at the time it was good coding but as its php4 and alot of it has depreciated its not the old programmers fault.
Anyway my friend has asked me to make it so the website does not submit a error report as the website is storing a GB a month which is huge, when you look at it, its all things like split() function which is depreciated in php5.3, it still works but it sends an error to the log.
The reason why its taking a GB a month is he has about 5000 page views a day, which each page gives of 3 reports, so thats 15000 lines of code a day.
He states he has no money so cant get me to rewrite his site but can i turn of the reporting.
I asked if i could get into his php.ini and he states i cant as he is a shared hosting platform.
So my question is can i use for instance:
<?php error_log(Off); ?>
at the top off the page?
If not how do i go about this?
Thanks
Will
Help

















