Common mistakes in PHP development

No doubt now a days PHP is most popular open source scripting language. PHP can run on various plateform lke Windows, Linux, Unix, Mac OS X, etc and it is compatible to all servers Apache, IIS, etc. Biggest blogging system WORDPRESS is in PHP, largest social network FACEBOOK is in PHP and it is easy ...

Canonical url

Canonical url
In content management application or online shopping systems, the most common thing is the same content to be accessed through multiple URLs. It can be some kind of duplicate content issues. For example www.mysite.com/search.html would be considered by search engines to be an entirely different page from www.mysite.com/search.html?country=us. It is possible that both URLs will ...

MySql Optimization

MySql database is most widely used database now a days, few tricks can be use to speed up data retrieval. For specific type of data which is frequently accessing, we can create an index to speed up. If table has no indexes, MySQL scans full table to retrieve the data, one after another, until it ...

Social Sign On Extension available

Social Sign On Extension available
Social Sign On is an extension for opencart which provide single sign in from social networking services to your opencart store. This extension is now available at opencart store PHP 5.4 or greater version is required for Latest Facebook v4 compatibility. If your server is running with old version of PHP you can contact to ...

meta title and title tag

meta title and title tag
Metadata is data or information about data. In the HTML document tag provides metadata about the HTML document. It doesn’t display on the page, but necessary for SEO point of view and give information about page to search engine. Meta elements are typically used to specify page description, keywords, author of the document, last modified, ...

Custom post type and taxonomy

Custom post type and taxonomy
WordPress has power to display various types of content and it works based on post. Posts have post type, By default it comes with 5 types of post types i.e post, page, attachment, Revision, Navigation menu. So we can say that a single item of a content is generally called a post, and post is ...

Flickr will have no more facebook and google sign in 3

Flickr is streamlining their sign in process. It has been completely moved to yahoo. From July 22, Flickr will no more available with option to sign in with a Facebook or Google account. To sign in and use flickr you must be have yahoo email id. According to flickr, Over the next few weeks, if ...

offline browsing by application cache 1

Now a days web technologies are expanding in light speed, reducing load on server while high level use, bringing the internet ever closer to reality. When users can browse the Web on a three-inch phone screen as easily as on a fifty-inch HDTV, Ahh its time to think.. In the new era of technology, cache ...

Useful command for ubuntu

Give write permission/full access to any folder: sudo chmod -R 777 {folder path e.g. /var/www/project } Move File from one location to other sudo cd source folder sudo cp source_path destination_path Unzip file unzip file.zip -d destination_folder Remove folder and all subdirectories sudo rm -r -f /Folder path/ 135 total views, 1 views today Useful command for ...

Soft Delete in cakePHP 4

Soft Delete in cakePHP
Soft delete is term which means no real data is lost when we delete a particular record. In this process for application data will not appear just like delete but in database it will present with delete flag. To achieve this functionality we can use a field named deleted or any other depend on choice ...