Google Blogoscoped

Forum

Grabbing Google image in php5

mate [PersonRank 1]

Saturday, November 20, 2004
18 years ago

is there a way to do this in php 4 .
I change my hosting service so I haven't the php5 extension available anymore.
Thanks in advance

Philipp Lenssen [PersonRank 10]

18 years ago #

Mate, which post are you referring to? Please let me know so I can help. What do you want to achieve? Though I suppose, as most of my PHP5 code shown here is specifically explaining and making use of new functionality available only in PHP5, that you will have a hard time reproducing this in PHP4 (especially the great XML, TidyHTML, and XPath functionality).

mate [PersonRank 1]

18 years ago #

Sorry for the last post .
I thought it was linked with previous posts with the same subject
I used the Google Image grabbing script en php5.
I ve changed my hosting compagny so I ven't php5 extension avalable.
Is there a way to do it width php4

Haven't found it on the web
Thanks in advance

Philipp Lenssen [PersonRank 10]

18 years ago #

OK. Well, http://blogoscoped.com/archive/2004_06_24_index.html#108809520320587461 was specifically aimed at using what's new in PHP5. You are able to do the same using PHP4, the "file" function, and regular expressions, but that would be somewhat harder. You may want to search Google for something along the lines of "get all images of HTML regex php" or so.

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!