Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Another shameless plug - https://hashcash.io/ :)


In your demo I'd be more careful with user input

>$url = 'https://hashcash.io/api/checkwork/' . $_REQUEST['hashcashid'] . '?apikey=[YOUR-PRIVATE-KEY]';

hashcashid can change URL completely to something like ../../newpath?newparams#


it is always battle between make it simple to understand and bring best practices... in this particular case i chose simply to understand :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: