Delete the log file 3 days ago, Fatalerror. how can this problem be solved?

Delete the log file 3 days ago. Fatalerror: I don't know PHP. now I want to implement a function to delete the files (logs) from the specified directory three days ago ), the following PHPcodefunctiondel_directory ($ dir) {if (! ($ Mydir @ dir ($

Reference php file path targeting-php Tutorial

Reference php file path orientation problem reference php file path orientation problem ------ solution ------------------ in output. in php, use dirname (_ FILE _) to locate such as file_put_contents (dirname (_ FILE __). & quot ;....... Txt & quot

I want to capture a webpage. why is it empty? The code is as follows-php Tutorial

Why is it empty when I want to capture a webpage? The code is as follows & lt ;? Php $ url & quot; shanghai.55tuan.com & quot; $ fcontentsfile_get_contents ($ url); preg_match (& quot ;(. *) & quot;, $ fcontents, $ regs); echo $ regs [1];? & G why

NUSOAP has an error in PHP5 "SoapClient: SoapClient () expectsparameter2tobearray"-php Tutorial

In PHP5, NUSOAP has an error "SoapClient: SoapClient () expectsparameter2tobearray" PHPWarning: SoapClient () expectsparameter2tobearray, booleangiveninaaa. phponline61 NUSOAP error in PHP5 "SoapClient: SoapClient () expects parameter 2 to be array"

Which of the following experts helped me build a website using LAMP?

Who can help me build a website using LAMP ?! I want to build a website using LAMP, but LAMP has never been used. I want to learn and use it from scratch. I want to find a good teacher to get started quickly. Do not learn original development, as

Ask everyone what PHP development tools are used

What PHP development tools do you use? in my php development environment for beginners, wamp is used as the recommended development tool. notepad is currently used .. ------ Solution ------------------ notepad ++ in windows is the most commonly used,

How do you create databases and tables? Solution

How do you create databases and tables? How do you create databases and tables in php? Are you using mysql statements in php to create more tables or phpmyadmin to create more tables? Will it be annoying if you use phpmyadmin to create a database

Questions about replacing two arrays-php Tutorial

2. array replacement Problem 1. how to convert array (1234,123) to array (1234,123); 2. $ findarray (1234,123); $ shujuarray (1234,12345, 123456,1234567, 123); $ tihuanar 2 array replacement problem 1. How to set the array Array ('20140901', '2014090

Originally, PHP's object-oriented architecture is similar to java.

In the past, PHP's object-oriented language is similar to java. I am working on java. now I want to learn more about PHP by the way. The script language simplifies programming without declaring the type. A rough look at PHP object-oriented, which is

GD Library not supported. how to deal with it-php Tutorial

The GD library is not supported. what should I do? Php5.2.5 is installed locally, and the GD Library is installed and enabled. However, the test script is displayed as follows: GD support is no... The background verification code cannot be displayed.

Aes-encrypted java decryption

Aes-encrypted java decryption publicstaticStringEncrypt (StringsSrc, StringsKey) throwsException {byte [] rawsKey. getBytes (); decrypt (raw, & quot; AES & q aes-encrypted java decryption Public static String Encrypt (String sSrc, String sKey)

Questions about text garbled characters in the website Test

The website test text is garbled. my database character is GB2312_CHINESE_BINfun.php. The character set is gb2312, except for the PHP code-only page, after each page is changed, the text display of the gb2312 webpage code is correct. However, in

PHP cannot connect to mysql database

PHP cannot connect to the mysql database. my development environment is xampp under lixnu. it was installed only a few days ago and the versions are newer. Both the command line and phpmyadmin can be used to connect to the mysql database. everything

Ask experts to help solve website problems-php Tutorial

Ask experts to help solve website problems 115. comfilec2zljl1y, younger brother, wants to design a graduation project and build a website for the score management system. However, the code itself is not good, so it is very bad, and the function is

The field stores the timestamp. how does one obtain all records of the current day? How does one write SQL statements?

The field stores the timestamp. how to obtain all records of the day? how to write SQL statements? solution ------------------ SQLcodeSELECT * fromtablewhereDATE (FROM_UNIXTIME (time )) DATE (NOW (); ------ solution ---------------- The Field stores

PHP random output after adding CSS format to the string after multiple arrays are traversed. How can this problem be solved?

PHP random output after adding CSS format to the string after multiple arrays are traversed. $ A giraffe, elephant, kitten, Tiger,; * the color of this section is red, the font size is 12 * $ B rabbit, cat meat, mutton, beef, * the color of this

Is there a future for new php beginners to do ecshop secondary development? What should I do?

Is there a future for new php beginners to do ecshop secondary development? Is php promising for secondary ecshop development? I am a newbie, and I always think it should be better to start from the new project development. I don't know how to

Big Brother and sister of php, help me solve a problem-php Tutorial

Php's big brother and sister, help me solve a problem. I have a variable: $ strDate. the variable value may be or... not always any day of all time, now I want to return the month where this value is changed. that is to say: return the month of the

Gd Library-php how to align the two ends of generating images using text

Now I want to put a string of text on an image. This requires a line break when the text is wrapped. However, after processing the line feed based on string truncation, the problem is, the text on each line is not aligned at both ends. I don't know

What is the principle of this concurrent lock?

The locks we have seen are similar to defining a variable true first. after the related operation is completed, the related value is changed to false. {code ...} the locks we have seen are similar to defining a variable = true first. after the

Total Pages: 12780 1 .... 2413 2414 2415 2416 2417 .... 12780 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.