Today I am going to show you how easy it is to shorten any URL using tinyUrl web service. This is also a great example on using web services with PHP curl.
How to shorten URL using TinyUrl service
H
Today I am going to show you how easy it is to shorten any URL using tinyUrl web service. This is also a great example on using web services with PHP curl.
I often need to replace some characters in a string, and am using str_replace function. But, what if you need to do it in array, and after replacing, you need intact array? This little snippet will help you.