Useful Tricks

This section contains some useful programming tricks.
Detect mobile browser using php

Use this function <?php /* USER-AGENTS================================================== */function check_user_agent ( $type = NULL ) {        $user_agent = strtolower ( $_SERVER[‘HTTP_USER_AGENT’] );       …

1 3 4 5 42