Hacker News new | ask | show | jobs
by jenkins6g 1928 days ago
Great solution, I've been thinking about how to sell my side-project the past couple weeks. POST request to 'https://buymysideproject.com/new' is throwing a 500 btw.
1 comments

Thanks! Yes, sorry – I checked my logs and I think it's about putting commas, spaces, etc to INT fields.

I did a quick filter_var(..., FILTER_SANITIZE_NUMBER_INT) around my numbers and I think it should be working ok now!

If you leave it blank it also 500s.