In the last post, I introduced you to a PHP OAuth Class named OAuth API. In this post I’m going to tell you how to implement Login With Google + feature in PHP using the class I introduced. It’s very simple. I will tell the ways of implementing step by step. This tutorial includes placing a **Login with Google + **button on web site to authorization and finishes when we get user details.... [READ MORE]
Posts marked with "PHP" in categories
Image Handling On Client Side With Base64 In PHP
Every website needs images. It make the site attractive and beautiful. But sometimes, images won’t get loaded. The latest **Browsers **have a feature that generates image on a base64 string. Most of the browser have it. In this post I’m going to describe the way to use base64 in displaying images on a website. What’s base64 ? Base64 is a encrypting method which is available in many languages. It can be used for encrypting and decrypting.... [READ MORE]
Implementing Login With Facebook In PHP
In the last post, I introduced you to a PHP OAuth Class named OAuth API. In this post I’m going to tell you how to implement Login With Facebook feature in PHP using the class I introduced. It’s very simple. I will tell the ways of implementing step by step. This tutorial includes placing a Login with Facebook button on web site to authorization and finishes when we get user details.... [READ MORE]
Implementing OAuth System Using OAuth API Library In PHP
OAuth Login System is one of the needed system in a website. There are many online services that have their own OAuth system. Popular Services have their own PHP OAuth library and documentation. But, we’re gonna use a simpler and a common Library for all of those services. This common library (OAuth API) is created by PHPClasses.org founder Manuel Lemos. His library can be used to authorize many API‘s including Facebook, Twitter, Google.... [READ MORE]
Uploading Images Using Imgur API in PHP
This tutorial was a request from Anandu. Imgur provides developers to upload images anonymously using their app. For this you only need to signup for Imgur and get an Application Client ID. In this post I’m going to tell you the step by step process of uploading images using Imgur API in PHP. This is pretty easy. You only have to send a POST request to a file on their site.... [READ MORE]
How To Create A Simple Web Crawler in PHP
A Web Crawler is a program that crawls through the sites in the Web and indexes those URL‘s. Search Engines uses a crawler to index URL’s on the Web. Google uses a crawler written in Python. There are other search engines that uses different types of crawlers. In this post I’m going to tell you how to create a simple Web Crawler in PHP. The codes shown here was created by me.... [READ MORE]
How To Add A Simple Birthday Field In A Form Using jQuery
There are certain laws on the Web. One of them is the COPPA law which clarifies the minimum age of a user to signup for a site. The minimum age is 13. If any site allows users under 13 to signup, it is considered illegal. So it’s necessary to add a birthday field in site’s Sign-Up form. So I’m going to tell you how to add a simple, stylish birthday field to your Sign-Up form.... [READ MORE]
Create Simple Username Availability Checker Using jQuery & PHP
Many sites have signup pages. Every programmers try to make the signup pages attractive by adding stylish input CSS codes and others. Why not add a stylish username availability checker ? It’s very easy to add and will work on jQuery versions 1.2 and up. I’m also going to tell you how to check if username is available in the server side. Of course it’s PHP. The checking is SQL Injection free too.... [READ MORE]
How To Use FileZilla/SFTP To Update Site in OpenShift
In the recent post, I mentioned about OpenShift, a PaaS Service that offers Free Hosting. You can update your application using GIT. OpenShift also provides SSHing into your application. You may have heard of FTP protocol which allows you to transfer files through web. Most hosting companies use FTP protocol to update client apps. OpenShift unlike AppFog have FTP support, but in a different manner. It has SFTP support ie SSH File Transfer Protocol.... [READ MORE]
Goodbye AppFog, Hello OpenShift
AppFog and Heroku were one of the most popular PaaS services. But due to the limitations of service many moved out. At first when AppFog came, there were a lot of cool awesome features more than Heroku. For the Free plan AppFog had SSL, Custom Domain and other features. But by the end of February 2013, AppFog removed Custom Domain from free plan. Many customers (including me) got sad, angry and were trying to find another PaaS service.... [READ MORE]