DecryptWeb Blog

Opensource Web Solutions

PHP/MySQL

encode and decode string with base64

Many use encoding and decoding on daily basis including me, so once I made a simple script for encoding and decoding the input string with base64. base64.txt Instruction: 1) Download the file and save the text file as PHP file. 2) Place the file in your root directory. 3) Execute the file from browser. 4) […]

Set Default Time Zone

Some of you may have faced the issue for converting timezone for displaying date and time. Means suppose you want to display current time in India, than what will you do for that. You might have added 5 hours and 30 minutes to the default time. But there is already a functionality for that in […]

List Date Difference

Some of you might have come across the requirement for displaying all the dates between give two dates, especially for drop down listing of dates. I have developed a sample code for getting all date ocurrences between give two dates. You can change the date and modify the code as per you requirement.

Scroll to top