PENTA INFOSOFT {ON PHP}
#1

SUBMITTED BY: -
LOKESH KR.YADAV

[attachment=12422]
INTRODUCTION
INTRODUCTION ABOUT COMPANY

PENTA INFOSOFT is a national initiative to mobilize indigenous human and technical resources in a bid to attain technological competency in the evolving arena of knowledge and talent. PENTA INFOSOFT offers a wide spectrum of technical courses and application courses designed to suit every skill level. Our products and services have a wide appeal and are applicable those in varied positions including network administrators, systems analysts, test engineers, software developers, help desk staff. PENTA INFOSOFT is a leading Global Talent Development Corporation, building skilled manpower pool for global industry requirements. The company which was set up to help the nascent IT industry overcome its human resource challenges embedded system developers and applications on technical skills.
PENTA INFOSOFT’s training solutions in IT, Embedded skills, VHDL skills is to brush up talent of YOUNG GUNS of INDIA. PENTA INFOSOFT expertise in learning content development, training delivery, consultancy and education process management makes it the most preferred training partner, nationwide. Research-based Innovation has enabled the organization to develop programs and curricula that use cutting-edge instructional design methodologies and training delivery. PENTA INFOSFT is a organization which is working to brush up the skills of engineers by the well trained professionals on the latest modules according to the need of company. The goal of this education is not only confined to give education about things, we are also giving them such a ambience that they can excel themselves in this innovative world of knowledge. In last years PENTA INFOSOFT has emerged as a reputed R&D institute and also provides jobs in the core areas of engineering in the electronics and IT in developing and deploying various products for different economic sectors
PHP
Introduction:
PHP is basically a server side scripting language for creating dynamic web pages. The first version of PHP was created by Rasmus Lerdrof in 1994 with the help of using Web Publishing macros. This was basically a CGI wrapper that helped home page to keep track of who was looking at his online resume. website. Initially it was released as PERSONAL HOME PAGE tools and later modified and extended to include a package called the Form Interpreter (PHP/FI).
In the meanwhile of 1997, PHP was being used on 50,000 sites worldwide and it was creating a big problem to manage by a single person. But , in year 1998, Zeev Suraski and Andi Gutmans, the two Israeli programmers who were also the founder of Zend Inc. developed t he latest versions PHP3 and PHP4. Basically, PHP4 was developed with intention of enhancing the Object Oriented Functionality (OOP’s) in PHP. Finally, it was renamed as HYPERTEXT PREPROCESSOR.
Finally, undergoing such a onerous task they successfully launched a new version PHP5 in the year 2004 and that comprises the features of OOP’s and with Zend Engine.
The features which lagged in PHP4 was MySQL extension and XML.
Some features included in the PHP5 to lessen the codes and more flexible to use.
1. Robust Support for OOP
2. A Completely Rewritten MySQL Extension
3. Interoperable XML tools
4. Embedded Database with SQLite
5. Cleaner Error Handling with Exceptions
6. First-Class SOAP Implementation
7. Iterators
PHP Data Types:
PHP supports the following types:

• integer
• floating-point numbers
• string
• object
• array
IntEgers:
Integers can be specified using any of the following syntaxes:
$a = 1234; # decimal number
$a = -123; # a negative number
$a = 0123; # octal number (equivalent to 83 decimal)
$a = 0x12; # hexadecimal number (equivalent to 18 decimal)
Floating point numbers
Floating point numbers ("doubles") can be specified using any of the following syntaxes:
$a = 1.234; $a = 1.2e3;
Strings
Strings can be specified using one of two sets of delimiters.
If the string is enclosed in double-quotes ("), variables within the string will be expanded (subject to some
parsing limitations). As in C and Perl, the backslash ("\") character can be used in specifying special
characters:
Escaped characters
sequence meaning
\n newline
\r carriage
\t horizontal tab
\\ backslash
\$ dollar sign
\" double-quote
\[0-7]{1,3} the sequence of characters matching the regular
expression is a character in octal notation
\x[0-9A-Fa-f]{1,2} the sequence of characters matching the regular
expression is a character in hexadecimal notation
You can escape any other character, but a warning will be issued at the highest warning level.
The second way to delimit a string uses the single-quote ("’") character. When a string is enclosed in single
quotes, the only escapes that will be understood are "\\" and "\’". This is for convenience, so that you can
have single-quotes and backslashes in a single-quoted string. Variables will not be expanded inside a
single-quoted string.
Another way to delimit strings is by using here doc syntax ("«<"). One should provide an identifier after «<,
then the string, and then the same identifier to close the quotation. The closing identifier must begin in the
first column of the line.
<?php
/* Assigning a string. */
$str = "This is a string";
/* Appending to it. */
$str = $str . " with some more text";
/* This string will end up being ’<p>Number: 9</p>’ */
$num = 9;
$str = "<p>Number: $num</p>"
/* Get the first character of a string */
$str = ’This is a test.’;
$first = $str[0];
/* Get the last character of a string. */
$str = ’This is still a test.’;
$last = $str[strlen($str)-1];
?>
String conversion
When a string is evaluated as a numeric value, the resulting value and type are determined as follows.
The string will evaluate as a double if it contains any of the characters ’.’, ’e’, or ’E’. Otherwise, it will
evaluate as an integer.
The value is given by the initial portion of the string. If the string starts with valid numeric data, this will be
the value used. Otherwise, the value will be 0 (zero). Valid numeric data is an optional sign, followed by one
or more digits (optionally containing a decimal point), followed by an optional exponent. The exponent is an
’e’ or ’E’ followed by one or more digits.
When the first expression is a string, the type of the variable will depend on the second expression.
$foo = 1 + "10.5"; // $foo is double (11.5)
$foo = 1 + "-1.3e3"; // $foo is double (-1299)
$foo = 1 + "bob-1.3e3"; // $foo is integer (1)
$foo = 1 + "bob3"; // $foo is integer (1)
$foo = 1 + "10 Small Pigs"; // $foo is integer (11)
$foo = 1 + "10 Little Piggies"; // $foo is integer (11)
$foo = "10.0 pigs " + 1; // $foo is integer (11)
$foo = "10.0 pigs " + 1.0; // $foo is double (11)
Arrays:
Arrays actually act like both hash tables (associative arrays) and indexed arrays (vectors).
Single Dimension Arrays
PHP supports both scalar and associative arrays. In fact, there is no difference between the two. You can create an array using the list() or array() functions, or you can explicitly set each array element value.
$a[0] = "abc";
$a[1] = "def";
$b["foo"] = 13;
You can also create an array by simply adding values to the array. When you assign a value to an array
variable using empty brackets, the value will be added onto the end of the array.
$a[] = "hello"; // $a[2] == "hello"
$a[] = "world"; // $a[3] == "world"
Arrays may be sorted using the asort(), arsort(), ksort(), rsort(), sort(), uasort(), usort(), and uksort()
functions depending on the type of sort you want.
You can count the number of items in an array using the count() function.
You can traverse an array using next(), prev() and use() functions.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: ozone infosoft, zend breadcrumb, semippu quotes, zend baseurl, detail of civil engineering penta grapha, dushkal quotes, bsnl penta mmi code list,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  free download college alumni php project 1 2,617 29-11-2018, 08:33 PM
Last Post:
  source code for hall ticket generation in php 0 2,025 08-10-2018, 10:00 PM
Last Post: Guest
  source code for hall ticket generation in php 0 865 23-09-2018, 06:42 PM
Last Post: Guest
  virtual classroom project in php free download 0 418 27-05-2018, 06:42 PM
Last Post: Guest
  campus recruitment system php download project 0 619 30-04-2018, 11:47 PM
Last Post: Guest
  php source code on online student clearance system 0 407 26-04-2018, 06:21 PM
Last Post: Guest
  campus recruitment system php download project 0 790 14-04-2018, 07:04 PM
Last Post: Guest
  training and placement project in php free download 0 554 14-04-2018, 03:02 PM
Last Post: Guest
  source code for hall ticket generation in php 0 424 06-04-2018, 09:58 AM
Last Post: Guest
  training and placement project in php free download 0 437 27-03-2018, 01:02 PM
Last Post: Guest

Forum Jump: