পৃষ্ঠাসমূহ
Sunday, March 26, 2017
PHP - Validation Example
Required field will check whether the field is filled or not in the proper way. Most of cases we will use the * symbol for required field.
What is Validation ?
Validation means check the input submitted by the user. There are two types of validation are available in PHP. They are as follows −PHP - Complete Form
This page explains about time real-time form with actions. Below
example will take input fields as text, radio button, drop down menu,
and checked box.
Example
<html> <head> <style> .error {color: #FF0000;} </style> </head>
PHP - Login Example
PHP login with session
Php login script is used to provide the authentication for our web pages. the Script executes after submitting the user login button.Login Page
Login page should be as follows and works based on session. If the user close the session, it will erase the session data.PHP - Facebook Login
We can use Facebook login to allow the users to get access into the
websites. This page will explain you about login with facebook PHP SDK.
Login With Facebook
- Need to go https://developers.facebook.com/apps/ and click on add a new group button to make the app ID.
- Choose Website
PHP - PayPal Integration
PayPal is a payment processing system, We can integrate PayPal with websites by using with php.
PayPal integration file system
PayPal integration file system included 4 files as shown below.- constants.php − This file has included API user name, password and signature.
- CallerService.php − This file has included PayPal Services, which is used to call PayPal services.
PHP - MySQL Login
This tutorial demonstrates how to create a login page with MySQL Data
base. Before enter into the code part, You would need special
privileges to create or to delete a MySQL database. So assuming you have
access to root user, you can create any database using mysql mysqladmin
binary.
PHP - Ajax Search
Ajax is used to communicate with web pages and web servers. Below example demonstrate a search field using with Ajax.
<html> <head> <style> span { color: green; } </style>
PHP - Ajax XML Parser
Ajax XML Example
Using with Ajax we can parser xml from local directory as well as servers, Below example demonstrate how to parser xml with web browser.<html> <head> <script> function showCD(str) { if (str == "") {
PHP - Ajax Auto Complete Search
Auto Complete Search
The Auto complete search box provides the suggestions when you enter data into the field. Here we are using xml to call auto complete suggestions. The below example demonstrate, How to use auto complete text box using with php.PHP - Ajax RSS Feed Example
RSS
Really Simple Syndication is used to publish often updated information from website like audio, video, images, etc. We can integrate RSS feeds to a website by using Ajax and php. This code demonstrates how to show RSS feeds in our site.PHP - XML Introduction
What is XML?
XML is a mark-up language to share the data across the web, XML is for both human read-able and machine read-able. Example of share-able xmls are RSS Feeds. XML parsers are useful to read and update the data by using web browsers.
Subscribe to:
Posts (Atom)