I need to retrieve data from another website and I use file_get_contents for that. When something goes wrong I want to test the status (return value) which will be true or false. However, scriptcase throws an error which I don’t want. In standard php I can suppress this by using @. So it would be: $rtn=@file_get_contents(…
It works in regular php, but not in scriptcase. Why? How can I suppress the error when something goes wrong?