New answers tagged php
Search between dates in a WP Query
Thank you for your answers :) In the end I have solved it by performing a first query where I perform the first filtering and on that array, I perform the second query between the selected dates. <...
Preventing PHP SQL injection on login
let exceptions bubble up ...
Calculate cost of standard or express delivery
I wouldn't bother declaring the inverse boolean variable $standardShipping. If you like seeing the explicit variable, that's fine too. I don't think I support the ...
php flock with timeout (for LOCK_SH / LOCK_EX )
I think this function looks good. Your choice of variable names is good. I'm not an expert on file locking, but, although valid code, I don't like the for (;;) ...
GPG class for AJAX calls
My opinion is that variable variables and variable function/method names should be avoided as much as possible (I nearly want to say: "NEVER use them"). These features often have a negative ...
Top 50 recent answers are included