PHP Week Get Code:
Date ("L"); Data can be obtained in English for weeks such as Sunday
Date ("W"); This can get the numbers for weeks like 123, note that 0 is Sunday
Copy Code get Chinese weekday:
Phpmailer is a packaged PHP mail sending class, support for sending HTML content of e-mail, and can add attachments to send, not like the php itself mail () function requires server environment support, you only need to set up the mail server with
Written in front: we know that the programming paradigm of existing languages is: over-programmed, object-oriented, functional, logical. With the popularization of the degree of software industrialization and the increasing complexity of software,
* * Please respect other people's labor success, please keep this copyright information, thank you!
Author: Little Dew 3.3
Sailing to fix something: in the code has been annotated, this code is now sent to QQ no problem ~
*/
PHP Encryption/Decryption functionEncryption/Decryption functionsUsageVar_dump (Fun::jmen (' A Ah ', $_env[' only '));Var_dump (Fun::jmun (' adyasvzex94%3d ', $_env[' only '));Parameters:$STR: STR type, requires encryption or decryption of the
Download phpMyAdmin, extract to Apache web directoryhttp://www.phpmyadmin.net/Visit http://127.0.0.1/phpMyAdmin/index.phpLog in with the user name and password of the database.If there is a "blank password logon is forbidden (see allow null password)
For friends who are trying to learn PHP (http://www.maiziedu.com/course/php/), the most difficult to understand knowledge should be a few PHP abstract class applications. As a novice is not yet to use object-oriented knowledge to programming, but
Encapsulation of single-file upload functions
File Upload principle: To upload the client's files to the server side, and then move the server-side temporary files to the specified directory.
The direction of the file: client-to-server
FileType ()
Get the type of file
Get the file types under Windows
echo filetype ("D:\\lamp\\php5\\php.ini"). "";
Output file representation is a normal document
echo filetype ("d:\\lamp\\php5"). "";
Output dir indicates
Header (' http/1.1 OK '); OK normal access
Header (' http/1.1 404 Not Found '); Notifies the browser that the page does not exist
Header (' http/1.1 301 Moved permanently '); Set the address to be permanently redirected 301
Header ('
This article describes the definition and inheritance usage of PHP classes. Share to everyone for your reference. Specific as follows:
/*
* Class
*/
class People {
Public $name;
Public $age;
The Joomla component is an easy way to sync Joomla's article to, if your public number is the subscription number, you can set the daily auto-push, currently only support Joomla core article components. We are developing supportVersion of
For the 0 basic students, learning PHP is definitely a great need for perseverance. Learning in any language is not possible overnight, but it takes a lot of time and energy to learn. It is not a class that is reported to be able to learn. This is
Signing, checking, asymmetric, and decrypting with OpenSSL is required to be used with the files of the certificates of the "." (Crt and PEM).
/**
* RSA Algorithm Class
* Signature and Ciphertext code: Base64 string/16
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