Category Archives: PHP

How To : Prevent Songs Download (Part-II)

In the first post I showed how to setup basic audio player and play a song and left with this important part to show how we can secure our songs and prevent downloads. So lets see how we can make … Continue reading

Posted in PHP | Tagged , , , | 13 Comments

How To : Simple Audio Streaming [Part-I]

Starting the post with a well known verse “Your Songs Belong to Us”. Sounds funny but this is really true that you can’t hide your songs on the web. Your all songs that you put in your server, literally you … Continue reading

Posted in Apache, IE, JavaScript, Music, PHP | Tagged , | 3 Comments

Regular Expression to Find All Mentioned Names by ‘@’

Most of the time we use ‘@’ to mention someone’s name in email thread, forum, etc. How about to find those mentioned names using PHP regular expression? Let’s consider the following text. “Hey @Junal how about going for a vacation … Continue reading

Posted in PHP | Tagged , , | 3 Comments