Progress Report
Progress Report
Progress Report
on
Submitted by:
CANDIDATES DECLARATION
We hereby certify that the work, which is being presented in the project, entitled
“Dynamic Websites using PHP and MySQL”, in partial fulfillment of the requirement for
project of B.Tech and submitted to the institution is an authentic record of our own work
carried out during the period 12/19 to 2/20 . We have also cited the reference about the
text(s)/ figure(s)/ table(s) from where they have been taken.
This is to certify that the above statement made by the candidates is correct to the best of
my knowledge.
i
Title: Dynamic Websites Using PHP And MySQL
Introduction:
PHP is the most popular scripting language for web development. It is free, open
source and server-side (the code is executed on the server). MySQL is a Relational Database
Management System (RDBMS) that uses Structured Query Language (SQL). It is also free and
open source. The combination of PHP and MySQL gives unmet options to create just about any
kind of website - from small contact form to large corporate portal.
Our research area mainly focuses on connecting web databases made on PHP using MySQL
Servers.
The motivation behind this project was our interest in back end web-development,mostly
people admire the beauty of the software or the website but never try to get to know whats
behind it.They don’t feel like knowing the backend scripts that made it possible for them to
navigate through the website.Our aim is to develop interest in the minds of clients and people
interested in web development to get beyond front-end scripting and dive into the vast ocean
of knowledge and interpretations that back-end offers,that is why we have chosen PHP and
MySQL as our languages in order to script the back-end of the website in an efficient manner.
PHP was at first created as a simple scripting platform called "Personal Home Page".
Nowadays PHP is an alternative of the Microsoft's Active Server Pages (ASP) technology.PHP is
an open source server-side language which is used for creating dynamic web pages. It can be
embedded into HTML. PHP is usually used in conjunction with a MySQL database on Linux/UNIX
web servers. It is probably the most popular scripting language.PHP is a widely-used general-
purpose scripting language and interpreter that is freely available.
MySQL is a freely available open source Relational Database Management System (RDBMS)
SQL is the most popular language for adding, accessing and managing content in a database. It
is most noted for its quick processing, proven reliability, ease and flexibility of use. MySQL is an
essential part of almost every open source PHP application. Good examples for PHP & MySQL-
based scripts are WordPress, Joomla, Magento and Drupal.
One of the most important things about using MySQL is to have a MySQL specialized host.
1
Problem Statement:
2
Objectives:
3
Preliminary Literature Review
Preliminary literature review: provide a summary of previous related research on the research
problem and their strength and weakness and a justification of your research - What is known/what
have been done by others? And, why your research is still necessary?
4
Methodology:
In order to create a MySQL database, you need to launch the XAMPP application first.
And click on the Database tab. Now you should see the option to Create a Database and
input field to enter the database name. Write the database name and hit the ‘Create’
button. You will see a success message in a while.
From the list of tables, you can view your database. You are free to use this database
wherever you like with default settings. By default the HostName is ‘localhost’, MySQL user
is ‘root’ and have no password.
Tables play a vital role in the storage of information (dynamic content). On XAMPP MySQL
store the information in the tables. You can easily add tables to MySQL using the intuitive
phpMyAdmin user interface. In the phpMyAdmin click on the ‘Structure’ tab. Below the
tables list at the bottom of the page, click on the ‘Create new table on database’ wizard to
get started. First, add the table name and the total number of fields and hit the ‘Go’ button.
This way you will be launched to a step-by-step wizard where you need to fill up the
required fields. First off, name all the fields and select the relevant type for every field.
However, in order to choose the type, use ‘Type’ drop-down menu and fill a value for the
length of each field. Next, assign ‘Attribute’ to each field. From the ‘Null’ drop-down menu
select the null option and define whether the specified field is a primary key or not. And
finally, select the table type and collation method and click the ‘Save’ button to finish the
table creation process.
When we install the XAMPP server on a local machine, by default the username is ‘root’
and the password remains empty. Since it is a local server that’s why developers don’t set
any password. However, it’s entirely your choice to set or change the password to
phpMyAdmin on XAMPP. If you want to set a password you can follow the following steps.
5
Start the XAMPP server by clicking on the ‘Start’ button parallel to MySQL and Apache
server.
Parallel to MySQL in the Actions column, click on the ‘Admin’ button. And this will open a
page whose URL will be localhost/phpmyadmin. However, you can directly open this page
simply by entering this URL in the browser.
On this page, click on the ‘User accounts’ option at the top of the page.
Now press the ‘Edit Privileges’ under ‘Actions’ option for the Username ‘root’ and
Hostname ‘localhost.’
Now choose the third tab ‘Change password’ and type your password in the provided field,
retype the password to confirm it and then finally click on the ‘Go’ key to conclude the
process.
Now in order to access the respective PHP file we have to navigate to localhost/h<name of
the directory>/
.
6
Expected Outcome:
The expected outcome will be the respective PHP website linked with the MySQL
database on the local server of APACHE.
Navigation through various sections of the page when given a particular dataset is
possible with MySQL,thus providing data security to various sections of the
website.
References: