Results for “PHP”

PHP 5.5 Stable Released, Drops Windows XP Support

PHP Developers Officially Release Version 5.5, Featuring Generators and More
PHP developers have officially released version 5.5, which has been in development since last November and went through multiple beta releases. PHP 5.5 includes a range of new features, such as the new array_column() function and foreach() loop support for scalar iteration keys; including generators that allow developers to implement simple …

PHP Performance Optimization

PHP Optimization For PHP optimization, the main approach is to reasonably adjust and configure the relevant key parameters in php.ini. Below, let’s look at how to set some of the parameters in php.ini that have a significant impact on performance.
# vi /etc/php.ini(1) Disable PHP Functions Find: disable_functions = …

Common PHP Development Tools

If you’re not even sure what PHP is yet, then once you’ve got your PHP environment set up, it’s time to think about the next step: which development tool to choose! Honestly, there are tons of PHP development tools out there. Today, the PHP tutorial download section will talk about some of the better PHP development tools currently available. As for the specifics of each PHP development tool …

Using Smarty Templates with ThinkPHP

ThinkPHP’s built-in template engine is quite good, but when existing websites are already built with Smarty and you want to use the TP (short for ThinkPHP) framework without TP’s own template engine, this naturally leads to TP’s support for third-party libraries. However, while the concept exists, the actual method of importing libraries was still unknown, so I searched on Baidu. There aren’t many articles and tutorials about TP online, but I found one article on TP’s official website that sparked some inspiration!

ThinkPHP Releases Version 3.1.3

ThinkPHP 3.1.3: A Safer, More User-Friendly Version and Recommended Upgrade

The 3.1.3 release includes several improvements and refinements over version 3.1.2, primarily: enhanced exception handling with support for fatal error capture; improvements to the PDO and Sqlsrv drivers with support for parameter binding; added variable …

A Case Study of SEO Spam Ads Injected on a Website

Symptom: When getting indexed by Baidu, Google, and other search engines for SEO, there are often many ad links pointing to your site.
Take Baidu as an example. Enter the following into Baidu (replace the domain with your own): site:www.domain.com and you will see many spam links:

Through …

Detailed Cacti Installation Steps

I. Cacti Overview1. Cacti is a software implemented in PHP. Its primary function is to use the SNMP service to obtain data, and then use RRDtool to store and update the data. When users need to view the data, it uses RRDtool to generate charts and present them to the users. Because …