Link to home
Start Free TrialLog in
Avatar of PeterdeB
PeterdeBFlag for Netherlands

asked on

How to run Google's 'site: blah.com' commando and capture 10 links in a textarea?

Hi Folks,

I want to know how to run the site: blah.com commando from within PHP and capture the first 10 links in a textarea.

If you need more info, please ask,

Kind regards,

Dweep
Avatar of Loganathan Natarajan
Loganathan Natarajan
Flag of India image

how to run the site: blah.com commando from within PHP

>> what do you mean? please more details
Avatar of PeterdeB

ASKER

Now when you type in the search engine bar: site:google.com you get all pages with google.com in it. Now I want to run that from within php.

Dweep



you mean the sub domains or like www.some-domain.google.com
Ehm not the sub domains. But just some-domain > site: some-domain.com will result in all links with some-domain in it.

Dweep
ASKER CERTIFIED SOLUTION
Avatar of netmunky
netmunky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks a lot mate, I had no idea it was against their policies!