I set the server upload size is 500M, can also upload such a large video, the format is the same MP4, but when the Web page playback only to play the maximum of 20M or so video, more than either has been loading, or only the sound, no image display,
I want to read this website in PHP
http://www.1396me.com/pk10/kaijiang/
Read the latest issue of lottery numbers, draw time and period number, how do I do?
Reply to discussion (solution)
Download Web page data analysis HTML regular
I've learned PHP, I've done a website like online shopping.
Recently, looking at the protocol, touching the socket TCP/IP protocol and things like that.
If I'm not mistaken, the socket is like an API function package that allows TCP and UDP
Now the site basically has to share the function, say: share to QQ space, share to Sina microblogging and so on.
Now there is a need to know whether users have to share the success, and then their own system to make a record, and then send a user
The object in the inside calls the method instead of writing index (), but is written as-$a () Why is that?
Reply to discussion (solution)
$_get[' A ' is a parameter name on the hyperlink, $a = Not $_get, you'll know when you hit $ A.
The following error occurred when testing the demo, do not know how. Ask aunt to help see.
Interface Documentation V3.3.7 PHP5.23
Warning:curl_setopt () [Function.curl-setopt]:invalid curl configuration Option in/www/web/.....
Reply to
In the function below, read SRC, how can I read the title in the
function get_pic_list ($content = ")
{
$pattern = "//";
Preg_match_all ($pattern, $content, $match);
$arr _pic = Array ();
$i = 0;
foreach ($match [1] as $IMGSRC)
{
$arr _pic[$i ['
Issue: After installing thinkphp in the SAE, run the Web site, prompting "the project directory is not writable, please set up the project directory manually and set it as writable"
Background:
I just started the Web site development. Made a
This is the previous section
Header ("Content-type:text/html;charset=utf-8");
?>
Username
Password
This is the Analog server section
Header ("Content-type:text/html;charset=utf-8");
$mysqli =new mysqli
I want to achieve is every time according to the keyword search Baidu results page, such as Baidu search results are such, Baidu promotion content Ka Zhongwen:
And I use curl to crawl the result is this:
That is to say that each crawl results
$_mysqli->rollback ();
$_mysql->atuocommit ();
and InnoDB how to use
Reply to discussion (solution)
http://php.net/manual/zh/mysqli.autocommit.php Use manual
A small example
$mysqli =new mysqli ("localhost", "root", "123456", "test"), if
I want to implement communication between users, the idea is to create a message table, and then put the recipient user name, sender user name, message, etc., and then who want to see the message sent to the message table to find the recipient is
$page =$_request[' page '? (int) $_request[' page ']:1
What is the meaning of this sentence (int), never seen such a notation, a parenthesis inside a bag of things, this is a what, it certainly is not a function.
Reply to discussion (solution)
Here's my own!
Create a 123.php file as follows
$url = "Http://www.123456.com/Ajax.ashx?" Action=addorder&orderidshow=1&id=10086&amt=10&mb=2&email=fdhfdf@qq.com "; $result = file_get_contents ($url); echo $result;
The results shown are
Too troublesome can also: click to download
Html:
give force {ovov: $answer _datas.goods/}
do not give force {ovov: $answer _datas.bads/}
HTML corresponding PHP file
$value) {if ($value [' uid ']== $
Please look at the following code, very simple, please take a moment to see:
Class person{public $name; Public Function __construct () { $this $name = ' Tom '; Code 1 }} $
Define (' Isrobot ', Getrobot ()), if (Defined (' Norobot ') && Isrobot) {Exit (header ("http/1.1 403 Forbidden");}
The above code, said to be to prevent the robot access, I do not understand where the representative is the machine person?
Recently encountered an HTTPS problem while studying the hacker News API. Because all hacker News APIs are accessed through an encrypted HTTPS protocol, unlike the normal HTTP protocol, when using PHP's function file_get_contents () to get the data
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