I have to correct my last post. From a link or direct address bar input
works now but the
$homepage =
file_get_contents('https://www.googleapis.com/customsearch/v1?key=AIzaSyChWV0NI7GTbvnUHr0XzoqWt3HyCyyMTJA&cx=016296160735106576712:8kvz6lo2kp4&q=site:');
does not...
How does one "Remove Refere restrictions? This might be an option as it is
not a public page and we will not have enabled billing...
On Friday, July 13, 2012 12:00:12 PM UTC-5, Patrick Ziegler wrote:
>
> I added my IP to Key for server apps (with IP locking) and it is now
> working... Prior to this I had the Web server IP in this... I can work
> with this as we only have a few IP's that will need to access this.
> However, I am curious as how one would set it up so any visitor to our
> site could use the ap...
>
> Thanks for all of your input!
>
> Pat
>
>
>
> On Friday, July 13, 2012 11:54:40 AM UTC-5, jgeerdes [AJAX APIs "Guru"]
> wrote:
>>
>> Then it is definitely a header issue. With PHP, you willl need to use
>> curl. There used to be some code samples for this, but I don't know that
>> they are still available. Actually, you might want to check out the client
>> library Google has supplied for PHP. Alternatively, you could remove those
>> referer restrictions, but I don't think I would recommend that, especially
>> if you're going to enable billing. (Wouldn't want someone stealing your
>> queries or money!)
>>
>> Jg
>> On Jul 13, 2012 11:44 AM, "Patrick Ziegler" <> wrote:
>>
>
--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
To view this message on the web, visit
https://groups.google.com/d/msg/google-ajax-search-api/-/Y85sVQ18MrYJ
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en