Hey. My script uses file_get_conten ts, and i get two errors with it. Sometimes I get an error saying the site cant be reached or is invalid, and other times i get an error saying it got an internet server error when accessing the site. Is it possible to determine which error file_get_conten ts got so I can alert the users appropriately? Maybe something with try..catch and a certain error id? Thanks alot!
How to find out what PHP error was printed?
Collapse
X
Comment