|visits||member for||1 year, 2 months|
|seen||Feb 27 at 20:03|
“Measuring programming progress by lines of code is like measuring aircraft building progress by weight.”
– Bill Gates
10k Reputation :-)
Asking for a PHP book
Gordon's comment about code principles: StackOverflow chat message
Not enough jQuery
→ SOAP vs. REST (might be not 100% true though!)
Common wrong assumptions:
No one needs syntax highlighting or indentions
Beta status is an excuse for security vulnerabilities
Screenshots of code are valid code snippets
Favorite series of questions/answers
Regex series: Permission to start a series of advanced regex articles
Incl. this question: How to determine if a number is a prime with regex?
Common mistakes I've encountered on SO:
SO as your personal debug console.
The old MySQL extension is deprecated (read loud: "OUTDATED, DEPRECATED AND OBSOLETE", thanks)
→ MySQLi (with Prepared Statements) or PDO (and be sure to deactivate emulated Prepared Statements there: deactivate
More information @ Are PDO prepared statements sufficient to prevent SQL injection?
htmlspecialchars()for outputting user-edited HTML code
mysql(i)_real_escape_string()is 100% safe: NO (if you're using it wrong).
See this question: SQL injection that gets around mysql_real_escape_string()
If you're that far: here are some nice code snippets I've written
JS (& jQuery): searchFirstTextOccurence() in DOM: http://stackoverflow.com/a/19523124/603003
PHP: addQueryParameters() for adding query parameters to an existing URI string: http://stackoverflow.com/a/19984204/603003
Some funny names other people gave me
- ComFreak (with "ae")