We learn more by looking for the answer to a question and not finding it than we do from learning the answer itself.

Archives / 2011 / April

What is the Differnce between Static and Dynamic URLs?

Dynamic URLs: Websites that utilize databases which can insert content into a webpage by way of a dynamic script like PHP or JavaScript are increasingly popular. This type of site is considered dynamic. A dynamic URL is a page address that results from the search of a database-driven web site or the URL of a web site that runs a script. e.g.  http://www.example.com/result.php?id=12345 Static URLs URLs, in which the contents of the web page stay the same unless the changes are hard-coded into the HTML, dynamic URLs are generated...

How to make a file download with counter?

A day back i just had a very interesting query from one of my friend who has asked me over “What if i want to download a file but also keep track of no of downloads” but with a special case that the download link should be hidden from the user. It means that download link shouldn’t be viewable to the user. Like : <a href=”http://www.example.com/filename.doc”>Download Document</a> It should be something hidden. In order to resolve this case, I came up with the following suggestions: Instead of passing the...