This requires 2 php files to be created -
1) Login.php
2) MyAccount.php
How this work -
When the user registers' with suitable username and password and uses this user details for logging in, the user is redirected to their account. If the username and password entered in incorrect, it displays an error message.
Login.php
############### CODE STARTS BELOW ###############
<?php
include 'dbc.php';
$err = array();
foreach($_GET as ...
Saturday, 30 June 2012
Database Connectivity Script in PHP

Steps:
1) Copy the below code, open any text editor viz. Notepad++ and save as dbc.php
2) Set values inside the quotes for your MySQL settings.
- database name - database user - database password
you will get these information from your hosting provider. Make sure you give full access rights to the database user. If you have cpanel, just login and create database and database user.
example:
define ...
Friday, 29 June 2012
PHP Captcha Code
In this tutorial I will explain how to create a Captcha in PHP. We are using some of the features available in PHP for creating an image. This is very simple and basic tutorial and we are not using any custom fonts for generating captcha image. And we know that captcha code used to avoid spam/abuse or auto-submission.
Captcha.php
<?phpsession_start();$ranStr = md5(microtime());$ranStr = substr($ranStr, ...
Friday, 8 June 2012
Google acquires "Quickoffice" - the maker of mobile office suite for Smartphone and Tablets

Google announced that it has get over on one of the top creators of office applications for mobile devices. The “Quickoffice” is a office suite that are pre-installed on mobile devices from some of the most popular smartphone sold viz. Samsung, HTC, Nokia, LG, Sony, Motorola etc. The application has been installed on over 300 million devices to the date, the company claims. The Quickoffice suite application is available ...
Subscribe to:
Posts (Atom)