Questions about file operations.

$dir = "Load"; mkdir ("Load", 0777); $opendir =is_dir ($dir); if (! $opendir) { echo "exists"; } Else { echo "does not exist"; } ?> What's wrong with the code above? Why does it always show that it doesn't exist? and change to other directories

Ask for help: about this code to take data problem!!

This post was last edited by Xiaoshengbboy on 2013-06-14 00:42:16 To help you. $sql = "SELECT * from Xym_pic"; $res =mysql_query ($sql, $conn); while ($row =mysql_fetch_assoc ($res)) { $data []= $row; }//randomly extracts 9 records to simulate the

In the current development of small and medium-sized web sites, what kind of calculation is used to connect MySQL database?

It's a traditional MySQL function. or the MYSQLI function. Or the method of the PDO interface. What are the characteristics and applicability of these three methods? In addition: I want to ask one thing: Setting the character set, strictly

LAN remote reading Excel file problem, ask how to solve?

$filename = "//10.198.108.143/test/abc.xls"; $size =filesize ($filename); Echo $size; Error: Warning:filesize () [Function.fileseze]:stat failed for//10.198....on line 19 I read the forum on the post http://bbs.csdn.net/topics/390313277, why I

How does PHP only let logged-in users access audio?

Title, if MP3 exists the server's music folder, how to ensure that only logged users can access the MP3 inside. Users who are not logged in can not access through Http://www.myhost.com/music/111.mp3? Reply to discussion (solution) Filter the URL,

PHP does not print strings properly, how to resolve

PHP URL During the development process, I need to access a URL http://www.***.com/api/abc?a=123&b=234¶m=2 But when I echo ' http://www.***.com/api/abc?a=123&b=234¶m=2 ';The http://www.***.com/api/abc?a=123&b=234 (special character) is

Ask for a database design problem!

Ask for a database design problem! I'm assuming an application. such as the Forum We send a post we build a post table topic Then support the visitors to prepare a reply form reply My question is: Suppose we want to know the number of replies

Yii frame, delete and change, SQL

A framework for adding and deleting SQL Yii data 1. $sql = "INSERT INTO Tbl_user (' id ', ' username ', ' password ') VALUES (null, ' alu ', ' 123 '); 2. $sql = "SELECT * from Tbl_user where id=1; 3. $sql = "Update tbl_user set password=" 123456

DEDECMS submit a message to the specified mailbox

Title: DEDECMS default Message form submitted to the database, to see in the background, how can I submit the form to send directly to my designated mailbox. And who has DEDECMS BBS invitation code AH. Thank you! Reply to discussion (solution)

PHP is not as good as ASP three places

Learning PHP for some time, feel that PHP overall function is much more powerful than ASP, especially the function and function parameters provided more flexibility than ASP at least one order of magnitude. But PHP is not as good as ASP in some

A piece of code solver

if (!defined (' In_discuz ')) { Exit (' Access Denied '); } $page =$_get[' page ']?$_get[' page ']:0; $perpage = 30; $start = ($page-1) * $perpage; $mpurl = ' home.php?mod=auction&ac=inauction '; $perpages = Array ($perpage = ' selected

PHP upload breakpoint continue to pass

Does not use the control, as if it can only be implemented with Flash? Reply to discussion (solution) Of course it is. PHP doesn't support it. Does not use the control, as if it can only be implemented with Flash? No controls are basically not

Puzzles me coding problems (resulting in Chinese garbled), by Solution!!!

My Site pages are encoded with gb2312 (can not change), I can change the MySQL database! Can I change the MySQL database data from utf8_general_ci to Gb2312_chinese_ci to solve the problem from the root? What are the essential differences between

PHP Cannot access

I built a blog myself, and then Apache and PHP were all set up, but could not be accessed. Then I changed a port, like 8080, and changed the Iptables,http://***:8080/blog to be accessible. But to 80, and 8080 of the configuration exactly the same,

Web page cannot perform other actions while PHP is downloading

PHP Server Buffer I have a page that is downloaded, the code is as follows Header (' Cache-control:no-cache, Must-revalidate '); Header (' Content-type:application/octet-stream '); Header (' accept-ranges:bytes '); Header (' content-length: '. $this-

There is a syntax error on the page, but the direct page can not load "have diagram"

My code, for example, is to write $array=array () $array= () Change to correct to open the page normally. I added error_reporting in front of me (E_error | e_warning | E_parse | E_notice); The same is true for error alerts. How should I configure it?

How does the PHP page cache solve the concurrency problem?

I don't use frames. Read a lot of information, are generated a static file put there, and then expired on the regeneration, not expired directly read the contents of this file, but in case of large concurrent access, because I this is an online room

Apache MySQL PHP construction site, how to learn?

I would like to use the Apache MySQL PHP construction site, I do not have this knowledge and technology, how to learn? How to learn? There are some writing apache+mysql+php, is this book suitable for me? What kind of books should I buy? Please give

How does the PHP Print report function?

Print function, print Express order To do a printing function, some reports to print out through the printer; Another is to print a courier list; I don't know how to do it. I beg you, hero. Reply to discussion (solution) Using PHP to generate

Ask a regular

Ask a regular: The data is sometimes like this: ["Two S", "Li S", "Wang S", "one S"] [{"DEVID": 1, "area": "Guangzhou", "USERID": null, "USERNAME": "King S", "Devtype": null, "Devname": "IPad2", "Devimei": " IPAD2346523985687 "," isusable ": 1,"

Total Pages: 5208 1 .... 4929 4930 4931 4932 4933 .... 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.