Posts

Showing posts with the label php

Ionic 3 and Angular 4: JSON Parsing with Token Based Restful API

Image
We have covered most of the topics in building a mobile application using Ionic 3 and Angular JS 4. Today�s topic is to pull in data for news feed from a server and display it on your website. This is suggestible post since it does proper verification at the backend based on token. All it does is, it will verify system token and user token at the backend and then pulls data using feed API url. I have also added an extra code to the previous post for login authentication with PHP Restful API for showing alert messages. Please do follow the below video and code for your understanding. Read more �

Ionic 3 and Angular 4: JSON Parsing with Token Based Restful API

Image
We have covered most of the topics in building a mobile application using Ionic 3 and Angular JS 4. Today’s topic is to pull in data for news feed from a server and display it on your website. This is suggestible post since it does proper verification at the backend based on token. All it does is, it will verify system token and user token at the backend and then pulls data using feed API url. I have also added an extra code to the previous post for login authentication with PHP Restful API for showing alert messages. Please do follow the below video and code for your understanding. Read more »

Ionic 3 and Angular 4: PHP Restful API User Authentication for Login and Signup.

Image
Here is the continued article on my previous post for creating a welcome page with login and logout . Today�s post explains how to implement login authentication system for your AngularJS applications. It will show you how to log in with a user and store the user session, so it deals with token based authentication. Since we are using token based authentication, it protects if any unauthorized request is made and notices for a new login if required. This makes your application�s authentication to be more secured compared with any other authentication system. Every user details will be stored in an external database and a PHP based API is used in the backend for handling this authentication. Hope you�ll find it more easily using this as your authentication system in your AngularJS projects. Let�s look into the live demo and follow the below code. Read more �

Ionic 3 and Angular 4: PHP Restful API User Authentication for Login and Signup.

Image
Here is the continued article on my previous post for creating a welcome page with login and logout . Today’s post explains how to implement login authentication system for your AngularJS applications. It will show you how to log in with a user and store the user session, so it deals with token based authentication. Since we are using token based authentication, it protects if any unauthorized request is made and notices for a new login if required. This makes your application’s authentication to be more secured compared with any other authentication system. Every user details will be stored in an external database and a PHP based API is used in the backend for handling this authentication. Hope you’ll find it more easily using this as your authentication system in your AngularJS projects. Let’s look into the live demo and follow the below code. Read more »

Install XAMPP 7.0 on Ubuntu and Mac OSx using Redis and Memcached Extensions

Image
Now, it�s time to update your PHP web server. We had few vulnerabilities with previous versions like openSSL and others. PHP 7 is very fast, advanced and has improved execution time. XAMPP is the most popular PHP development environment, it saves time and effort by providing easy way to install Apache-MySQL-PHP framework. This post helps you how to install XAMPP 7.0 with Redis and memcached extensions for Ubuntu and Mac operating systems. Follow the below steps to install XAMPP. Read more �

Social Network System with React JS Part One

Image
How to solve infinity loading either in your desktop or mobile? By now, everyone is familiar with JQuery , but we all know is JQuery cannot handle such large amount of data to load. React JS is the best solution for this problem. JQuery and other libraries interacts directly with DOM to load any data; but React JS is specifically designed in such a way that it has a mid interactive layer called Virtual DOM which in turn interacts with DOM(as shown in the diagram below). This Virtual DOM helps in data loading very faster. Read more �

Google Two Factor Authentication Login with PHP

Image
In our previous post , explains you the login system using PHP with PDO connection. Here is an extra feature that can be added to login system for an extra layer of security. It is 2 factor authentication using Google Authenticator App for Android/iPhone. Your account could be at risk of having your password stolen. 2 step verification can protect from misuse of your account if someone have your password, because logging into your account always require a security code(this verification code is uniquely designed for your account, if you opt for verification code, an unique code is sent to your mobile for every 30-60 seconds) in the second step after you enter your password. Read more �

Create Token Based RESTful services using Slim PHP Framework

Image
My previous article gives you an understanding of how to develop any application using RESTful APIs. But, mere implementation of API is not enough for making it more effective. It requires a proper authentication and more security. Here is the article for a secured RESTful API on a token basis. An encrypted token, which is generated based on your site id and ip address is sent with the request call; this token is then be used to authenticate to use a RESTful service in your application. Follow the demo below for your reference. Read more �

PHP Login System with PDO Connection.

Image
Very long back, we had published a simple PHP login system using PHP, which works only with MySQL database. Today, we are providing you an easy registration and login process using PDO connection with better password encryption, which has an advantage of working on different database systems. PDO is a PHP extension that allow us to implement code which is portable across many databases and platforms. This registration process is used in our Wall Script 8 . Here is the demo of this cool & simple login / registration process. Read more �

Facebook Like Reactions using PHP, MySQL and Jquery.

Image
Just a few days before, Facebook has launched Reactions, an extension of Like button. I succeeded in implementing the same in my WallScript 8 , Build Your Own Social Network. Here is a quick and easy way to implement the Reactions using PHP,Jquery and PDO MySQL. It�s a basic idea of implementing the Reactions. Hope you enjoy the new Reactions for Like button..! Take a quick look at the live demo. Read more �

Create Dynamic Subdomains using PHP and Htaccess

Image
Dynamic subdomains like Google Blogger and Tumblr.com, I know most of the people are looking for better solution. Today I want to explain how to achieve this using .htaccess with PHP. I especially love to write .htaccess file, using this you can easily host multiple domains in single server. This dynamic subdomain system is the base for cloud services, soon I will come with new tutorial. I hope this post will solve your problem, please take a look this live demo. Read more �

Introducing Wall Script 8 Build your Own Social Network

Image
"It's time for change" - I�m excited to announce that new responsive & RESTful Wall Script 8 is now available for download. This time I made lots of changes in architecture level, almost built from scratch. Wall Script 8 is very lightweight, powerful, secured token based APIs and helps you more easier way to learn most of the social networking features in a simplest way and make you the best web developer. Introducing new features like multi language label support, image compression, like reaction, share location and adopted most common social features from Facebook, Twitter and Google Plus. Take a quick look at the video demo and more features . Read more �

Payment System with BrainTree PayPal using PHP

Image
Are you working for e-commerce project? Then you should have a better and secure payment system. I suggest you setup you project with BrainTree API, it is very powerful and quick. This is accepting most commonly used Cards, PayPal, Android Pay and etc. This post will explain you how to design a cart and order system with BrainTree payment process using PHP and MySQL. Take a quick look the live demo and try demo transaction. Read more �

Facebook Style Background Image Upload and Position Adjustment.

Image
I received many tutorial requests from my readers that asked to me how to design Facebook style ajax background image upload and position adjustment using Jquery. I have been published many tutorials about ajax image upload, this one is very interesting and it is a combination of many features. I has implemented this in Wall Script , this post will explain you how to design timeline HTML frame, CSS techniques and database design for background image system. Read more �

Create a RESTful services using Slim PHP Framework

Image
Two years back we had published an article called create a RESTful Services using PHP , in that most the PHP methods got depreciated. I have been looking for a simple RESTful api framework in PHP, I found few lightweight frameworks called Slim and Epiphany . In this tutorial I had implement a sample user updates RESTful web services project using Slim framework in PHP, it is very simple to implement and only focused on RESTful. Read more �

Google New reCaptcha using PHP - Are you a Robot?

Image
Today Google has been introduced new reCaptcha API called Are you a robot? �No Captcha reCaptcha� a complete new design captcha system. This protects your website for spammers and robots, in this post I had implemented new reCaptch API system with HTML login form using PHP. I like the new design it is clean and impressive, hope you will like it. Please take a look quick look at the demo. Read more �

Wall Script 7 The Social Network Clone Script.

An insult made me to build the Wall Script a social network script built in PHP, Jquery, Oembed, OAuth and MySQL, now my life has been changed completely. Last one year I received lots of requests from Wall Script 6 users that asked to me about more social features like Groups/Page, Notifications, Photo Album and Admin Control. Today I am introducing the most improved Wall Script 7 with lots of social network features. This script is a collaboration of 9lessons.info tutorials and adopted Twitter and Facebook social features, sure Wall Script 7 helps you to understand social networking system in a simple way. Read more �

Groups or Pages Database Design.

Image
Last few days I have been working with an important release from 9lessons.info, I am introducing many exciting features hope everybody will love. This post is about how to implement Group of Fan Page system using MySQL and PHP. Here I have discussed how to design a database and implementation of SQL queries, hope this post will help you to understand the Group/Page system. Read more �

Ajax Upload and Resize an Image with PHP.

Image
Today I am presenting the most important social networking feature called ajax upload and resize an image without refreshing the page using jquery and PHP. This tutorial a continuation of my previous post, I just included image re-sizing function for different dimensions. It is very useful for your web project that saves lots of hosting space and bandwidth limit. Take a quick look at the live demo. Read more �

Ajax PHP Login Page with Shake Animation Effect.

Image
I received few tutorial requests from my readers that asked to me how to create Ajax PHP login script, in this post I want to discuss how to create a simple Ajax PHP login with welcome page using MySQL database. This will explain you creating user tables, posting form values and storing and destroying the session values. If you are a PHP beginner take a quick look at this live demo with Username: 9lessons Password: 9lessons . This post has been updated with mysqli. Read more �