Joined July 2012
·

Loick Pyrech'

Web developer PHP / Symfony
·
Paris
·
·
·

Posted to Don't use CSS font shorthand over 1 year ago

I never use the font property, always font-family, font-size, etc :)

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,754 Total ProTip Views