Related Content
Generating Colour Palettes From Images In PHP
A common web design pattern is to incorporate an image into the design of the page. This creates a tighter integration with the image and the rest of the page.
The main issue in designing a page around the image is that the colours of the page must match the image. Otherwise this creates a dissonance between the image and the styles of the site.
Validating XML Files With XML Schema Definitions In PHP
XML is a useful format for configuration, data storage, and transmitting data from one system to another. As a human readable format that can be easily read by machines it quickly gained favor in lots of different systems as a mechanism for data storage.
Creating A Character Bitmap In PHP
I was watching a video from NDC by Dylan Beattie the other day on The Story of Typography and a particular section stood out to me.
Approximating Pi Using A Circle And A Square
Pi day was a few weeks ago, but I came across this simple approximation of pi recently and decided to put together an example in PHP since it seemed pretty simple.
This approximation of pi centers around a real world example, but we can simulate this using some code.
Drawing A Parabolic Curve With Straight Lines In PHP
A parabolic curve is a type of curve where every point is an equal distance from a focal point. There a number of different way to generate this sort of curve using math, but one of the simplest is to use straight lines to create the illusion of the curve.
Recreating Spotify Wrapped In PHP
I quite like the end of the year report from Spotify that they call "Wrapped". This is a little application in which they tell you what your favorite artist was and what sort of genres you listened to the most during the year.
Comments
Submitted by David on Sun, 06/06/2010 - 06:19
PermalinkSubmitted by giHlZp8M8D on Sun, 06/06/2010 - 10:17
PermalinkHi,
I've also seen this Google last catch checker tool: http://forum.time2dine.co.nz/google/google-cache-checker-5288.html
Can we do the same thing with your script as well.
Submitted by David on Mon, 06/14/2010 - 05:10
PermalinkChange the following line:
protected $googleAddresses = array("74.125.77.132");
into:
protected $googleAddresses = array("webcache.googleusercontent.com");
Submitted by KDS on Tue, 07/19/2011 - 11:20
PermalinkHello,
Your script worked great for me but now it stopped working... something wrong?
Kind Regards,
Peter
Submitted by Peter on Mon, 08/22/2011 - 02:40
PermalinkAs another commenter posted above (thanks KDS) if you change the IP address used in the property $googleAddresses to be webcache.googleusercontent.com then it seems to work nicely.
I have updated the class to incorporate this change so you can download it again if you wish :)
Submitted by giHlZp8M8D on Mon, 08/22/2011 - 10:17
Permalinkit's really very help ful and working nice.
Now can you give some idea to get result for multiple urls at one time.
Submitted by wasim on Mon, 11/14/2011 - 07:50
PermalinkHello All,
Does anybody know a good position checker php script? This will save me a lot of time every morning...
Thanks in advance!
Kind Regards,
Peter
Submitted by Genesys on Mon, 12/12/2011 - 22:55
PermalinkIt's tricky. They have no API for this and it's against their terms and conditions so they will make it deliberately difficult for you to scrape their site for content.
That said, it is possible. I've done it in the past and have done all sorts of things to get around the checks that Google does to stop you.
Submitted by giHlZp8M8D on Tue, 12/13/2011 - 16:30
PermalinkI tried it in my localhost and run it for multiple urls.
It's working proper but when I upload it in my server it's show me an the default date of the server.
It's not giving me proper output please anyone help me to solve this out.
Submitted by wasim on Sat, 12/24/2011 - 06:18
PermalinkHey I also face the same problem.
I had made it for multiple site and it's working perfect and show proper output but when I upload it at live server
it show me blanke value.
It show me nothing so if you find anything so please inform me.
Submitted by sharik on Sun, 12/25/2011 - 04:19
PermalinkIt's not work !!!
302 Moved
The document has moved to http://www.google.com/sorry/?continue=http://webcache.googleusercontent….
Submitted by Anonymous on Thu, 01/05/2012 - 07:52
PermalinkAdd new comment