Skip to content

Instantly share code, notes, and snippets.

View Abdullah-FAl's full-sized avatar

Abdulllah-Fal Abdullah-FAl

View GitHub Profile
/* Hide all possibilities in advance */
.firefox, .msie, .safari, .chrome, .win, .mac { display:none; }
/* Detect Internet Explorer 9 or Greater */
@media screen and (min-width:0\0) and (min-resolution: +72dpi) { .msie, .win { display:block; } }
/* Detect Internet Explorer 8 or Lower and veru old versions of Firefox */
@media \0screen\,screen\9 { .msie, .win { display:block; } }
/* Detect any version of Firefox */
@Abdullah-FAl
Abdullah-FAl / http_response_codes.php
Created November 1, 2017 11:40
HMTL Reponse code constants in PHP
//CONSTANTS
define( 'HTTP_CONTINUE', 100 );
define( 'HTTP_SWITCHING_PROTOCOLS', 101 );
define( 'HTTP_PROCESSING', 102 );
define( 'HTTP_OK', 200 );
define( 'HTTP_CREATED', 201 );
define( 'HTTP_ACCEPTED', 202 );
define( 'HTTP_NON_AUTHORITATIVE', 203 );
define( 'HTTP_NO_CONTENT', 204 );
define( 'HTTP_RESET_CONTENT', 205 );