0 Replies - 16795 Views - Last Post: 16 January 2012 - 03:07 PM Rate Topic: -----

#1 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9287
  • View blog
  • Posts: 34,808
  • Joined: 12-June 08

[link]10 super useful PHP snippets you probably havenít seen

Posted 16 January 2012 - 03:07 PM

http://www.catswhoco...bly-havent-seen

I would tend to agree - I haven't seen a few of these (and lord knows I've kludged one too many together off that list).. so let's share with everyone!

Quote

When working with PHP, it is very useful to have a ďtoolboxĒ of handy functions and code snippets that can save lots of time when needed. Today, Iím going to show you 10 super useful code snippets that you probably never heard of.

  • Text messaging with PHP using the TextMagic API
  • Detect location by IP
  • Display source code of any webpage
  • Check if server is HTTPS
  • Display Facebook fans count in full text
  • Determine the dominant color of an image
  • Get info about your memory usage
  • Compress data using gzcompress()
  • Whois query using PHP
  • Email PHP errors instead of displaying it


Is This A Good Question/Topic? 2
  • +

Page 1 of 1