572 karma · joined Dec 27, 2012 (13y ago) · 84 submissions
comment 13y ago · link · parent
What I'm saying is that if you have a single-line <input> field and pressing Enter doesn't submit the form, you should add some HTML/JS to ensure that Enter submits the form.
3.
Pressing Enter should submit the form
5 points · by jonascopenhagen · 13y ago · 4 comments
comment 13y ago · link · parent
comment 13y ago · link · parent
Secondly, if you use a paid service you don't need to run your files through scripts to upload them, and you don't risk the files being taken down by the image host admins.
Also, while hosting non-image files on image file hosts technically might not be illegal, it still essentially is abusing a free service. Do you really want to be that guy?
comment 13y ago · link · parent
Capitalism isn't just about the rich people. Small business owners are capitalists, too, and most of the ones I know don't fit your description.
comment 13y ago · link · parent
comment 13y ago · link · parent
The problem of over-engineering isn't just related to the big PHP frameworks - the same problem exists in Python and Ruby.
At its core, web development is about taking some user input, validating it, throwing it in a database, and displaying it again (perhaps slightly modified) to users. That's a fairly simple concept, and frameworks should reflect that.
comment 13y ago · link · parent
comment 13y ago · link · parent
Encoding is rarely a problem in PHP. Use UTF-8 everywhere, make sure every part of the system uses it (the database server, the database client in PHP, the web pages, etc.). If you're going to work with e.g. Japanese characters, use http://www.php.net/manual/en/mbstring.overload.php
comment 13y ago · link · parent
Custom items? Order them online (if they're semi-custom, e.g. a standard T-shirt with your custom text on it) - it takes less time and will probably be cheaper, despite the shipping cost. If it's a custom item you're 3D-modeling yourself, that's a different story - but that's for hobbyists - it won't be mainstream.
Toys? So instead of picking up that $5 doll in the supermarket, busy parents will find something online and wait a half hour while a noisy printer prints a product which is even more expensive than the $5?