↧
Using PHP’s parse_url Function
This is a PHP function that I wish I had known about earlier, so I thought it was worth a mention for today’s Daily Web Tip. parse_url is a function that breaks a url down into it’s parts. <?php...
View ArticleBuilding Dynamic Subdomains
I’ve worked on several sites lately where my client wanted each of their website members to have their own subdomain. Typically, when you set up a subdomain it takes up to 72 hours for the DNS to...
View ArticleURL Shortener with .htaccess
On one of my sites I wanted to allow my users to enter a short URL to go to a page with a longer URL. For example, I wanted them to type a short url like this: example.com/m/1234567 instead of a long...
View Article