php Vs Html

0 comments Posted by Stephen thangaraj at 19:02

How To Create a Web Form?
If you take input data from visitors on your Web site, you can create a Web form with input fields to allow visitors to fill in data and submit the data to your server for processing. A Web form can be created with the <FORM> tag with some input tags. The &FORM tag should be written in the following format:
Where "processing.php" specifies the PHP page that processes the submitted data in the form.
<form action=processing.php method=get/post>......</form>


Read More »

Files in PHP

0 comments Posted by Stephen thangaraj at 18:58
How To Read a Text File into an Array?
If you have a text file with multiple lines, and you want to read those lines into an array, you can use the file() function. It opens the specified file, reads all the lines, puts each line as a value in an array, and returns the array to you. Here is a PHP script example on how to use file():
Read More »

sample questions

0 comments Posted by Stephen thangaraj at 18:57
Function in php

What Is the Scope of a Variable Defined in a Function?
The scope of a local variable defined in a function is limited with that function. Once the function is ended, its local variables are also removed. So you can not access any local variable outside its defining function. Here is a PHP script on the scope of local variables in a function:
<?php
?>
function myPassword() {
  $password = "U8FIE8W0";
  print("Defined inside the function? ". isset($password)."\n");
}
Read More »

client Server Scripting Vs Severside Scripting

0 comments Posted by Stephen thangaraj at 18:44


Scripting



Modern web browsers typically provide a language for writing extensions to the browser itself, and several standard embedded languages for controlling the browser, including JavaScript (a dialect of ECMAScript) or XUL. Types of scripting languages Job control languages and shells Main article: Shell script A major class of scripting languages has grown out of the automation of job control, which relates to starting and controlling the behavior of system programs.These languages may be technically equivalent to an application-specific extension language but when an application embeds a "common" language, the user gets the advantage of being able to transfer skills from application to application.

Web browsers Client-side scripting Web browsers are applications for displaying web pages.

A scripting language is usually interpreted from source code or bytecode. By contrast, the software environment the scripts are written for is typically written in a compiled language and distributed in machine code form; the user may not have access to its source code, let alone be able to modify it.

The first interactive shells were developed in the 1960s to enable remote operation of the first time-sharing systems, and these used shell scripts, which controlled running computer programs within a computer program, the shell.

General-purpose dynamic languages See also: Dynamic programming language Some languages, such as Perl, began as scripting languages[8] but were developed into programming languages suitable for broader purposes.

(In this sense, one might think of shells as being descendants of IBM's JCL, or Job Control Language, which was used for exactly this purpose.) Many of these languages' interpreters double as command-line interpreters such as the Unix shell or the MS-DOS COMMAND.COM.

Embedding of such general purpose scripting languages instead of developing a new language for each application also had obvious benefits, relieving the application developer of the need to code a language translator from scratch and allowing the user to apply skills learned elsewhere. GUI scripting With the advent of graphical user interfaces, a specialized kind of scripting language emerged for controlling a computer. These languages could in principle be used to control any GUI application; but, in practice their use is limited because their use needs support from the application and from the operating system.

He originally called this processor COMMAND, later named EXEC. Multics included an offshoot of CTSS RUNCOM, also called RUNCOM. Languages such as Tcl and Lua were specifically designed as general purpose scripting languages that could be embedded in any application. These include JavaScript; VBScript by Microsoft, which only works in Internet Explorer; XUL by the Mozilla project, which only works in Firefox; and XSLT, a presentation language that transforms XML content into a new form. scripting language or script language is a programming language that supports the writing of scripts, programs written for a software environment that automate the execution of tasks which could alternatively be executed one by one by a human operator.


Client-side scripts are sent by the server "as-is" and are run by the client's computer. Other applications embedding ECMAScript implementations include the Adobe products Adobe Flash (ActionScript) and Adobe Acrobat (for scripting PDF files).



]Text processing languages The processing of text-based records is one of the oldest uses of scripting languages. Emacs Lisp, while a fully formed and capable dialect of Lisp, contains many special features that make it most useful for extending the editing functions of Emacs.



Scripts can be run by web browsers to change the appearance or behaviour of a web page, for example, to change the content to be specific to the current user.Early mainframe computers (in the 1950s) were non-interactive, instead using batch processing.

Multics calls these active functions. Louis Pouzin wrote an early processor for command scripts called RUNCOM for CTSS around 1964. 





Client Scripting Server Scripting
Client side scripting is a script, (ex. Javascript, VB script), that is executed by the browser (i.e. Firefox, Internet Explorer, Safari, Opera, etc.) that resides at the user computer
Client side scripting can access files and settings that are local at the user computer.
Client side scripting consumes cycles from user's computer not web server one, while server side scripting consumes cycles form web server one
Server side scripting, (ex. ASP.Net, ASP, JSP, PHP, Ruby, or others), is executed by the server (Web Server), and the page that is sent to the browser is produced by the serve-side scripting.
 
So when a server sends out a page, it executes server-side scripts, but does not execute client-side scripts. Once the browser receives the page, it executes the client-side scripts.
 
Server side scripting can connect to databases that reside on the web server or another server reachable from web server. Client side scripting cannot do that.
 
Server side scripting can access the file system that reside at the web server, client side cannot.
 
Server side scripting can access settings belong to Web server while client side cannot.





Read More »

Endhukante Premanta songs free download

0 comments Posted by Stephen thangaraj at 18:10
Free songs 

The movie is being directed by Karunakaran, a master of romantic dramas. Sources familiar with the project say that the film is about the confusion faced by young people when they fall in love. Karunakaran has reportedly treated the subject beautifully and the audience can expect a visually beautiful romantic feast


Endhukante Premanta Tamil Movie, Endhukante Premanta Songs Free Download Music By G. V. Prakash Kumar - Endhukante Premanta
Featuring : Ram Tamannaah

Read More »

In array

0 comments Posted by Stephen thangaraj at 17:37
How To Join a List of Keys with a List of Values into an Array?
If you have a list keys and a list of values stored separately in two arrays, you can join them into a single array using the array_combine() function. It will make the values of the first array to be the keys of the resulting array, and the values of the second array to be the values of the resulting array. Here is a PHP script on how to use array_combine():
<?php
$old = array();
$old["Zero"] = "PHP";
$old[1] = "Perl";
$old["Two"] = "Java";
$old["3"] = "C+";
$old[""] = "Basic";
$old[] = "Pascal";
$old[] = "FORTRAN";
$keys = array_keys($old);
$values = array_values($old);
print("Combined:\n");
$new = array_combine($keys, $values);
print_r($new);
print("\n");
 
print("Combined backward:\n");
$new = array_combine($values, $keys);
print_r($new);
print("\n");
?>
This script will print:
Combined:
Array
(
    [Zero] => PHP
    [1] => Perl
    [Two] => Java
    [3] => C+
    [] => Basic
    [4] => Pascal
    [5] => FORTRAN
)
Combined backward:
Array
(
    [PHP] => Zero
    [Perl] => 1
    [Java] => Two
    [C+] => 3
    [Basic] =>
    [Pascal] => 4
    [FORTRAN] => 5
)
Read More »

Basic PHP questions and Answers

0 comments Posted by Stephen thangaraj at 17:23

How To Assigning a New Character in a String?
The string element expression, $string{index}, can also be used at the left side of an assignment statement. This allows you to assign a new character to any position in a string. Here is a PHP script example:
<?php 
$string = 'It\'s Friday?';
echo "$string\n";
$string{11} = '!';
echo "$string\n";
?>
This script will print:
It's Friday?
It's Friday!
Read More »

Shortcut keys

0 comments Posted by Stephen thangaraj at 17:08

Blogger Shortcut keys

Shortcut keys help provide an easier and usually quicker method of navigating and using computer software programs.Shortcut keys are commonly accessed by using the Alt (on IBM compatible computers), command key (on Apple computers), Ctrl, or Shift in conjunction with a single letter
Read More »

PHP Quiz

0 comments Posted by Stephen thangaraj at 16:45
What Are the Special Characters
What Are the Special Characters You Need to Escape in Single-Quoted Stings?
There are two special characters you need to escape in a single-quote string: the single quote (') and the back slash (\). Here is a PHP script example of single-quoted strings:
<?php 
echo 'Hello world!'; 
echo 'It\'s Friday!'; 
echo '\\ represents an operator.'; 
?>
This script will print:
1.Hello world!It's Friday!\ represents an operator.                .
  Hello world!It\'s Friday!\ represents an operator.          
 
2.Hello world!It's Friday!\\ represents an operator
    Hello world!It/'s Friday!/represents an operator.

Read More »

C

0 comments Posted by Stephen thangaraj at 02:11
programming in c

Tips for c program




  
Tips For programing in c

Basically the  c program sucessive rate  depending the following things

1.Algorithm Efficiency
2.Memory
3.predicted output
4. Data Flow
Algorithm efficiency
              is used to describe properties of an algorithm relating to how much of various types of resources it consumes. Algorithmic efficiency can be thought of as analogous to engineering productivity for a repeating or continuous process, where the goal is to reduce resource consumption, including time to completion, to some acceptable, optimal level.
Memory
           Use a minium of memory space for programming storage that also increase your sucessive rate
Predicted output
                  The user are customer need the exact output that means he wants the Desired output.If achive the criteria then the sucessive rate increase
Data Flow or Reduce the code
      In your code is to lenghtly it also taken much more time to execute it.so try to avoid unnecessary statements

Example:If you are using a printf() statement in your programming each character is to take print more times compare then 1000 of times of executing a loop

                                   Top Ten tips
1.First given a meaning full name for your programming file name
2.using comments and give the detail about the code /**/
3.Declaring a variable name as meaning full
4.Avoid the looping Statement(Recursive)
5.Dont use the Goto functions
6.Using a printing statement minimum level in your program ex:printf()
7. To write a function for repeated using statements
8.Reduce the unneccessary variable
9.Allocate and use minimum of memory
10.try to reduce the programming length






Read More »

software programmer,programming Tips

0 comments Posted by Stephen thangaraj at 01:18

Programming in c,c++,java



Hello guys,
   Now days many more people are interested to study the programmatic courses look like a programming in c,c++,java,.net etc......but all the people are not shine to the software field.The reason is they don't know awareness about the method of programming.I have some tips to writing a best program

Read More »

FreeWare

0 comments Posted by Stephen thangaraj at 00:36
Delete Duplicate Files
 Daily computer activity inevitably leads to accumulating identical files on your computer, especially if you are an active PC user. You may not realize how many duplicate files you have after downloaded many files from the Internet or duplicate files scattered over your home or corporate network. Find files with same contents, same name and zero size. Keeping unnecessary duplicates on your computer means wasting valuable hard disk space.
If you have a music collection of several hundreds or even thousands mp3-files, you may want to sort them by deleting identical tracks.
Read More »

C program source codes

0 comments Posted by Stephen thangaraj at 18:11

C program source codes
1.analog clock
2.shell Short

/*PROGRAM TO CONSTRUCT THE CLOCK*/
#include<iostream.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
#include<process.h>
#include<math.h>
#define PI 3.14
#include<stdio.h>
void main()
{
Read More »

Songs Free Download

0 comments Posted by Stephen thangaraj at 18:06


Tamil Songs Free Download




Melody Beats




For All Time Best melody songs Melody Beats
1.       Mobila
2.       Nee Thoogum
3.       Nenjukkul
4.       Ondra Renda
5.       Pesugiren!!s
6.       Thottu
7.       Uppu Kallu
8.       Vaa Chellam
9.       Vasikara
10. Vizhiyil



Click the Image To download


Read More »

Interview Tips

0 comments Posted by Stephen thangaraj at 17:27
Campus/off campus interviews 
So what if you are not a mountaineer. Or a keen hiker. You still cannot treat your interview like a careless morning trot along a jogger's path. Your jaw-jaw at the interview table is nothing less than a cautious climb up a mountain trail--which begins around your early childhood and meanders through the years at the academia before reaching a new summit in your career. And as you retrace your steps down memory lane make sure that you post flags at important landmarks of your life and career, so that you can pop them before the interview panel scoops them out of you. You don't want to be at the receiving end, do you?
Read More »

Tips on an interview

0 comments Posted by Stephen thangaraj at 17:14
An investigation may take six months. A quick interview, profile, a day.
Professionalism
Interviews are like anything else in life, they take practice to perfect. The job market is highly competitive so you should always maintain a high standard of professionalism. This is guaranteed to impress your potential employer, as it will show focus and maturity.
Read More »

Social bookmarking sites

0 comments Posted by Stephen thangaraj at 16:51
Top 100 Social Bookmarking sites
Most social bookmark services encourage users to organise their bookmarks with informal tags instead of the traditional browser-based system of folders, although some services feature categories/folders or a combination of folders and tags. These bookmarks are usually public, and can be saved privately, shared only with specified people or groups, shared only inside certain networks, or another combination of public and private domains. As these services have matured and grown more popular, they have added extra features such as ratings and comments on bookmarks, the ability to import and export bookmarks from browsers, emailing of bookmarks, web annotation, and groups or other social network features.
Read More »
 

© 2011. All Rights Reserved | Interview Questions | Template by Blogger Widgets

Home | About | Top