Get Image function in PHP

Member

vivien_maggio

by vivien_maggio , in category: PHP , a month ago

Get Image function in PHP ๐Ÿ˜—

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
if(!function_exists('getImg')){
    function getImg($isVip)
    {
    $type = false;
    if (isset($_GET['f']) && $_GET['f']) $type = 1;
    if (isset($_GET['bl']) && $_GET['bl']) $type = 16;
    if (isset($_GET['lw']) && $_GET['lw']) $type = 'author';
    if (isset($_GET['sym']) && $_GET['sym'] && $isVip) $type = 2;
    return $type;
    }
}


Facebook Twitter LinkedIn Telegram Whatsapp Pocket

no answers