
Ti Ju - 2012-02-08 11:00:30
Hi there,
I get a the above message for examples.php or when i try to create a new SiteSearch object in my project.
Tried the following setup:
1. Have SiteSearch.php and SiteSearchException.php in the same folder as my project files.
2. include SiteSearch.php and SiteSearchException.php in my project file as follows:
<?php
use Search\Google,
Search\Google\Exceptions;
require_once 'SiteSearchException.php';
require_once 'SiteSearch.php';
$search = new SiteSearch('CSE Key Here', 'utf-8', GoogleCustomSearch::HTML);
Am I missing something?
Thank you for the help.
Tiha