Upload
steve-fort
View
180
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Choosing PHP for website development is also integrates with a number of open source applications like Joomla, Drupal, WordPress etc..PHP along with MY SQL is being used to construct some of the most powerful database
Citation preview
Expert Session On PHP
Why PHP???• Fast Load Time.• Less Expensive Software.• Less Expensive Hosting.• Database Flexibility.• Increased Available Programming Talent
infobizzs.com
Why HTML5???
Built-in audio and video support (without plug-in)
Enhanced form controls and attributes The Canvas (a way to draw directly on a
web page) Drag and Drop functionality Support for CSS3 (the newer and more
powerful version of CSS) More advanced features for web
developers, such as data storage and offline applications.
infobizzs.com
Why CSS3???
• Animation
• Background
• Border and outline
• Box
• Color
• Content Paged Media
• Dimension
• Flexible Box
• Speech
• Table
• Text
• 2D/3D Transform
• Transition
• User-interface
• Font
• Generated content
• Grid
• Hyperlink
• Linebox
• List
• Margin
• Marquee
• Multi-column
• Padding
• Paged Media
• Positioning
• Ruby
infobizzs.com
What As A Backend With PHP ???
infobizzs.com
MySQLi Extension
• To correct the issues of MySQL extension, a new extension has been created for PHP5
• It supports all the latest features in MySQL server 4.1 or higher
• Features Like Maintainable, Similar Syntax, New Interface, Advanced Options, Speed , Security are supported
infobizzs.com
Why JQuery???
• A library of JavaScript functions
• Features– Select and manipulate HTML– Manipulate CSS– JavaScript Effects and animations– HTML DOM traversal and modification– AJAX– Utilities
infobizzs.com
Demo Example Content • jQuery
$ (‘body’) .css (‘background’, ‘#ccc’);
• JavaScript
Function changeBachground(color)
{
Document.body.style.background = color;
}
Onload=”changeBackground (‘red’);”infobizzs.com
Twitter Bootstrap
•A freely available design framework for websites and web applications•Based upon HTML5, CSS and JavaScript•Supports all major browsers (even IE7!)•Released on GitHub in August 2011
infobizzs.com
Setting Templates And CSS
• Template of Bootstrap Can Be Downloaded From https://wrapbootstrap.com/
• Create Master Page For Whole Site and Then Create Sub Container Pages.
infobizzs.com
Embedding Google Maps
1. Create A Simple HTML Document and save that document in root folder as per required.
2. Go to Google.co.in and search for gmaps
3. It will redirect to result link as https://www.google.co.in/maps/preview?source=tldso
4. Login using Your Google Id And Password
infobizzs.com
…Google Maps
5. Search for Required Address as Per your requirement.
6. On the Down Right Corner of webpage is a setting button.
7. Enter embed Source code and paste the same in your browser. (I-Frame Source Code)
infobizzs.com
Image Upload & Storing The Same On Servers
• Control To Upload A File on server is known as file upload control.
• <input type=“file” name=“f1” />
• For File Data to be transferred to server Compulsorily we need to transfer data using POST Method.
• A Encryption Type Should be given to transfers the file.
infobizzs.com
…Image Upload…
• <form name=“frmup” method=“post” enctype="multipart/form-data“> </form>
• PHP Code to transfer the file on the servermove_uploaded_file($_FILES['f1']
['tmp_name'],'img/'.$_FILES['f1']['name']);Where move_uploaded_file is a System defined
function to move files on the server.$_FILES[‘f1’][‘tmp_name’] is temporary name of
file uploaded on the server.$_FILES[‘f1’][‘name’] is name of file uploaded by
the client stored in memory of the client browser.
infobizzs.com
Email Verfication
• Normally Done To check Whether the user is Genuine or not.
1.Create database and table as per required.
2.Give Simple Registration Code(Email Id And Password)
infobizzs.com
…Email Verification
3. Insert Data into table and Encrypt data using md5() and send to users in form of mail using mail() and base url Method.
4. When user click on the same link set status=1 to confirm activation of the user.
(Note :- Mail Can’t be send through localhost. It compulsory needs SMTP Server for the same.)
infobizzs.com
Thank you
infobizzs.com