Stores the most valuable pieces of PHP code you can reuse in different projects many times
Detect iPad with php
function is_ipad(){ return strstr($_SERVER['HTTP_USER_AGENT'], 'iPad'); }