Generating Histogram Colour Analysis Graphs From Images In PHP
If you've ever looked at the settings in a digital camera, or have experience with image processing programs like GIMP, then you may have seen a colour histogram. This is a simple graph that shows the amount of different shades of colour are present in the image.
PHP:CSI - To Switch, Or Not To Switch?
I was writing unit tests for a API mapping function recently and came across this interesting issue. The code I was writing tests for was in a legacy codebase that I was making changes to, and it made sense to have some unit tests in there before I started work to ensure everything worked before and after.
Drupal 9: Generating Header Images For Pages Of Content Using PHP
Embedding image within pages of content helps both within the design of the page and when shared on social media. If you set up meta tags to point at a particular image then that image will appear when the page is shared on social media. This makes your page stand out more.
Using PSR-4 With Composer
The PHP Standards Recommendations (called PSR) are a set of standards that aim to make certain aspects of working with PHP easier.
Generating A PDF From A Web Page Using PHP And Chrome
Generating a PDF document from a web page through PHP can be problematic. It's often something that seems quite simple, but actually generating the document can be difficult and time consuming.
PHP:CSI - Date Is Less Than One Month Ago
Working with logic surrounding dates can sometimes be difficult and it's fairly common to come across really subtle date and time based bugs.
I was recently shown a bug in a PHP application that looks like it should be working at face value, but doesn't actually produce the correct result.
Submitted by David on Sun, 06/06/2010 - 06:19Permalink
Submitted by philipnorton42 on Sun, 06/06/2010 - 10:17Permalink
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:10Permalink
Change the following line:
protected $googleAddresses = array("18.104.22.168");
protected $googleAddresses = array("webcache.googleusercontent.com");
Submitted by KDS on Tue, 07/19/2011 - 11:20Permalink
Your script worked great for me but now it stopped working... something wrong?
Submitted by Peter on Mon, 08/22/2011 - 02:40Permalink
As 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 philipnorton42 on Mon, 08/22/2011 - 10:17Permalink
it'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:50Permalink
Does anybody know a good position checker php script? This will save me a lot of time every morning...
Thanks in advance!
Submitted by Genesys on Mon, 12/12/2011 - 22:55Permalink
It'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 philipnorton42 on Tue, 12/13/2011 - 16:30Permalink
I 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:18Permalink
Hey 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:19Permalink
It's not work !!!
The document has moved to http://www.google.com/sorry/?continue=http://webcache.googleusercontent….
Submitted by Anonymous on Thu, 01/05/2012 - 07:52Permalink
Add new comment