HOME ASP PHP JAVASCRIPT C# Add Code   Turkish
 
     
  ASP Code Samples
PHP Code Samples
JavaScript Code Samples
C# Code Samples

ASP Code Samples

File copy in ASP

The CopyFile method copies a file or files from one location to another. When dealing with these methods, permissions are an important issue. The IUSR_machinename user ID must have write permissions to copy a file from one directory to another.
 

Controlling and Blocking IP Address

This codes provides you to control or block user?s IP addresses. We use Request.ServerVariables("REMOTE_ADDR") method to control user?s IP address.
 

PHP Code Samples

substr() function

substr returns part of a string.
 

strrpos Function

strrpos, Find position of last occurrence of a char in a string
 

JavaScript Code Samples

getDay() Method

getDay() returns the weekday as a number (0-6)
 

Vertical scrolling marquee

You can use the code below to vertically scroll the contents.
 

C# Code Samples

Delete all files

These examples show how to delete all files (*.*) from a folder in C#.
 

Executing MySQL Command with C#

This code provides with connecting the MySQL database and executing the SQL command.
 
 
  email : info@kodornekleri.com