PHP Crawl Weather Report Interface data problems, seek guidance
National Weather Bureau Free Weather Interface (Shenyang): http://www.weather.com.cn/data/cityinfo/101010100.html
This interface provides a JSON-formatted forecast data.
I do not know
The public platform feels like it's always missing messages.
I don't know who used it.
I tried, how does it feel that the server is always receiving no messages?
On the background page of the public platform can see the message of their mobile phone,
CI Framework source Reading---------utf8.php
File address:./system/core/utf8.php
Main role: Provide UTF-8 coded environment support
The 1.__construct () constructor determines whether UTF8 is supported
(1) Log record Utf8 Class Initialized
(2)
PHP session does not automatically destroy
Server environment: Win2003 + IIS + php5.3
The PHP session is configured as follows:
Directivelocal Valuemaster
Where do you run the PHP code?
Brothers and sisters, small beginner php, and firmly walk the PHP WEB, you guide me
Where should I write PHP to run Ah, HTML and terminal run a difference ... HTML does not recognize the escape sequence of C:
How to write XML with a node
The XML structure is as follows
PHP is as follows
$note = simplexml_load_file ("A.xml");
$note->appendchild (New DomElement ("Time", "AAA"));
------Solution--------------------PHP has a lot of
n ways to get file name extensions in PHP
n ways to get file name extensions in PHP
Acquisition from the Internet, basically the following ways:
The 1th method:
function Get_extension ($file)
{
substr (STRRCHR ($file, '. '), 1);
}
The 2nd
PHP matches multiple results in regular, randomly replacing one of the results
With regular match characters, if all substitutions are simple, using preg_replace is fine. But I'm going to have to randomly replace one of the results of the multiple
Always appears mysql_fetch_array (): supplied argument is not a valid MySQL result resource
Always appears mysql_fetch_array (): supplied argument is not a valid MySQL result resource in D:\ error. Please help!
$sql = "SELECT * from ' topic '
The following issues occur when paging is displayed in the frame
Explain the situation first; the pagination code is not a problem in testing;
However, in the background framework, when accessed, the following issues occur
You have a error in your
Questions about PHP drawing?
The problem is as follows:
1 attention.php
if (!defined (' Inc_check '))
{
Die ("error!");
}
2 globals.php
Require ' attention.php ';//delete this sentence, verify that the code picture is normal, otherwise
The problem of Chinese characters to pinyin
Find such a class on the Internet, but some Chinese characters can not be converted to pinyin. Don't know if it has anything to do with IME? For example: Vernon, the output is empty.
function Pinyin ($_
Ask the regular question.
User name, you can enter the Chinese language can also be entered in English,
How do I write the regular to judge it.
You can't lose in China and England.
Chinese 10 characters or less. English is available within 30
Toss 1 days, JS call PHP unsuccessful, help!!!
A few simple statements
Index.html:
test.php:
echo "document.write (' Hello ');";
?>
How can you not show the result of ' hello '? Search the Internet for a day, punctuation problems, PHP
PHP.ini Common Configuration
Reference: http://legolas.blog.51cto.com/2682485/493917 This file must be named ' php.ini ' and placed in the directory specified by the PHPINIDIR directive in httpd.conf. The latest version of PHP.ini can be viewed in
PHP with parameters How to follow the parameters to execute the specific code:
For example, I have a Web page
test.php
Back with a parameter test.php?1, test.php?2,test.php?3,test.php?4,test.php?5,
I am now by getting URL after? The following
About Baidu Share code judgment
How to tell Baidu share ...
For example, if the website members will be reproduced or share the text Baidu space QQ space microblogging, etc...
If sharing success ...
Add 10 points to a member ...
How do you
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