All posts tagged in: PHP

Get domain out of any URL string

It’s a common problem with no single right answer: extract the top domain (e.g. example.com) from a given string, which may or may not be a valid URL. I had need of such functionality recently and found answers around the web lacking. So if ...

banner
banner

Retrive time period like facebook

In facebook stream you’ll see the time period at the bottom of the stream. For example: 4 minutes ago, 2 days ago, 3 weeks ago…. In our recent project we have to show similar time fashion for our application’s activity stream. So I write a ...

Parse URL’s in text, create links

I’ve discovered a huge drawback to the Twitter messaging system: it does not store links. The Twitter site itself will identify URL’s in messages and convert them into clickable links for you automatically. But the magic ends at Twitter’s ...

VTC – PHP Programming

VTC (Virtual Training Company) | 581 Mb In Real World PHP Programming: The Basics, VTC Author Mike Morton introduces PHP programming in a fashion that is immediately applicable to experienced programmers, and new programmers alike. This ...

Get Adobe Flash player