PHP Classes

Show error HTTP request failed! HTTP/1.0 403 Forbidden

Recommend this page to a friend!

      PHP Parse Google Search Results  >  All threads  >  Show error HTTP request failed!...  >  (Un) Subscribe thread alerts  
Subject:Show error HTTP request failed!...
Summary:Google server not allow to open file using file_get_content
Messages:2
Author:pratiksha
Date:2014-01-29 05:22:51
Update:2014-01-30 12:46:33
 

  1. Show error HTTP request failed!...   Reply   Report abuse  
Picture of pratiksha pratiksha - 2014-01-29 05:22:51
Hello

I had used this class , but unfortunately not working for me

It show error HTTP request failed! HTTP/1.0 403 Forbidden

I had also try CURL instead of file_get_content() but also not work for me.

Can you please help me

Thanks in advance

  2. Re: Show error HTTP request failed!...   Reply   Report abuse  
Picture of Giri Raj Giri Raj - 2014-01-30 12:46:33 - In reply to message 1 from pratiksha
Hi,

try to use $link = "http://www.google.com/custom?q=", its not return 403 error....

Let me know if you need further details...

Thanks