php

Querying Google safe browsing API with PHP

Submitted by morf on Sat, 10/01/2011 - 5:50pm
php

Recently after some time i had opportunity to work on interesting project which included querying Google safe browsing API with PHP. It was simple and interesting project, so i would like to share my knowledge about it here.

Requirements:

  • Curl extension for PHP
  • Google account and safe browsing API key

php get_browser() without browsecap directive

Submitted by morf on Wed, 09/28/2011 - 10:42pm

I'm probably not the only one who tried to use php function get_browser() on shared hostings and ran into serious troubles, because the directive wasn't set. I tried first parse browscap.ini file with parse_ini_file() function, however the file format isn't compatible with this function.

Subscribe to php