The test code is as follows:
Copy Code code as follows:
$FP =fopen ("http://www.sina.com.cn", ' R ');
$stream _meta = Stream_get_meta_data ($FP);
Print_r ($stream _meta);
?>
in my native output is as follows: Array
Vc6:legacy Visual Studio 6 compiler is compiled using this compiler.Vc9:visual Studio 2008 compiler, is compiled using Microsoft's vs Editor.Because apache.org only provides VC6 versions, only VC6 is used when using the original Apache.
Conditional statement
When you write code, you often need to perform different actions for different judgments.
You can use conditional statements in your code to accomplish this task.
If...else statement
Executes a piece of code when the
Recently in the study of PHP, the following is to see PHP100 video tutorials, do the learning notes, stored here for future use.
Apache--php--db (MySQL)
First, Apache: basic work
• The user accesses the server's file through the browser, and it
The example in this article describes how the PHP implementation asynchronously writes the content (picture or content) on a remote link to the local method. Share to everyone for your reference, specific as follows:
/** * Writes the content
This article examples for you to share the Ajax combined with PHP to achieve the two-level linkage of the specific code, using AJAX, from PHP to obtain data, specific content as follows
Using AJAX to get data from PHP
ajax case a
First, Introduction
New users focus on the micro-credit public platform, will produce a subscription event, that is, the Subscribe event, the default code does not respond to this event in response to processing.
After new users focus on the
This article describes the implementation of Php+ajax upload image without refreshing. Share to everyone for your reference, specific as follows:
1. Introduction of documents
2.html part
"/>
"height=" 120px ">
Mind Mapping
Introduced
Regular expression, everyone in the development should be often used, now many development languages have regular expression of the application, such as JavaScript, Java,. Net, PHP, and so on, I today to the regular
Objective
May be often used in the framework, write a Controller or Model , write a lot of use , but did not write the file loading code, think use can do the automatic loading of files.
Detailed Introduction
In fact, the current popular PHP
Copy Code code as follows:
function Createeditor ($act, $id, $url) {#调用FCKeditor并补完发表文章的表单, act=0: Publish a new article =1 modify the article
Include ("editor/fckeditor.php"); FCKeditor has been stored in this directory
$oEditor = new
In general, first use the PHP strip_tags function to remove all HTML tags, and then remove the space, and then use SUBSTR or their own implementation of the CN_SUBSTR function to achieve interception. Because if you don't remove the HTML tags first,
One, for the PHP page completely inaccessible situation
1, to confirm that the problem is PHP or IIS and other server issues
Judging method, in the directory to decentralize a static file, through the browser to determine whether the static file
Q. I run a small Apache based webserver for me personal use and it are shared with friends and family. However, most script kiddie try to exploit PHP application such as WordPress using exec (), PassThru (), Shell_exec (), Sy Stem () etc functions.
1 history
Rasmus Lerdorf created the Personal homepage tool (Personal home page tools) to create his online resume. This is a very simple language. Subsequently, more and more people took note of the language and made various suggestions for its
The so-called "PHP" is open source Web application development/operation environment, a few days ago, "Nikkei open System" Reporters on the future development of the PHP Development Center program and other issues interviewed the center members Zeev
We all know how to get the rows (records) We need from MySQL, read the data, and then access some of the changes. Obviously it's also straightforward, and there's nothing to beat around this process. However, when we use object-oriented programming (
Presumably many people have a headache for regular expressions. Today, I have my knowledge, add some articles on the Internet, I hope to use ordinary people can understand the way of expression. To share learning experience with you.
Opening,
Seemingly simple things, in practical use, still very interesting
arithmetic operatorsOperator name Result
$a + $b addition $a and $b and
$a-$b subtraction $a and $b difference
$a * $b multiplication of $a and $b
$a/$b division $a divided by $b
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