Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get if bowser supports webp php

if( strpos( $_SERVER['HTTP_ACCEPT'], 'image/webp' ) !== false ) {
    // webp is supported!
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bowser #supports #webp #php
ADD COMMENT
Topic
Name
1+6 =