PHP Classes

problems

Recommend this page to a friend!

      Google Hacks  >  All threads  >  problems  >  (Un) Subscribe thread alerts  
Subject:problems
Summary:array error
Messages:4
Author:sere catalin
Date:2008-07-18 16:46:20
Update:2008-07-19 16:13:46
 

  1. problems   Reply   Report abuse  
Picture of sere catalin sere catalin - 2008-07-18 16:46:20
$result=$googleHacks->seachMusic(eminem);
gives back :

Array
(
[0] => Array
(
[label] => Index of /E/Eminem
[link] => Index of /E/Eminem
)

[1] => Array
(
[label] => Index of /E/Eminem/Collection
[link] => Index of /E/Eminem/Collection
)

[2] => Array
(
[label] => Index of /music
[link] => Index of /music
)

[3] => Array
(
[label] => Index of /eminem
[link] => Index of /eminem
)

[4] => Array
(
[label] => Index of /eminem - Say GoodBye Hollywood (the Eminem show)
[link] => Index of /eminem - Say GoodBye Hollywood (the Eminem show)
)

[5] => Array
(
[label] => Index of /mp3/Eminem Ft Dr Dre/
[link] => Index of /mp3/Eminem Ft Dr Dre/
)

[6] => Array
(
[label] => Index of /mp3/Megadeth Feat. Christina Scabbia/
[link] => Index of /mp3/Megadeth Feat. Christina Scabbia/
)

[7] => Array
(
[label] => Index of /music/Eminem/
[link] => Index of /music/Eminem/
)

[8] => Array
(
[label] => Index of Running Music
[link] => Index of Running Music
)

[9] => Array
(
[label] => Index of /files/mp3/various
[link] => Index of /files/mp3/various
)

)

i am using WmpServer on win xp

and another problem is with google search protection . after a few searches needs image text confirmation.

  2. Re: problems   Reply   Report abuse  
Picture of Er. Rochak Chauhan Er. Rochak Chauhan - 2008-07-19 10:56:08 - In reply to message 1 from sere catalin
Its simple..
just use this code to display just the links from this result array:

// Print the links
for($i=0; $i<count($result); $i++) {
echo "<div>".$result[$i]['link']."</div>";
}


I am not sure if I ever came across google image check (CAPTCHA) during search.... but if you do... try changing the domain from www.google.com to some other domain like google.uk or google.co.in

if you still face any issue, let me know.

  3. Re: problems   Reply   Report abuse  
Picture of sere catalin sere catalin - 2008-07-19 16:06:42 - In reply to message 2 from Er. Rochak Chauhan
problem solved .. thanks ...

  4. Re: problems   Reply   Report abuse  
Picture of sere catalin sere catalin - 2008-07-19 16:13:46 - In reply to message 3 from sere catalin
google captcha problem again