Joined July 2012
·
Posted to
Get the previous working day
over 1 year
ago
I'm not sure, but I believe that the working days depend on the country, don't they ?
Edit, as seen in the Google, in Dubai, the working days are from Sunday to Thursday. But it should correspond in most cases ;)
Posted to
var_dump vs. var_export
over 1 year
ago
The key difference is that var_export output valid PHP that you could write in other file (or eval) while var_dump is only for debugging
Posted to
Your PHP site may not be secure
over 1 year
ago
@simasj Knowing the version of PHP makes it easier for bad guys to exploit known vulnerabilities
If you are on shared-server hosting and don't have access to php.ini, you can deny access to PHP credits in the .htaccess :
RewriteCond %{QUERY_STRING} =PHP[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} [NC]
RewriteRule .* - [F]
Edit : you can also use header_remove('x-powered-by');
Achievements
162 Karma
3,883 Total ProTip Views

Komodo Dragon 3
Have at least three original repos where Java is the dominant language

Nephila Komaci 3
Have at least three original repos where PHP is the dominant language

Forked
Have a project valued enough to be forked by someone else

Charity
Fork and commit to someone's open source project in need

Komodo Dragon
Have at least one original repo where Java is the dominant language

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Epidexipteryx
Have at least one original repo where C++ is the dominant language

Nephila Komaci
Have at least one original repos where PHP is the dominant language
I never use the font property, always font-family, font-size, etc :)