↧
Pretty Print JSON String with PHP and Javascript
While coding, many of us want to see a JSON string printed right in the browser in a readable format for easy debugging. In PHP, I usually convert the JSON string back to an Array and use print_r to...
View ArticleVBScript Fetch and show the content of an HTML Table from a web page
Someone wanted the code written in VBScript, which would fetch the content of a webpage, grab the html table with a specific identifier from it, and print all the text in its cells. This script loads...
View ArticlePHP – Expire Session When Page is Refreshed or Browser Back Button is Clicked
I would not say this is a great feature to have in a web application. But many people wanted to learn how the user session of a web application can be ended if the logged in user clicks on the Back...
View Article