Ftp Server Snippets

Normally index.html or index.php is the default page a server serves up when visiting a directory without specifying a file name. You can change this with .htaccess:

05 May, 2012   

ASP code example to return a long representing the record count returned by an SQL statement

Asp.Net code snippet for Database Query Within WebServices

An example code to restore MSSQL database from backup

Usually when you try to download something from a web server you get a request asking whether you want to save the file or open it. To avoid that you can use the below code on your .htaccess file

How to close child window when parent window is closed using JavaScript in asp.net application

13 October, 2013   

To create 'examples' database on your MySQL server you should run the following script

Whenever a row is inserted in the Customers Table, the following trigger will be executed.

30 December, 2010   

Class to back up entire databases and email them out, or individual tables

11 March, 2015   

PHP code shows how to upload images into a mysql database using

To get a user count the code below goes in your "global.asa" file which needs to go in the root of your web site. You web site must be properly set up as an application in IIS for this file to fire and do it's thing.

Sending short text messages with socket datagrams is simple to implement and provides a very lightweight message passing idiom.

09 February, 2011   

Class to back up entire databases and email them out, or individual tables.

This is an example for Form Based Query

29 December, 2011   

ASP code example to redirect the user to a different URL.

25 May, 2013   

PHP code for how to get Remote IP Address

This PHP script will get the day of the week from the server date and then display an image (jpg or gif) to match.

15 January, 2020   

Error Loging in ASP.NET

06 October, 2012   

Code for dynamic add css file in header

23 October, 2012   

MySQL code example for sorting data in a GRID