An HTTP error occurred before running the PHP file 401.3-unauthorized
Instant Meng, online find a lot of solutions or not very complicated or useless, finally after a few attempts, finally found that only need to modify the permissions on the line,
The above introduces PHP multidimensional array php Two-dimensional array of the rectangle transpose, including the contents of the PHP multidimensional array, I hope that the PHP tutorial interested in a friend helpful.
php the encoding of all files under the conversion folder Other encoded versions for publishing sites for example, you have a GBK version you want to have a UTF8 version or you only GBK source code you want to develop two times but you don't want to
Example, PHP crawls the code of the website data.
/**
* A class for capturing pictures
*
* @package Default
* @author Wujunwei
*/
Class Download_image
{
Public $save _path;
Implementation requirements:Through Snoopy get a station SessionID and verification code pictures, on their own website display landing form, submitted, Snoopy submit input information to a station to achieve landing, and obtain the information
example, PHP curl modifies the site request header, including useragent, header information, and so on. Code:
!--? php
for ($i = 0; $i
Task ();
}
//Modify Access Request
Use Eaccelerator to speed up the execution of PHP programs by caching PHP files in memory. As the original author of MMCache was Zend, the development of MMCache has been in a state of stagnation. But Eaccelerator has borrowed from the advantages of
Share a sample PHP connection to Access database code, PHP code to connect to access there are a number of ways to learn the use of these methods through an instance.
*/
Using PDO to connect to an Access
example, PHP Custom function Rrmdir.
Recursively delete directories and files
function Rrmdir ($dir) {
if (Is_dir ($dir)) {
$objects = Scandir ($dir);
foreach ($objects as $object) {
if
PHP Performance monitoring extension xhprof, overall is a good tool, this section describes the installation and use of Ubuntu under the process.Install Xhprof:
wget http://pecl.php.net/get/xhprof-0.9.2.tgz
Contents of this section: SetInterval and SetTimeoutOne, SetInterval () define and use the SetInterval () method to execute a function or expression according to the specified period (in milliseconds). The method keeps looping through the function
Requirements Description: According to the date of every Saturday to determine whether it is bi-weekly, weekly, that is, if the date of Saturday is the singular, then this week is a single break, if it is even, that is double Hugh. Before taking
This example describes the use of Preg_replace_callback functions in PHP. Share to everyone for your reference, as follows:
Mixed Preg_replace_callback (mixed pattern, callback callback, mixed subject [, int limit])
This function behaves almost
PHP Save XML file
$xml=new SimpleXMLElement(XML数据); $xml->asXML(文件名);
PHP Read XML file
XXX= simplexml_load_file(文件名);
1. Accessing XML using object-oriented methods
classXmlTest{Private$filename="A.xml";Private$isreading=false;Private$
First, the noun explanation
The reverse proxy method refers to a proxy server that accepts connection requests on the Internet, then forwards the request to a server on the internal network and returns the results from the server to the client
addcslashes-using backslashes to escape characters in a string in C language style
addslashes-referencing strings with backslashes
bin2hex-converts binary data to hexadecimal notation
Aliases for Chop-rtrim
chr-returns the
In the process of interaction between the PHP backend and client data, the JSON data is sometimes formatted in the form of an array, and in a moment the object makes the client developer feel like crashing.
Therefore, the front and rear related
footer.png (169.47 KB, download count: All)
Download attachments
Footer
2012-6-28 17:07 Upload
For details, see the copyright information on this site.Method: Unzip the file, add the images file to the root directory of the
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