I am trying to get the search keywords from a google image search result but am having great problems.
Here is an example of the referral url:
http://images.google.it/imgres?imgurl=http://www.eaguingamp.co.uk/wp-content/uploads/2009/03/logo_coupe_de_france.jpg&imgrefurl=http://www.eaguingamp.co.uk/2010/02/09/cdf-boulogne-a-preview/&usg=__GhT0TcW-SiSBtx6-TuR_EKQB-Uw=&h=241&w=237&sz=38&hl=it&start=6&sig2=alRzLqtodZqLOEb0dgbVlw&um=1&itbs=1&tbnid=6Mz7HeF8nEFv7M:&tbnh=110&tbnw=108&prev=/images%3Fq%3D[COLOR=Red]coupe[/COLOR]%2B[COLOR=Red]de[/COLOR]%2B[COLOR=Red]france[/COLOR]%26um%3D1%26hl%3Dit%26sa%3DN%26tbs%3Disch:1&ei=8FuOS5HYOIuI_Aa3gO3kDA
The words in red show where the search keywords are in the string. I need to extract those so that I can save them in a database, how can this be done?
I have tried using preg_match but I am hopeless with it. Hope someone can help ASAP


Sign In
Create Account


Back to top









