Post
Topic
Board Project Development
Re: Need help about PHP and API
by
paraboul
on 27/09/2017, 15:40:06 UTC
Well, you just leaked your secret key from coin-hive because file_get_contents failed and disclosed the URL you're trying to call (with the secret key embedded).

1. Disable PHP errors on production!
2. We now know we shouldn't trust the thing you're calling 'U2cloudmining'

https://i.imgur.com/pKwxIK7.jpg

Thanks and how can I do this?
and test it?

http://php.net/manual/en/function.error-reporting.php

If it's just for file_get_contents, add a @ in front of the call.