Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Summer TrainingAtLINUX WORLD Jaipur (Raj.) Content: • Institute profile • PHP. • HTML. • CSS. • Database server MySQL. • Project. About LINUX WORLD : Subject of Training: ”PHP” : DEFINITION: PHP is a computer scripting language, originally designed for producing dynamic web pages. It is for server-side scripting but can be used from a command line interface or in standalone graphical applications PHP was originally created by Rasmus Lerdorf in • 1995. • PHP is a widely-used general-purpose scripting language that is especially suited for web development. PHP Contd… • PHP supports many databases like MySQL, Informix, Oracle etc. • All scripts are executed on the Server therefore we can not see any PHP Script by clicking on the view source of browser. • It supports various servers like Apache, IIS etc. PHP Features : • Server Side Scripting • Can be used from a command line interface • Standalone graphical applications • Especially suited for web development • Can be embedded into HTML • Runs on a web server • Can be deployed on most web servers • Supports almost every operating system and Basic PHP program structure : <?php echo ”HELLO PHP”; ?> HTML (Hypertext Markup Language): • HTML stands for Hypertext markup Language. • A markup language designed for the creation of web pages and other information viewable in a browser. • HTML is basic language used to write web pages. • HTML file is a text file containing markup tags. Markup tags tell the browser how to display the Basic Structure of HTML file : <html> <head> <title>My First Web Page</title> </head> <body bgcolor="white"> <p>A Paragraph of Text</p> </body> </html> Combining HTML & PHP : <html> <head> <title>My First Web Page</title> </head> <body bgcolor="white"> <p>A Paragraph of Text</p> <?php Echo ”HELLO”; ?> </body> CSS (Cascading Style Sheet) : • CSS stands for Cascading Style Sheet. • Style specify the formatting of HTML elements. • Multiple style definitions will cascade into one. • File Extension:- .css • There are 4 type of CSS. MYSQL (Database server) : • MySQL is the most popular open source Database server. • MySQL is developed by SUN Microsystems. • MySQL is a Database and defines structure for storing information. • MySQL can retrieve data from Database. • MySQL can Insert, delete & update records in Connecting To MySQL : • In PHP, connection is established using the mysql_connect() function. • Syntax mysql_connect(servername,username,password); ex <?php $con = mysql_connect("localhost",“root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } // some code Closing A Connection : • The connection is closed as soon as the script ends. To close the connection use the mysql_close() function. ex. <?php $con = mysql_connect("localhost",“root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } // some code mysql_close($con); ?> Introduction To My Project: Online Departmental Store Big Bazar.com • Big Bazar.com is an online departmental shopping mall; • • Service committed to helping you make wise and profitable decisions related to buying various types of products. In India and key global geographies. Big Bazar.com will provide a fresh new approach to our esteemed users to search for products to buy , and list their properties for buying. This database can, however, be accessed and updated by the administrator (head of the branch) only, so as to prevent any misuse or mishandling of the details of the employees. Online Departmental Store stores data related to the Login Web-Page After Login Main Web-Page Buyer’s Web-Page Advertisement Web-Page Conclusion: • • This was indeed a great experience for us to develop a web site. • During the development period I have visited the research and development web sites. • Since PHP has evolved into a major development environment that covers every aspect of programming. • The most prominent feature is its tools that provide easy available graphics. • Technology never stops !