I'm callig a few php function in a script (FTP_PUT) an osometimes get a fatal error (timeout) if the connection is slow. Is there a way I can trap the error so it doesn't get printed all over the screen? Something similar the java's try catch blocks.
ok, thats a good idea. Supress all error messages and then just catch the return values. although this won't really reveal why something broke, but is better than having horrid warnings splashed all across the screen lol
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.