Category: PHP

PHP

Joomla! 3.7 is HERE

joomla 3.7

The Joomla! Project is proud to announce the release of Joomla! 3.7, the latest in the ‘Joomla! 3’ series. This new release features over 700 improvements to the popular CMS, including many features which make administration of Joomla! Web sites easier and more feature-rich, as well as several security updates.

One of the biggest new features of this release is the ability for administrators to add Custom Fields to your articles, users, and contacts, and the ability of extension developers to use this feature within their own custom Joomla! Extensions. With 15 different field types you can now easily structure more complex content entry systems to allow your content authors to easily enter their data in a standard manner and display it consistently to your site visitors. Thanks to our great documentation crew, you can find out all about the options and process for using this new feature when you read the Custom Fields tutorial on the Joomla! Documentation site.

For those who need to create multilingual sites, the process to translate your content just got significantly easier. The Multilingual Associations Component allows you to easily translate your content from one single, unified interface. You can find out more when you read the Multilingual Associations Component tutorial on the Joomla! Documentation site.

Anyone creating new content articles that require a new menu item can now save time with the new Improved Workflow features. You can now create a category, article, and menu item all in one step from within the menu manager.

One other added menu-related benefit, for those sites where multiple people are accessing the Backend/Admin-side of the site is the ability to easily manage the admin menu with the new Backend Menu Manager. Now you can create custom menus for the Backend just like you can for the Frontend – allowing you to control what users can see which admin menu options.

This release also brings a number of new and enhanced features specifically for developers. Joomla! 3.7 brings  improvements within the update system, cache systems and package/extension management, as well as a host of other under the hood advances.

Joomla! 3.7 is the eighth and latest release in the 3.x series. Please note that going from 3.6.x to 3.7 is a one-click update and is not a migration. The same is true for any subsequent versions in the 3 series of the CMS.

In addition to the features mentioned above, other significant highlights of the 3.7 release include:

  • Do more with TinyMCE – Including new buttons to easily add menu links and contacts and many other improvements
  • Easier Extension Maintenance – Prevent administrators from accidentally uninstalling needed extension package elements
  • User Experience – Your User Experience is improved thanks to the display of your global settings, a flatter backend template, the possibility to share your session between frontend and backend and a number of other minor UX improvements.

To view a full list of the features please visit our 3.7 site (now available in over 25 languages).

Security Issues Fixed

  • Low Priority – Core – Information Disclosure (affecting Joomla! 1.5.0 through 3.6.5) More information »
  • Low Priority – Core – XSS Vulnerability (affecting Joomla! 3.2.0 through 3.6.5) More information »
  • Low Priority – Core – XSS Vulnerability (affecting Joomla! 1.5.0 through 3.6.5) More information »
  • Low Priority – Core – XSS Vulnerability (affecting Joomla! 1.5.0 through 3.6.5) More information »
  • Low Priority – Core – XSS Vulnerability (affecting Joomla! 3.2.0 through 3.6.5) More information »
  • Low Priority – Core – ACL Violations (affecting Joomla! 1.6.0 through 3.6.5) More information »
  • Low Priority – Core – ACL Violations (affecting Joomla! 3.2.0 through 3.6.5) More information »
  • Low Priority – Core – Information Disclosure (affecting Joomla! 3.4.0 through 3.6.5) More information »

Is your website ready for Joomla! 3.7?

Joomla! 3.7 is a one-click update just like previous 3.x versions. If your site is not already running 3.6.5, we strongly urge you to update immediately. Joomla! 3.6.5 was a security release and your site is at risk if you are running a previous version. If you presently have a 3.6.4 (or earlier) version of Joomla, please review the update category on the Joomla! Documentation.

As always, before upgrading it is important to update all of your third party extensions and also to take and test a full backup of your site.

This is also a great time to connect with your hosting company and check your PHP and database versions. We recommend upgrading to PHP 7 or 7.1 as it will bring a considerable speed boost to your site. Further system requirements can be found on the technical requirements page.

Also, if you are using the Hathor backend template you should switch to the Isis template as your administrative template. The Hathor template is being deprecated and may not provide you with the ability to use all the latest features in Joomla! 3.7.

Download

Upgrade Packages

Upgrade Packages
Joomla! 3 upgrade packages
Note: Please read the update instructions before updating.

Please remember to clear your browser’s cache after upgrading.
If you find a bug in Joomla! pease report it on the Joomla! Issue Tracker.

A Huge Thank You to Our Volunteers!

A big thank you goes out to everyone that contributed to the 3.7 release! Over 1600 commits have been made since Joomla! 3.6.5 was released in 2016. Find a list of developers who helped out on the Thank You page. Next to the developers a huge thank you also to the 3.7 marketing team, the imagery team and the translator team! You can find their names also on the Thank You page.

Spread the Joomla! Love

Has Joomla! helped you do your job better, saved you money, allowed you to do more with your web site? You can help others experience the same results and find out about this great Open Source Content Management System by telling others.

Share the news!

We have a wide range of imagery available for sharing in blogposts, via social media, or in banners on your site. They can be found on the Joomla 3.7 Imagery page. You can also find the Joomla! 3.7 video on our YouTube channel, already available in 30 languages. We would love you to spread the Joomla! love and get the word out to your network.

Are you a journalist, blogger or evangelist?

Please feel free to get in touch with the Joomla! Marketing Team for interviews and other content.

Do you have marketing skills?

Get involved in the Joomla! Marketing Team by connecting via the Marketing Team page on the Joomla! Volunteers Portal.

Make the next Joomla! release even better

Joomla! 3.8, 3.9 and 4.0 are already in the works. If you would like to help improve them you can make a direct difference. Join the Joomla! Volunteer community and contribute your skills and time to help Joomla! grow even more.

  • Become a tester – no special skills required, but able to install test releases, and follow reporting instructions
  • Help us translate – for those who speak English and any other language
  • Document new features – for those who can write tutorials and technical documentation
  • Other areas –  find one that fits your skills and interests.

 

Official Post:

https://www.joomla.org/announcements/release-news/5703-joomla-3-7-is-here.html

PHP

Free SSL Certificate for Your Website

Want to increase performance and security or just annoyed with browser security warning i.e firefox’s new annoying text- This connection is not secure logins entered here could be compromised.
firefox warning

To remove above issue shown in image and make your website more secure do perform following steps.
I suggest to have Cloudflare setup in your DNS system.paid SSL certificate for your web page needs your complete support to maintain. But, Cloudflare provides free SSL certificates with a limited access (enough for any website) and it takes care most of the support that your web page needs.
Most importantly, nowadays Google is providing better preferences for the web pages which has HTTPs as the protocol and more chances for your web page to appear on Google search.

cloudflair for free SSL(https protocol)

Cloudflare protects from DDoS attacks and other threats to protect your bandwidth and server resources being wasted. It allows your web page visitors to have the fastest page loading by which it also improves the performance level. it provides many other services if you want make best performance and attack free website. Below are the steps to configure SSL certificate of Cloudflare.

Step 1
Go to cloudflare.com and create a free plan account.

free SSL fro cloudflair embers blog

Step 2
Add your website in cloudflare, this will scan your website name servers and suggest you new name servers in following way.

name server

Step 3
Now go to your domain provider eg: Godaddy and modify domain name server address with new names.
DNSNameserver
Note: Take a copy of your domain record settings eg: CNAME, TXT, MX etc.

Step 4
Once Step 3 finished, cloudflare will active your website. And you will find following menu options.

free SSL panel embers infotech blog

Step 5
Click on the DNS and add your CNAME records settings. Sometimes cloudflare will automatically access your old records.

dns

Step 6
Go to Crypto and activate your free SSL(https). Choose Flexible option for SSL.

ssl

Step 7
Same page scroll down and enable automatic HTTPs rewrites option.

rewrite

Step 8
If you are a WordPress user, go to Page Rules and add following page rules. This will help to redirect existing WordPress pages to HTTPs

 

Step 9
Add your website in Google Webmaster Tools for Google search indexing.

 

Please let me know in comment secion what you think about this article.

 

 

 

PHP

PHP PDO Database connection syntax

 Make connection.php file and insert following code in it, include this file wherever you need database connection(i.e Model file)

php free training in ahmedabad

<?php
try
{

$host=’localhost’;
$dbname=’YOUR_DATABASE_NAME’;
$user=’MYSQL_USERNAME’; //GENERALLY root FOR LOCALHOST
$pass=’MYSQL_PASSWORD’;    //GENERALLY BLANK FOR LOCALHOST

$dbo=new PDO(“mysql:host=$host;dbname=$dbname”,$user,$pass);
$dbo->setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION);

}
catch(PDOException $e)
{
echo “database config2 connection error!”;
file_put_contents(‘config2.txt’,$e->getMEssage(),FILE_APPEND);
}

?>

PHP

PHP 7 Launched – Twice Faster that PHP 5.6

PHP 7.0.0 Release Announcement

The PHP development team announces the immediate availability of PHP 7.0.0. This release marks the start of the new major PHP 7 series.

PHP 7.0.0 comes with a new version of the Zend Engine, numerous improvements and new features such as

  • Improved performance: PHP 7 is up to twice as fast as PHP 5.6
  • Significantly reduced memory usage
  • Abstract Syntax Tree
  • Consistent 64-bit support
  • Improved Exception hierarchy
  • Many fatal errors converted to Exceptions
  • Secure random number generator
  • Removed old and unsupported SAPIs and extensions
  • The null coalescing operator (??)
  • Return and Scalar Type Declarations
  • Anonymous Classes
  • Zero cost asserts
  1. php project training

For source downloads of PHP 7.0.0 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.

php7