Installing PHP and setting up the debug environment under Windows
Installing apache2.4
Official address: http://httpd.apache.org/
If you choose 2.2 official will compile well, select 2.4, to download from other images
Files for Microsoft
Phpexcel export, normal in local, garbled in server
Title, when the server is running ....
Repeat, the local operation is normal, put on the service is the case, the code is as follows ...
$excel =new \phpexcel ();do{$url = ' http://www. Who's the
PHP programmer crying by Swoole pit
This paper mainly records the process of learning swoole, filled the pits and swoole how powerful!
First of all, the understanding of Swoole: A C program draped in a PHP cloak. Many phper friends see Swoole
thinkphp3.2.3 How to change only one delimiter in the address URL, the other remains the same
Today we teach you a way to change only one delimiter in an address URL by using thinkphp3.2.3, and first look at this address!
Its original address
Document. Scform.submit (); Unable to submit data
The form is validated and submitted, but the data is not received.
The following section is a check function:
The following sections are the forms:
Here is the PHP fetch data:
if (Isset
Connection Number Library failed: Could not find driver
Extension=php_pdo.dll
Extension=php_pdo_firebird.dll
Extension=php_pdo_mssql.dll
Extension=php_pdo_mysql.dll
Extension=php_pdo_sqlite.dll
The code in php.ini has changed the connection
Development, saving files using the following methods cannot be saved
Use the following method file has been generated, unable to save the file, rookie one, hoping to help answer the next.
function Savepic ($serverId, $picName) {
$accessToken =
What to do if the application files downloaded via PHP do not work?
The site has an EXE file, and then downloaded through the following code to find that can not run, and even the icon is missing, what is the reason?
$fs = fopen ($_finame, ' R ')
How duplicate data is deleted after a looping cascade drop-down box in a PHP Web page
For example: a material has a variety of styles, different thickness of the core plate, different thickness of the resin cloth.
Use JavaScript in a PHP Web page to
Excuse me, how to use GD operation to generate image files directly?
For example, this code (file1.php):
$img = Imagecreatetruecolor (300,200);$color = Imagecolorallocate ($img, 200,0,0);Output English word:Imagestring ($img, 5, +,-"abc123@#¥a"
PHP Determines whether a string contains the specified character (for efficient writing)
This post was last edited by qq_22301097 on 2015-10-14 20:55:23
PHP Determines whether a string contains the specified character. Cases: $str = "Pussssasasasds";
Require __dir__. ' /.. /bootstrap What does this code mean?
Recently studied the Laravel framework,
Require __dir__. ' /.. /bootstrap/autoload.php ';
What do you mean by this code?
The call is:
d:\web\laravel\public/. /bootstrap/autoload.php
PHP CLI configuration file issues
Introduction
Today in the teaching of others to use PROTOBUF, inadvertently found a PHP cli mode of the strange problem, the cost of long time find a solution, here to share.
Problem description
Our side first
Nginx deployment thinkphp Do something, configure the Pathinfo mode, and finally well equipped
Use thinkphp made a website, deploy to Ubuntu when need, server with Nginx, itself does not support pathinfo mode, need to modify the configuration file,
Test a speed of the script, do not know where the wrong
/*== Create a data file that will be transferred to the user ==*/ $FP =fopen ("Cs.txt", "w"); for ($i =0; $i Fwrite ($fp, "Bandwidthkh"); } Fclose ($FP);= = Now write a script that
PHP image watermark Add, compress, cut package class
PHP operation of the image file is mainly to use the GD library extension. When we frequently use PHP to manipulate images, we naturally encapsulate many functions, otherwise we will write too
Error level in PHP
In the course of PHP programming, you will encounter more or less error reminders, it is these error hints, guide us to write cleaner code, today first write our main list of error types, first dig pits, write about PHP errors
thinkphp Function: C method
The C method is the thinkphp used to set up, get, and save configuration parameters, with a high frequency.Understanding the C method requires first understanding the configuration of the next thinkphp, because all
Post blog post comments with the HTTP protocol
This blog post takes the PHP use socket to send Get,post request, to take advantage of the above encapsulated HTTP class, consider how to use PHP script to submit a blog post
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service