Log In

  Sign In >
 
 

Other tips & tutorials Blogs

Comparing PHP to ASP - Week 4 - Looping

2 Jun 2010
tips-tutorials

Looping is an important part of any development language. For this tutorial we will look at some ...

 
 

Comparing PHP to ASP - Week 3 - Number Functions

24 May 2010
tips-tutorials

Welcome to the third part of our 5 part tutorial where we will compare PHP with Classic ASP

 
 

Comparing PHP to ASP - Week 2 - String Functions

18 May 2010
tips-tutorials

Welcome to the second part of our 5 part tutorial where we will compare PHP with Classic ASP

 
 

Week 5 - JQuery and AJAX

26 Mar 2010
tips-tutorials

This week I will show you probably the main benefit of learning JQuery. AJAX (Asynchronous ...

 
 

Week 4 - Changing CSS attributes

19 Mar 2010
tips-tutorials

This week I will show you how to add CSS styles to elements on a page of your website.

 
 

Categories

Archive

2010
2 3 4 5 6 7 8 9 10 11 12

 

 

Comparing PHP to ASP - Week 1 - The Basics

10 May 2010 - tips-tutorials

Comparing PHP to ASP - Week 1 - The Basics

Welcome to the first part of our 5 part tutorial where we will compare PHP with Classic ASP.

The objective of these tutorials is to show you how to do some basic programming in PHP and compare it to how you would do it in Classic ASP using VB Script.

This five part tutorial will be split into five sections:

  • Part 1 - The Basics
  • Part 2 - String Functions
  • Part 3 - Number Functions
  • Part 4 - Looping
  • Part 5 - Sessions and Cookies

For this first tutorial, we will go through some programming basics and compare how to use them in both PHP and Classic ASP.

Writing Code in PHP

Writing Code in Classic ASP

Writing Comments in PHP

Writing Comments in Classic ASP

Creating Variables in PHP

Creating Variables in Classic ASP

Note : Each line is ended with a ; in PHP. This is not needed in Classic ASP.

Write to a Browser in PHP

Write to a Browser in Classic ASP

Create an Array in PHP

Create an Array in Classic ASP

Note : Arrays in both languages are zero based, meaning the first item is referenced as 0, second as 1 etc..

Form Values using GET Method in PHP

Form Values using GET Method in Classic ASP

Form Values using POST Method in PHP

Form Values using POST Method in Classic ASP

Note : When collecting information from a form, client and server side validation should be used.

I hope you have enjoyed part 1 of our 5 part tutorial. Look out for part 2 on string functions coming soon.

Simon Lait
Website Developer, Candeo Media

SHARE THIS

Your Comments

There are no comments for this post yet.

Comment on this Post

 
 
 
verification image

Please enter the verification code that appears in the box above into the box below to proceed:

 
 
 
 
 
 
Web Design & Development, Graphic Design, Email Newsletter Marketing, Search Engine Optimisation, Web Application Development, Social Networking and more...
 
 
Close

Sign up to our newsletter