How to display the file name on the server on a PHP page

How can I display the file name on the server on the PHP page? I want to display the files under the home folder of the Linux system on the PHP page, which can be sorted by time and file size to realize the effect of viewing the files. Yes As an

As above, little brother I want the result for 12abc34

As above, I want the result for 12abc34 $string = "Some text (12abc34) more text"; if (Preg_match ("/[" ([.] [)]/", $string, $matches)) { Echo $matches; } ?> As above, I want the result for 12abc34 ------Solution-------------------- $string =

How to select a path when Phpexcel is saved

How do I select a path when Phpexcel is saved? How can I use Phpexcel to export Excel to choose Save path?? PHP Code Set_include_path (Get_include_path (). Path_separator. Lib_dir. Directory_separator. " Phpexcel ". Directory_separator. "

Can I modify the project that Shopex export Excel file, how to resolve

Can I modify a project that Shopex export Excel files Please ask the next Shopex in the order export to Excel file when how to modify the exported items, such as I just want to export to Excel file only when the name, phone, detailed address and so

Find out what controls or functions on PHP can initiate XML requests and get back data solutions

Find out what controls or functions on PHP can initiate an XML request and get back data Now to use PHP to do a flight inquiry, ordering procedures, contacted a business travel platform, The documentation they provide is a submission form that is

, ask a question about PHP data processing

Master please come in, ask a PHP data processing problems Use PHP and MySQL to achieve a patient appointment statistics function: When the page is loaded by default, all incoming data is displayed, and you can search by entering the date of the

Simple OOP tutorial, how to solve

A simple OOP tutorial I found a lot of people who needed oop tutorials in the forum, and I uploaded the tutorial I was watching and shared it with you. The download address is http://download.csdn.net/source/1661073 I'm looking at this tutorial, I

Chinese name picture upload exception how to deal with

How to upload errors in Chinese names? For example: China. jpg upload will be wrong to change to English, there is no problem how to deal with this situation? Thank you! ------Solution-------------------- What's wrong? ------Solution---------------

Ask for a book about PHP programming ideas! Do you have? What to do with it

Ask for a book about PHP programming ideas! Do you have? Want to learn PHP, on the excellent book "PHP and MySQL Web development (Original book 4th edition)" But always feel that they seem to be a little bit of programming ideas are not, to

It's a very low-level problem, just trying to figure out

The problem is very low, just want to understand, please advise Why does PHP mail automatically send e-mails, e-mail not all to stmp the server's account number and password? Mail (to,subject,message,headers,parameters), why this can be sent, is not

How do I use PHP to add an asterisk to my phone number and name? Solution Ideas

How do I use PHP to add an asterisk to my phone number and name? On the internet to find a bit, a textbook is not good http://www.haogongju.net/art/848588 Preg_replace ('/(0[0-9]{2,3}[\-]?[ 2-9]) [0-9]{3,4} ([0-9]{3}[\-]?[ 0-9]?) /I ', ' $1****$2 '

About Apache running a period of time will account for 100%CPU caused by the crash related issues

About Apache running for a period of time will account for 100%CPU causing the crash problem. Haven't posted for a long time. Environment: win2003+apache2.0.59+mysql5+php4.4.4 Situation: The last 3 days, 2 head of the crash, I now check it is

The original PHP object-oriented and Java almost AH solution

It turns out that PHP is about the same object-oriented as Java. I do Java, and now in the way to learn some PHP. It is a scripting language that simplifies programming without declaring types. A cursory look at the PHP object-oriented, which is the

PHP Query Oracle Return field read, how to handle

PHP Query Oracle return field read After PHP queries the Oracle database, the value of a field is: ["Ijinfo"]=> Object (Oci-lob) #108 (1) { ["Descriptor"]=> Resource (117) of type (OCI8 descriptor) } The content of the field read after the Java

How to use cookies to prevent users from flooding back

How to use cookies to prevent users from flooding back? It's all right. A link to the Phoenix http://yue.ifeng.com/y/detail_2011_12/07/11160676_0.shtml Comment Box content is: Civilized Internet, login comments! Direct Point Button JS Alert please

This doesn't know what's wrong. 7, 8 lines error

This does not know where the wrong 7, 8 lines error Include ("includes/config.php"); 7th, 8 line error Lei (0); $ii = 0; function lei ($belongs _id) { $sql =mysql_query ("select * from Pro_type where belongs_id= '". $belongs _id. "'", $conn); while

PHP inside if add PHP call can execute it? solution

is PHP inside the If add PHP call can execute? My PHP source code has an IF, For example, if the message is successful, it shows: Message added successfully, I want to add a execute PHP executable file, all directly open is a PHP execution, in the

PHP page can not display pictures, how to solve

PHP page does not display pictures PHP page does not display file names with spaces and pictures in Chinese ------Solution-------------------- 1. File name space and Chinese. 2. The relative adjustment is good. Or you can use

Call methods of other classes, how to handle

Methods that call other classes Suppose a php file a class, that to inherit other classes, you must first include this PHP file, but I see some framework does not write the include can be directly to the other class instantiation of the object, how

Which master can help younger brother I solve the garbled problem AH

Who can help me solve the garbled problem ah ... My php file gbk, write HTML file message header encoding is utf-8, and then read out the display is garbled, who can teach me coding problems ah ... Headache!!!

Total Pages: 5208 1 .... 2393 2394 2395 2396 2397 .... 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.