Documente Academic
Documente Profesional
Documente Cultură
NEW DIMENSIONS
INFOTECH
New Dimensions InfoTech is a software
development & Network Solution Provider
company delivering services of any complexity to
clients. The company provides professional
solution to generate revenue streams, establish
better communication or streamline business
operations.
VISION & MISSION
Pursuit of Excellence
Memory Manager
Internal
Syntactic & Functions
Internal SQL
Semantic servers
Functions
Parser Standard &
API misc
Web server libraries
Interface Loadable
Token
PHP modules
Cache
main Syntax
Highlighter
Lexical
Scanner
PHP files
HOW PHP WORKS
HTTP REQUEST
HTTP RESPONSE
Web browser
APACHE
MYSQL
SERVER
WINDOWS OS PHP
SQL QUERY
Result Set
LINUX OS
CLIENT SERVER
BASIC DEVELOPMENT CONCEPTS
INSERT PHP CODE INTO A WEB PAGE
ADD A COMMENT TO A PHP PAGE
CREATE A NUMERIC VARIABLE
CREATE A STRING VARIABLE
WORKING WITH OPERATORS
USING THE CONDITIONAL STATEMENT
WORKING WITH ARRAYS
USING FUNCTIONS
FILE OPERATIONS
CREATING FORMS
DATABASES
INSERT PHP CODE INTO A WEB PAGE
PHP code is inserted into HTML code using the <? php opening delimiter and
the ?> closing delimiter. The delimiters tell the Web server where the PHP
code begins and ends. You can add multiple sections of PHP code to
an HTML document.
ADD A COMMENT TO A PHP PAGE
A variable is a name that represents a value. To create a numeric variable, you use the
assignment operator (=) to assign an initial value to a variable name. A numeric variable
can also store a negative value or no value at all. In PHP, a variable name must start with
a dollar sign ($).The next character must be a letter or the underscore character (_)
followed by any combination of letters and number. Variable names are case sensitive.
STRING VARIABLE
To create a string variable, you use the assignment operator (=) to assign a
string value to a variable name. A variable name must begin with a dollar
sign ($) followed by a letter or the underscore character (_). Variable names
can consist of multiple words and are case sensitive.
My Web Site
WORKING WITH OPERATORS
CONCATENATION OPERATOR
INCREMENT AND DECREMENT OPERATORS
ASSIGNMENT OPERATORS
LOGICAL OPERATORS
BITWISE OPERATORS
COMPARISON OPERATORS
USING THE CONDITIONAL STATEMENT
Writing data to text files allows you to store data, such as configuration settings and
application information. There are several different access modes you can use when opening
a file. Each access mode places the file position indicator in a specific location.
ACCESS MODE: DESCRIPTION:
r :Open a file for reading only. Place the file position indicator at the start of the file.
r+: Open a file for reading and writing. Place the file position indicator at the start of the
file.
w :Open a file for writing only. Place the file position indicator at the start of the file. Create
the file if it does not exist.
w+: Open a file for reading and writing. Place the file position indicator at the start of the
file. Create the file if it does not exist.
a :Open a file for writing only. Place the file position indicator at the end of the file. Create
the file if it does not exist.
a+: Open a file for reading and writing. Place the file position indicator at the end of the file.
Create the file if it does
CREATE A FORM
Adding a form to a Web page allows you to gather data
from users who visit the page You use the <form> tag to
create a form and the action attribute to specify the
location and name of the PHP page that will process the
data entered into the form. If the PHP page is not stored
on the same Web server as the Web page containing the
form, you must specify the full URL of the PHP page. You
must also specify which method the form will use to pass
data to the PHP page. There are two methods the form can
use–get and post The get method sends data to the PHP
page by appending the data to the URL of the page. The
post method sends the data and the URL separately
DATABASES
One of the most useful features of PHP is the ability to
access a database. Databases store and manage large
collections of information. PHP pages can be used to
make this information available to the users who visit
your Web site. Using databases to store information and
then using PHP pages to access that information is an
efficient method of displaying up-to-date information in
a Web site.
SOFTWARES USED
XAMPP
XAMPP is a free and open source cross-platform web server package, consisting
mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts
written in the PHP and Perl programming languages.
XAMPP's name is an acronym for:
X (meaning cross-platform)
Apache HTTP Server
MySQL
PHP
Perl
XAMPP is used to actually serve web pages on the World Wide Web. A special tool
is provided to password-protect the most important parts of the package. XAMPP
also provides support for creating and manipulating databases
in MySQL and SQLite among others.
SOFTWARES USED
Macromedia Dreamweaver
Registration page takes information from user using forms. It can be done
for hospital, clinic, doctors & blood donors. This information is processed
using SQL queries and are saved to maintain a database.
APPOINTMENT
Appointment can be taken from the website by filling form details and
submitting. This can also be done for all the three streams.
ABOUT US