How to get followers count from Social Platforms in PHP with jQuery?

Blog, PHP, PHP Scripts, Tutorials
In this blog we describe how you can get followers count from Facebook, Instagram, YouTube and Twitter profile URL. When you enter a Facebook or Instagram URL in the text field and click on the button then contact information like; name, email, profile picture and description will also get from their social account. For get followers we have to use some jQuery code snippets. Facebook Follower count: By using Facebook graph api you can get social count from Facebook. For this you require an access token and you can get this from here https://developers.facebook.com/docs/marketing-apis/overview/authentication/. After getting access token you can use jquery following code to get followers. var link11 = document.getElementById('FacebookPageURL').value; link11 = stipTrailingSlash(link11); var link2 = link11.split( '/' ); var user = link2[link2.length - 1]; var token = 'Your…
Read More
Default Routing In Codeigniter

Default Routing In Codeigniter

Blog, PHP, PHP Scripts, Techniques, Web Design & Programming
One of the most common problem that a beginner faces with codeigniter is the presence of index.php in the URL just before the name of the controller. This makes the URL look odd. Also, whenever developers are trying to form a link during the development of a project, it becomes mandatory for the developer to add index.php in the URL otherwise the application does not work and keeps on providing a 404 Error (Not FOund). So, in order to make the URL of the codeigniter user friendly , we can use .htaccess file. This .htaccess file helps us in changing the default routing behavior of Codeigniter. This .htaccess file contains some line of code which can help us achieve our target and it is placed in the root directory of…
Read More

How to create first visit popup for your store?

PHP Scripts
The more web development is growing these days, especially in e-commerce. The developers are coming with some out of the box ideas to attract more and more customers to their websites and subscribe to their websites. One of the most popular way to do this is to show a pop-up on the screen which appears instantly when customer visits any website. The target of this popup is to grab customer details like their name and email address specially. When a customer fills these details and clicks on Subscribe button they allow the website to save their email address and send them special offers and news about the latest blog. It is considered favorable for content marketing. These popups are called First visit popup. There are many apps and plugins available…
Read More
PHP 7: An quick overview

PHP 7: An quick overview

News, PHP Scripts
PHP 7.0.0 was released on December 3rd, 2015. The community quickly produced several builds which make it easy to install this new version using your system’s package manager.Now You can download the source code here php-7.0.0 The PHP 7 release brought some much-desired changes and improvements to the most popular programming language of the Web. This is the most important change for PHP since the release of PHP 5, bringing performance improvements, drastically reduced memory consumption, and a host of brand-new language features to make your apps soar. Scalar Type Declarations Return Type Declarations Anonymous Classes The Closure::call() method Generator delegation Generator return expressions Null Coalesce Operator Combined Comparison (Spaceship) Operator Throwables Level support for the dirname() function The Integer division function Uniform variable syntax Deprecated functionality which will be…
Read More

How to Configuring phpMyAdmin on Windows Azure?

News, PHP Scripts
phpMyAdmin is a web based tool for administering MySql databases. It can be used to create, edit,delete tables, export/import/backup data and many other tasks. phpMyAdmin is a adequate tool for all MySql db administration needs in Windows Azure. This post describes how to install and configure phpMyAdmin on Windows Azure Web Sites. 1. Create an empty site First you’ll need to create a new site in Windows Azure. Create an empty site using “Quick Create” option in Windows Azure Portal: 2. Link the site with a MySql database If you already have a MySql database or need to create one then use the Linked Resources page to link that database with your site. Once the database is linked get the connection string by using the “View conneciton strings” link on the site’s dashboard page: You will need the information…
Read More

Produce HTML Forms to control Mysql records

PHP, PHP Scripts, Tutorials
This class could be utilized to create HTML structures to control Mysql table records. It can take a rundown of Mysql table fields and produce HTML for structures to select, addition, redesign, erase table records. The class can additionally perform given approvals of specified fields and conjure given callback works on certain structure preparing occasions. Source Code is here
Read More

Validate and process file uploads

PHP, PHP Scripts
This class can be used to validate and process file uploads. It can take the name of a given form upload field and check the respective upload information to see if there was no error and the file MIME type is the one that is expected. If the file upload was validate, the class moves the file to a given destination directory and output details of the uploaded file. Download Files
Read More

Validate values submitted with Web forms

PHP, PHP Scripts
This class might be utilized to approve qualities submitted utilizing Web structures. It takes as parameters the worth of submitted structure field, an approval guideline , acceptance parameters, and a failure message. The class stores the lapse message in a class variable when esteem does not pass the asked for acceptance tenet. Right now it backs the sorts of approval tenets: content, numeric, message, void, invalid, scheck, mcheck and select. Download Source Files
Read More

Create blog posts stored in text files

PHP, PHP Scripts
This class could be utilized to make blog entries which are saved in content documents. It can make blog entries that are archived in a content index, uprooting all line breaks of the blog entry HTML so each one post just possesses line in the website document. The class likewise uproots hazardous tags that could be utilized to perform cross-site scripting assaults. It can additionally concentrate blog entry information from the website index. Download Code Files
Read More