Below is just a PHP function that delete a particular directory/folder, all its sub directories/folders and files. Continue reading
Below is just a PHP function that delete a particular directory/folder, all its sub directories/folders and files. Continue reading
I have a span HTML object, I try to use getElementById and innerText to set the text between the start and end tags. It works fine on IE, Google Chrome and Safari but it doesn’t work Firefox. Continue reading
You maybe see a download page with counter/timer within a range that displays the seconds remaining (count down) before prompting a downloadable file via it’s URL. For example: our download page or SourceForge download page. Continue reading
This article describes How to store PHP session in MySQL database instead files on the web server. The method should be considered when your web application runs on multiple web server or in a clustered environment. Continue reading
When websites and applications execute in a clustered environment or require heavy state management functionality, you should use database to store session state information. Continue reading
ASPStateTempApplications and ASPStateTempSessions tables are in the TempDB database and are created when you configure SQL Server to Store ASP.NET Session State by running the InstallSqlState.sql script. Continue reading
You maybe already see a confirm box with 2 buttons: Leave This Page and Stay On This Page when you try to leave current page by closing browser/tab or navigating to another page/link. Continue reading
By adding some new line escape characters or line breaks – \n, we can display multiples lines message in the alert box. It allows us to show a long message to users and also help people understand clearly. Continue reading
The following is a JavaScript function that changes/rotates title of webpage automatically in every specified number of seconds. Continue reading
This article will use PHP & Facebook Graph API & FQL to query link_stat Facebook table to get total comments, comment count, total likes, like count, total shares, share count, total count, click count, comment box count of one or more URLs that users on Facebook are interacting with. Continue reading