Test your Technical Knowledge that how much you are ready to cope with the professional environment.We are ready to launch the technical test section that gives you to test over multi-language like PHP,My-SQL,SQl-Server,.Net,J2EE etc.
More Info Click Here
Monday, March 3, 2008
Thursday, January 31, 2008
PHP - Basic
What is this?
Taken directly from PHP’s home, PHP.net , “PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.”
This is generally a good definition of PHP. However, it does contain a lot of terms you may not be used to. Another way to think of PHP is a powerful, behind the scenes scripting language that your visitors won’t see!
When someone visits your PHP webpage, your web server processes the PHP code. It then sees which parts it needs to show to visitors(content and pictures) and hides the other stuff(file operations, math calculations, etc.) then translates your PHP into HTML. After the translation into HTML, it sends the webpage to your visitor’s web browser.
For more Click Here
Taken directly from PHP’s home, PHP.net , “PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.”
This is generally a good definition of PHP. However, it does contain a lot of terms you may not be used to. Another way to think of PHP is a powerful, behind the scenes scripting language that your visitors won’t see!
When someone visits your PHP webpage, your web server processes the PHP code. It then sees which parts it needs to show to visitors(content and pictures) and hides the other stuff(file operations, math calculations, etc.) then translates your PHP into HTML. After the translation into HTML, it sends the webpage to your visitor’s web browser.
For more Click Here
Active Server Page - Date,Time and Text
Displaying the Current Date and Time
The date and time described in this section are those that are on the server.
Date
To display the current date by itself in a Web page, type:
<% =date %>
at the point where you want it to appear. When you view the page in your browser, you should see something like this:Thu, Jan 23, 1997.
Time
To display the current time by itself, type:
<% =time %>
where you want it to appear. When you view the page, you should see something like this:4:19:46 PM.
Displaying Text
len
The len function tells you how many characters are in a word or sequence of words.
(The name “len” is an abbreviation of “length.”) All characters are counted, including the space character. For example, to find the length of the sentence “The cat is on the mat,” type this into a Web page:
There are <% =len("The cat is on the mat.") %> characters
in "The cat is on the mat."
When you view the page in Internet Explorer, you should see this:There are 22 characters in “The cat is on the mat.”
For more Click Here
The date and time described in this section are those that are on the server.
Date
To display the current date by itself in a Web page, type:
<% =date %>
at the point where you want it to appear. When you view the page in your browser, you should see something like this:Thu, Jan 23, 1997.
Time
To display the current time by itself, type:
<% =time %>
where you want it to appear. When you view the page, you should see something like this:4:19:46 PM.
Displaying Text
len
The len function tells you how many characters are in a word or sequence of words.
(The name “len” is an abbreviation of “length.”) All characters are counted, including the space character. For example, to find the length of the sentence “The cat is on the mat,” type this into a Web page:
There are <% =len("The cat is on the mat.") %> characters
in "The cat is on the mat."
When you view the page in Internet Explorer, you should see this:There are 22 characters in “The cat is on the mat.”
For more Click Here
Active Server Page - Cookies
Cookies method is very similar to Session method: the basic difference is that with Cookies method the information is save in the clients computer and not in the server, so it is more suitable for sites with a lot of visitors. This method implies sending information to the client and requesting it whenever the information is needed. Additionally, we will learn how to delete the information save in the clients computer when it is not necessary anymore.When the visitor gets to our asp file we may save information related with him in his computer. The order will be like this one:
<% response.Cookies (”whatever”)=”information” %>
For More Info Click Here
<% response.Cookies (”whatever”)=”information” %>
For More Info Click Here
ASP Interview Question
Question : How are scripts executed?
Answer : ASP provides scripting engines that execute the corresponding scripting languages on the server side. Scripts should be encoded within the “< %…. %”.
Question : Explain the building blocks of Client/Server?
Answer : The client side building block runs the client side of the application. The server side building block runs the server side of the application.
Question : Explain the POST & GET Method or Explain the difference between them.
Answer : POST METHOD:
The POST method generates a FORM collection, which is sent as a HTTP request body. All the values typed in the form will be stored in the FORM collection.
GET METHOD:
The GET method sends information by appending it to the URL (with a question mark) and stored as A Querystring collection. The Querystring collection is passed to the server as name/value pair. The length of the URL should be less than 255 characters.
Question : What are the advantages of using ASP?
Answer : HTML is used only to create static web pages (which displays information) With the use of ASP one can create dynamic web pages,where client can communicate with the web server and vice versa. Thus using ASP interactive webpages can be created.
Question : What is the maximum data can be sent as a querystring?
Answer : Maximum length is 2084 in IE…
Need More Questions & Answers Click Here
Answer : ASP provides scripting engines that execute the corresponding scripting languages on the server side. Scripts should be encoded within the “< %…. %”.
Question : Explain the building blocks of Client/Server?
Answer : The client side building block runs the client side of the application. The server side building block runs the server side of the application.
Question : Explain the POST & GET Method or Explain the difference between them.
Answer : POST METHOD:
The POST method generates a FORM collection, which is sent as a HTTP request body. All the values typed in the form will be stored in the FORM collection.
GET METHOD:
The GET method sends information by appending it to the URL (with a question mark) and stored as A Querystring collection. The Querystring collection is passed to the server as name/value pair. The length of the URL should be less than 255 characters.
Question : What are the advantages of using ASP?
Answer : HTML is used only to create static web pages (which displays information) With the use of ASP one can create dynamic web pages,where client can communicate with the web server and vice versa. Thus using ASP interactive webpages can be created.
Question : What is the maximum data can be sent as a querystring?
Answer : Maximum length is 2084 in IE…
Need More Questions & Answers Click Here
Subscribe to:
Posts (Atom)