From b1ca36e19b68a46bf4122956aeceebeb0d9075ff Mon Sep 17 00:00:00 2001 From: ElbertF Date: Sun, 23 Sep 2012 16:29:00 +1000 Subject: [PATCH] Updated README --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index acf5a3cd1..d11aaa4ab 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,21 @@ Getting the PHP driver up and running on Debian Linux: * `# aptitude install php5-dev php-pear libv8-dev` * `# pecl install channel://pecl.php.net/v8js-0.1.3` * `# echo "extension=v8js.so" > /etc/php5/conf.d/v8js.ini` -* `$ php drivers/php/wappalyzer.php http://wappalyzer.com` + +Runnning it from the command line: + +`$ php drivers/php/wappalyzer.php http://wappalyzer.com` + +Running it inside a PHP script: + +```php +require('DriverException.php'); +require('Driver.php'); + +$driver = new Driver; + +$detectedApps = $driver->analyze($url); +``` Screenshot