Time Interval Snippets


20 December, 2011   

The example below defines a loop that starts with i=0. The loop will continue to run as long as i is less than, or equal to 5. i will increase by 1 each time the loop runs.

20 December, 2011   

The example below defines a loop that starts with i=0. The loop will continue to run as long as i is less than, or equal to 5. i will increase by 1 each time the loop runs:

Visual Basic Source Code to Get Active window caption and work on active window. Author: Kailash Chandra Vaishnav

26 December, 2011   

Example PHP code to navigate calender in HTML pages

22 February, 2016   

C/C++ source code for euler approximation method

19 November, 2014   

Enable a link after a set period of time.

04 July, 2011   

Animation with threads by John E. Grayson

02 November, 2016   

A PHP template for dealing with any sort of error

03 October, 2013   

Basic commands for reading a text file one line at a time.

A javaScript loop example with Do While loop

27 May, 2013   

Example shows here how to compress CSS with PHP

29 October, 2011   

Here shown an example how to Compress CSS with PHP

Have you ever wanted to know how much memory one of your PHP scripts uses when it runs? You might want this information if your script has a memory leak or takes a long time to execute. If that's the case then there's a great built-in function called memory_get_usage, which will display the exact amount of memory being used by your script. This...

29 December, 2011   

ASP code example for a random link, each time you load the page, it will display one of two links: Xentrik.net OR Xentrik Snippets.

23 April, 2011   

Below is a basic feedback form script 'feedback.asp'. You can add your own validation. Once the visitor has filled in all the form textfields an email will be sent with the feedback details including the date and time and the visitor's IP address to the email specified in the script.

20 June, 2016   

How to find the next X day after a given Date time.

Optimize your website loading time by compressing files into smaller size.

Sometimes you need to generate passwords for customers automatically when a new account is created. This code allows you choose the desired length and strength for the password and it is very flexible.

Use this in the <head> of your HTML files.

Fortran programmer should always write new code in Fortran 90 or Fortran 95, but for those of you stuck on a desert island with only a FORTRAN 77 compiler at your disposal, here's a way to write a recursive subroutine. FORTRAN 77 subroutines and functions are not allowed to call themselves directly. Attempting to do such will result in a compile...