I open a database file. If the file is not available then PHP throws up a:
Warning: unable to open database /home/mydir/datbase.txt
How can I turn this feature off?
I detect if the file can't be opened or doesnt exist and display my own warning page but I can't get PHP to stop displaying the warning and the path to the database.
On an open error I just want to display my own warning, not PHP's internal warning too.
Warning: unable to open database /home/mydir/datbase.txt
How can I turn this feature off?
I detect if the file can't be opened or doesnt exist and display my own warning page but I can't get PHP to stop displaying the warning and the path to the database.
On an open error I just want to display my own warning, not PHP's internal warning too.