About character intersection methods

There are currently 2 strings "A B C" "D E F" Judging the total character of the string whether there is a intersection, I wrote a method, I feel a bit complicated, is the character to the array comparison, there is no direct comparison of the

Problems with PHP binary conversion

For example, binary string, 11111111111111 (14) converted to 16 byte (FF 3F 00 00) and 11 converted to 03 00 00 00 How to convert, do you want to use the pack function? REALISTIC Example!!! Toss two days, very urgent, ask the great God

Please use log4php log record date error

The configuration is as follows: Error: Description Test many times found, as long as the configuration of the%date format log error, please have anyone encountered? log4php is 2.3.0, PHP is 5.5. Reply to discussion (solution) Look at

$_server question, I say why has the URL rewrite failed to go away index.php

Some host URLs are rewritten after $_server[' Path_info '] will disappear, Instead, $_server["Orig_path_info"] resulting in, according to $_server[' Path_info ') judgment to remove the index.php will fail I just discovered this phenomenon, but I don'

Problems with PHP for repeating decimal

for ($i =81.3; $i ";} If the print results are not normal at 90, Novice to ask, urgent ~ ~ ~ Reply to discussion (solution) for ($i =81.3; $i ";} The content after the second semicolon in the +=0.01 for $i indicates how many $i+=0.01

Ways to read pages help

Hi. Gentlemen, I would like to ask, I have a number of static pages, I want to be able to read directly to a static page of the title,description and the body tag content, there is any way to get it??? Above, to seek help, thank you Reply to

Novice ask for how to print a number in decimal format such as loop 0.01.

If I want to print 0.01 0.02 0.03 0.04 0.05 ...... 0.99 How does PHP print such numbers? How do I print it with for? Reply to discussion (solution) for ($i =0.01; $i ";} There is a problem,Like I'm going to print81.1-99.1The numberWith

How to write your own PHP Web site management system?

It is possible to post articles in the background, release new products, update the product library, update prices and so on. How do you write this? What kind of ideas? Because I am self-taught PHP to do Web site, so just have a lot of do not

Why can't I insert it?

INSERT into ' category ' (' IDs ', (select Concat (Catpath, '-', id) as Abspath from category Order by Abspath) as Abspath, ' name ' ) VALUES (44, ' 0-1-2-11 ', ' website homepage ');Why can't I insert Reply to discussion (solution) INSERT

Phpmailer error Could not instantiate mail function.

I downloaded the latest library in the Phpmailer official website, according to the inside of the test file configured under testing, php.ini inside also support sockets. On the internet to check a lot of information is also tried or not, so here to

Preg_match Regular Basic problem

Final Result: http://www.php.net ^ (http:\/\/)? can be matched by HTTP//To understand Why ([^\/]+) can match www.php.net puzzled? Reply to discussion (solution) [^\/]+ means that matching multiple characters that are not '/' can, of

Not getting started ask a lesson about learning steps and choices

That is true: Friends find me to make a website, mainly need an "online booking function", late may also add online payment function, and then he is not particularly anxious So I would like to ask you, this is the best way to learn what

PHP Novice Ask variable output problem

Ask a variable output to show the problem, the veteran laughed at! Now there is the variable $ssdd=array (a=>2,b=>3); I want to output $SSDD during debugging, not the value of a or b inside. what function output AH. If the echo $SSDD directly, the

The session_id assignment appears puzzling problem, urgent

Page A and page B are both in the same Web root and are passed session_id because page a needs to use Curl's post to page B and get the return data, and Curl's post will be considered by the server as another terminal. The idea is this: page a.php

PHP Basic +jquery Basics

1. Write a function that allows it to return the number of weeks between them (including the two weeks passed in), based on the 2-year number of weeks passed in 2. Use jquery to dynamically increase the amount of each day in the range, based on

Array function problems

The PHP array gives each element inside a date ("y-m-d", each element of the array); This function I forgot what to call. A new array is generated and then the Array_unique is removed and then the largest and the second one is written. Reply to

Finding a recursive algorithm

ID name PID 1 AAA 0 2 BBB 1 3 CCC 2 4 DDD 2 5 EEE 0 6 FFF 5 7 GGG 6 Concluded Aaa Bbb CCC = ' CCC ' DDD = ' DDD ' EEE FFF GGG = ' GGG ' Reply to discussion (solution) http://bbs.csdn.net/topics/390731721 http://bbs.csdn.net/topics/3907317

PHP Cannot connect memcache

Yesterday in the Linux virtual machine installed a memcache, in PHP can normally access data. Restart Linux today, but found that PHP cannot connect memcache, but telnet can connect, can access data. Want to have a hero to help answer, solve

The strange problem that WeChat development can't return data

First on the code: Get the code for the TD Bar $regex = "/([\s\s]*?) /"; $str = file_get_contents (' http://www.zh818.com/get/quanguo-jg/'); $matches = Array (); Preg_match_all ($regex,

About the site to get a cookie problem under another site

Existing A, a (domain name is not the same) two sites, a website login, will save a cookie, then B site want to know which user a station login, that is, want to get this cookie value. Is there any way to do this with curl? Or not through curl, by

Total Pages: 5208 1 .... 3815 3816 3817 3818 3819 .... 5208 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.