5 ms·
In your demo I'd be more careful with user input >$url = 'https://hashcash.io/api/checkwork/' https://hashcash.io/api/checkwork/' . $_REQUEST['hashcashid'] . '
by homakov 12y ago
In your demo I'd be more careful with user input
>$url = 'https://hashcash.io/api/checkwork/' https://hashcash.io/api/checkwork/' . $_REQUEST['hashcashid'] . '?apikey=[YOUR-PRIVATE-KEY]';
hashcashid can change URL completely to something like ../../newpath?newparams#
- hippich 12y agoit is always battle between make it simple to understand and bring best practices... in this particular case i chose simply to understand :)