Chapter 1 - ABOUT GRRAS

GRRAS Solutions Pvt. Ltd. 219, Himmat Nagar, Gopalpura Turn, Tonk Road, Jaipur (Raj.) CONTACT PERSON Mr Akhilesh Jain (Manager)

Refining the tenor of success and excellence, GRRAS is a conspicuous name among Linux training providers of country. GRRAS complete and advanced Linux courses add new feather to the success wing of IT professionals. GRRAS has removed the gap between theoretical Linux courses and practical knowledge of field by providing high quality real time Linux training. Grras is known for providing high quality and easy to grasp Linux training courses and tutorials .With several years of experience and expertise in Linux training industry, GRRAS has set benchmark for others through its comprehensive Linux courses across country. GRRAS is taking bask of having faculties of RHCSS rank. GRRAS is a renowned Linux training centre and authorized Linux training partner of Red Hat. Apart from RHCA/RHCSA/RHCSS training Grras also provides training in Networking providing CCNA/CCNP certification. GRRAS has come into existence as an end-to-end web solution provider in the international market. Located in Jaipur, India, the company is renowned for providing top-notch technology that any web-based project requires.


At GRRAS, you will get a wide range of enterprise level solutions at an affordable price. Since inception, Grras is providing incomparable web solutions and services that established us as a leading brand in the industry. Grras is a leading web hosting service provider of India. As a web solution provider Grras also provides Search Engine Optimization (SEO) services along with web development using php and mysql.


after that he cannot access the login page. 2.This software efficiently promotes Business for organizations with least technical knowledge. The users can query their requirements and the admin will be notified.2 SOFTWARE DESIGN AND COMPONENTS The design of software is such that there will be two levels/components. one is user level and other is Admin level. The Admin is also allowed for a three time trial. 2.3 FUNCTIONAL REQUIREMENTS VALIDATIONS Admin will have a Username and a Password. The software deals with an Admin Panel designed for a single user who is not a technocrate but a business person though providing secure and consistent data. It will ensure the application is secure as only Admin will be given Access. 2. 3 . Appropriate message will be given to the Admin. to protect application. and will be given access to the application only after matching these values.Chapter 2 – THE PROBLEM DEFINITIONS This software is designed to serve the Business Operations/Marketing Analysis of an Manufacturing/Marketing Organization . from being accessed by any Invalid user and hence ensuring important data from being accessed or even tampered. Login will be denied if the admin is not validated after matching Username and Password from the Database.1 OBJECTIVE The objective of software is to promote business by automating the process of:    Managing the software contents without technical knowledge. Secure flow of data in the hierarchy maintaining data integrity. Admin can change the contents of the user view. Direct consumer communication.

Secure login sessions and User name – password matching authentication provides the level of security needed. 4 . in which if captcha matches then only the queries of user will be entertained. Captcha is used to prevent filling of database by bots.An advancement for security is the CAPTCHA authentication. Secure sessions do not allow viewing pages even by providing the link .SECURITY Security is maintained at single level that is the Admin level. who can modify the whole user view. No user can modify the contents of the software.

which he used to maintain his personal homepage. Macromedia`s ColdFusion.Chapter 3 – LANGUAGE OF IMPLEMENTATION 3. This release already had the basic functionality that PHP has today. which can be embedded in HTML or used as a standalone binary (although the former use is much more common).3 VERSIONS OF PHP[3] PHP1.He rewrote these scripts in C for performance reasons.2 HISTORY OF PHP PHP development began in 1994 when the developer Rasmus Lerdorf wrote a series of Common Gateway Interface (CGI) Perl scripts.infosystems. PHP/FI could be used to build simple. and the ability to embed HTML.authoring. PHP2 These versions were primary versions of PHP which are now not at all used. although less consistent. PHP stands for PHP: Hypertext Preprocessor. form handling. 3. after months of work and beta testing. dynamic web applications. 3. and many people still think that`s what the acronym stands for. PHP is the Web Development Language written by and for Web developers. The tools performed tasks such as displaying his résumé and recording his web traffic[1] . But as it expanded in scope. Lerdorf initially announced the release of PHP/FI as "Personal Home Page Tools (PHP Tools) version 1. A development team began to form and. and Sun`s Java Server Pages[2]. Proprietary products in this niche are Microsoft`s Active Server Pages.0" publicly to accelerate bug location and improve the code.cgi Usenet discussion group on June 8.www. a new and more appropriate name was selected by community vote. 1995. The product was originally named Personal Home Page Tools. extending them to add the ability to work with web forms and to communicate with databases and called this implementation "Personal Home Page/Forms Interpreter" or PHP/FI. This included Perl-like variables. PHP is a server-side scripting language. The syntax was similar to Perl but was more limited and simpler. officially released PHP/FI 2 in November 1997.1 INTRODUCTION TO PHP PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML[1]. 5 . on the comp.

with many new developers from around the world joining the effort. that removed the implication of limited personal use that the PHP/FI 2. After roughly nine months of open public testing. which had all-but ceased as of November of the previous year.0 name held. independent programming language. and Macintosh. it was already installed on over 70. and NT.0 was its strong extensibility features. when the announcement of the official release of PHP 3. Active development of PHP/FI 2. 1998. The design goals were to improve performance of complex applications. protocols. Finding PHP/FI 2. This entirely new language was released under a new name.PHP: Hypertext Preprocessor. Approaching Rasmus online. they discussed various aspects of the current implementation and their redevelopment of PHP.000 domains around the world. began yet another complete rewrite of the underlying parser in 1997. was now officially ended. PHP 3. and Zeev decided to collaborate in the development of a new. At its peak.0. Such 6 .PHP 3 PHP 3. and APIs. PHP 4 By the winter of 1998. Rasmus. One of the biggest strengths of PHP 3. Israel. In an effort to improve the engine and start building upon PHP/FI's existing user base.0 was officially released. with the meaning becoming a recursive acronym .0 was installed on approximately 10% of the web servers on the Internet. shortly after PHP 3. Andi Gutmans and Zeev Suraski had begun working on a rewrite of PHP's core.0 still inefficient and lacking features they needed to power an eCommerce application they were developing for a university project.0 was the first version that closely resembles PHP as it exists today.0's tremendous success. In June. Arguably. It was renamed simply 'PHP'. and improve the modularity of PHP's code base. and was no longer limited to POSIX-compliant operating systems.0 was announced by the new PHP Development Team as the official successor to PHP/FI 2. 98.0 came. In addition to providing end users with a mature interface for multiple databases.0. Andi. this was the key to PHP 3. Andi Gutmans and Zeev Suraski of Tel Aviv. the ease of extending the language itself attracted dozens of developers who submitted a variety of modules. Other key features introduced in PHP 3. PHP 3. A relatively small share of the domains reporting PHP as installed were hosted on servers running Windows 95.0 included object-oriented programming support and a far more powerful and consistent language syntax.

and coupled with a wide range of additional new features. it is safe to presume PHP is now installed on tens or even perhaps hundreds of millions of domains around the world. and documentation. output buffering. PHP 5 PHP 5 was released in July 2004 after long development and several pre-releases. as well as dozens others working on PHP-related and supporting projects. almost two years after its predecessor. 3. you need the PHP parser and a web server to send the documents.applications were made possible by PHP 3. and more.0 included other key features such as support for many more web servers.0 with a new object model and dozens of other new features. met these design goals successfully. such as PEAR. PDF files. but PHP 3. Though only an estimate based upon statistics from previous years. Flash animations.0's new features and support for a wide variety of third party databases and APIs. Lately. and it is still best suited for that task. To generate HTML. graphics. PECL. PHP's development team includes dozens of developers. Zeev and Andi).0. the Zend Engine 2.0 was not designed to handle such complex applications efficiently. based on this engine. 7 . and was first introduced in mid 1999. dubbed 'Zend Engine' (comprised of their first names. PHP 4. In addition to the highly improved performance of this version.5 FEATURES OF PHP[4] SERVER SIDE SCRIPTING PHP was originally designed to create dynamic web content. PHP has also become popular for generating XML documents. HTTP sessions. and an underlying network infrastructure of well over one-hundred individual web servers on six of the seven continents of the world. was officially released in May 2000. It is mainly driven by its core. more secure ways of handling user input and several new language constructs. The new engine. PHP 4.

and ODBCcompliant databases). much like Perl. PHP supports all major databases (including MySQL. and the Netscape/iPlanet servers. creating web pages with dynamic content from a database is remarkably simple. cross-platform GUI applications in PHP. PostgreSQL. It can be used with all leading web servers. or the Unix shell. PEAR is a framework and distribution system for reusable PHP components. error handling. including Apache. DATABASE SUPPORT One of PHP's most significant features is its wide-ranging support for databases. Sybase. such as database abstraction. awk. OPERATING SYSTEM SUPPORT PHP runs on all major operating systems. PHP provides a library of PHP code to perform common tasks. Finally. from Unix variants including Linux. and so on.[5] 8 . Microsoft IIS. and Solaris to such diverse platforms as Windows and Mac OS X. FreeBSD.COMMAND LINE SCRIPTING PHP can run scripts from the command line. such as backup and log parsing. You might use the command-line scripts for system administration tasks. you can write full-blown.php. with the PHP Extension and Application Repository (PEAR). CLIENT SIDE GUI APPLICATIONS Using PHP-GTK (http://gtk. and even many obscure ones. With PHP.

XAMPP's designers intended it for use only as a development tool. and interpreters for scripts written in the PHP and Perl programming languages. consisting mainly of the Apache HTTP Server.8 Hz 4.2 SOFTWARE REQUIRED Operating System Front End Back End Server Windows XP or greater PHP v3 or greater My Sql XAMPP 1. Self-contained. many important security features are 9 . XAMPP is regularly updated to incorporate the latest releases of Apache/MySQL/PHP and Perl.7. multiple instances of XAMPP can exist on a single computer.2 or greater XAMPP 1.4 XAMPP is a free and open source cross-platform web server solution stack package. and any given instance can be copied from one computer to another. Officially.7.It is offered in both a full.1 HARDWARE REQUIRED Processor Intel Pentium 4 or greater(2. to allow website designers and programmers to test their work on their own computers without any access to the Internet.Chapter 4 – PROJECT DESCRIPTION 4. To make this as easy as possible. It also comes with a number of other modules including OpenSSL and phpMyAdmin.4 Ghz processing speed) Hard disk size RAM Clock Frequency 8 GB or greater 256 MB or greater Minimum of 2. MySQL database. standard version and a smaller version.

one can use the visual layout tools to build sites and make them look exceptional. A special tool is provided to password-protect the most important parts of the package. Using a program like FileZilla has many advantages when installing a content management system (CMS) like Joomla. however.9.7 Perl FileZilla FTP Server 0.0 MACROMEDIA DREAMWEAVER 8 It allows to develop professional websites and its user-friendly interface. Components of XAMPP are          Apache HTTPD 2.8 SQLite Mercury Mail Transport System XAMPP Control Panel 3. tools and features have made it the must-have package for web designers.  Alongside writing the code. 10 . the default FTP password is "wampp".41 phpMyAdmin 3.4. In practice.4.1. Once XAMPP is installed.27 PHP 5.5. XAMPP also provides support for creating and manipulating databases in MySQL and SQLite among others.4 MySQL 5. XAMPP is sometimes used to actually serve web pages on the World Wide Web.disabled by default. The default FTP user is "newuser". The default MySQL user is "root" while there is no default MySQL password. it is possible to treat a localhost like a remote host by connecting using an FTP client.5. It is also possible to connect to localhost via FTP with an HTML editor.  Dreamweaver uses both Cascading Style Sheets (CSS) and Hyper Text Markup Language (HTML) and it has good code-editing support features that will help to write the CSS and HTML.

Provides a visual WYSIWYG editor (colloquially referred to as the Design view) Provides a code editor with standard features such as syntax highlighting. To easily update a site. Dreamweaver supports syntax highlighting for the following languages out of the box:           ActionScript Extensible Markup Language (XML) Extensible Stylesheet Language Transformations (XSLT) HyperText Markup Language (HTML) Java JavaScript PHP: Hypertext Preprocessor (PHP) Visual Basic (VB) Visual Basic Script Edition (VBScript) Wireless Markup Language (WML) 4. and code collapsing as well as more sophisticated features such as realtime syntax checking and code introspection for generating code hints to assist the user in writing code.    One can use plug-ins to place videos. code completion.3 SOFTWARE INTERFACE XAMPP The following snapshot is of Xampp control panel. music and other media into web pages. 11 . one can embed a live stream of content by using RSS.

Since we only use Apache and Mysql services. if this module is marked then there is no need to start the services every time we turned on the computer. DREAMWEAVER 8 Following snapshots shows the steps of website development initializtions. 12 . This is the first thing we do in order to create a website. Here svc module is marked. so there is no need to start other services.Figure 1: Xampp Control Panel From we can start the services Apache and Mysql just by clicking on the start button.

Figure 2: Home Page of Dreamweaver From File menu-> New Site is selected Figure 3: Site Components 13 .

14 .Htdocs is the location where the webpages are to be kept and the http address given in the previous figure is provided at this step that is Local Information is provided in this step. Figure 4 : Selecting Access mode In the above figure remote information is provided like which server can access the files whether local server/network server or a FTP server.

15 . URL prefix should be given with care as it sometimes contain the Port number as shown in the above figure http://localhost:90/project.Figure 5 : Selecting Server Model In the above figure testing model is selected and the access is taken from the previous step that is Remote Info step.

PHPMYADMIN PhpMyadmin is the database store where all the databases. In addition it can be even used to run SQL queries related to a web page whose database is stored in PhpMyadmin.Figure 6 : Selecting the category of webpages Websites can be Static (Basic) or Dynamic. 16 . Above figure shows the selection category and language of implementation. their respective tables are stored. Following is the figure showing the related database alongwith its tables.

Another view is the Admin view. The url is generally as //localhost/phpmyadmin/ and in this case it is //localhost:90/phpmyadmin.5 PROJECT DESCRIPTION WITH SNAPSHOTS The name of project is “project”.Figure 7 : MySQL database in phpMyAdmin We can view these tables through xampp installation on localhost and then in phpmyadmin. 4. where any user can visit and browse the pages. It is a dynamic website with a User view. whose do not possesses any technical knowledge about webpages may change the user view by adding new tabs.4 USE CASE 4. where the admin of the website (may be Owner of organization). Following figures shows the index page of User view and Admin view 17 . changing the content of pages.

Figure 8: User index page Figure 9: Admin index page 18 .

after which the site is locked[5]. For each three chances the admin is shown a message “Wrong Username or Password”. 19 . The username and the password is stored in the db where the password is also encrypted by md5 algorithm shown in figure below Figure 10 :Admin Credentials The admin is allowed 3 chances to authenticate. view contact forms. provide contents. After login admin enters his/her panel where he/she can perform operations like changing his credentials. a website is known by its User index page which here is localhost:90/project The admin index page is localhost:90/project/admin123 ADMIN VIEW DESCRIPTION The admin needs to login the index page i. manage pages. localhost:90/project/admin123 where admin provides the user name and the password.e.Generally.

20 .Figure 11 :Admin page after login Admin panel is provided with tabs listed below Main Control   Visit Site Add New Page Visit site leads admin to open user view in new tab without logging admin out. Name. Password. Add new page is for making a new tab in the index page of user view and a new page indeed. Manage Content  Show All Pages Provides a list view of all the pages Settings   Change Credentials View Contact Forms Change Credentials leads user to a page where he/she can change Login Username.

View Contact Form leads admin to a page where a list view is shown for all the queries send from the user view. Figure 13 : CKEditor for providing Page Content 21 . Below are the screenshots of all the tabs Figure 12 :Add new page This page is provided with Add title and a web word editor CKEditor. Title becomes the Tab for the user view and the content provided in the editor becomes the content for the page.

password. Thispage provides the list view of all the queries messaged by the User from the User View. admin name.e db but if admin empties the field and by-chance then alert is shown regarding the empty field and the field is focussed.[5] 22 . This page is auto filled from the backend i. Figure 15: View Contact Form The above figure opens when the admin selects View Contact Forms.Figure 14: Admin Credentials Page Above figure shows page where Admin can change user name.

USER VIEW DESCRIPTION The index page is the home page as shown in Figure 8 The various tabs of user view are shown below 23 .There are options to delete and view on this page. Selecting delete will delete the entries and selecting view will open new page showing all the details of the contact form. This page is automatically populated.

Sign up to vote on this title
UsefulNot useful