Set_error_handle and at (@) symbols

The problem with the set_error_handle and at (@) symbols is that I use set_error_handle to write some system errors or warning information to the log file. However, for some APIs such as fopen, if the file does not exist, it will also run to the

Thinkphp: transaction rollback solution

Thinkphp, transaction rollback functiontest () {$ withdraw = M ('withdraw'); $ Withdraw-& gt; startTrans (); $ data ['Agent _ id'] = 1; $ data ['Money'] = 1222; thinkphp, transaction rollback Function test (){ $ Withdraw = M ('withhdraw '); $

Read/write database problems

PHPcode & lt ;? Require_once (& quot; session. php & quot;); $ web_root_part = & quot; ../& quot; require_once ($ web_root_pa read/write database problems PHP code sql_query($querySel)) ){ message_die(DB_MESSAGE, 'Could not query Admin'

Why can't fetch_array () get data? How to solve

Why can't fetch_array () get data? Functionquery ($ SQL) {$ this-& gt; SQL = $ SQL; $ result = mysql_query ($ SQL, $ this-& gt; conn) ordie (mysql why fetch_array () no data available? Function query ($ SQL ){ $ This-> SQL = $ SQL; $ Result =

How to use php to protect images and videos

How to use php to protect images and video browsers to display an image can be written as follows: If the browser wants to display an image, you can write as follows: Anyone who inputs xxx.jpg in the browser can browse this image, but I want

Why can't I search?

Ask experts, why can't they search? Why? I can use it in another same program. It is mainly because you cannot search on the article page or on the homepage ., Your domain name is not filed for record or is not allowed to be accessed for other

About Style switching

PHPcode & lt ;! DOCTYPEhtmlPUBLIC & quot;-// W3C // DTDXHTML1.0Transitional // EN & quot; http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitio about style switching PHP code {dede:global.cfg_webname/}

How to write htaccess rules? Please go? Number. Thank you (urgent)

How to write htaccess rules? Please go? Number. Thank you (urgent) for the original index. php? Id1_123converter 123.html & nbsp; htaccess is as follows: & lt; IfModulemod_rewrite.c & gt; how to write the Rew htaccess rule? Please go? Number. Thank

How can I find the next record?

For the next record, I want to perform a collection and use the redirection method. Id is a unique and non-consecutive id number. how can I get the next data when I jump to it ???? My initial thought was like this. Find the minimum and maximum id &

Function functions in php will not be used.

Function functions in php are not used. on one of my one. php pages: & lt ;? Phpinclude (& quot; conn. php & quot;); $ rs = mysql_query (& quot; & nbsp; (& nbsp; selectop_valuesfrom function in php, will not be used? On one of my one. php

I also asked a question about the verification code.

I also asked a question about the verification code generated by php. The final result is that the last string is stored in the session and exists on the server side. what if the verification code exists on the client side, whether javascript can be

What should I do when spl_autoload_register fails to load?

How to deal with spl_autoload_register loading failure? I encountered two problems during my study today. first, I used WAMP and PHP5.3.9. when I learned to automatically load functions of the class. _ autoload ($ className) cannot be used for life

New users solve problems related to include_path

How can I solve the include_path problem? Add. php and conn. php are in the same folder .. Warning: include (../conn. php) [function. include]: failedtoopenstream: Nosuchfil newbie solving the include_path problem? Add. php and conn. php are in the

The image cannot be generated in the browser by inputting characters on the image using imagettftext. how can this problem be solved?

Comment '); you can output images. However, if the image is directly output to a browser, it cannot be used. In the following example, I used imagettftext to input characters on the image, so the image cannot be generated in the browser. I wrote a

Upload a file to determine whether the file name is repeated

Determine whether a file name is repeated during File upload. how can I determine whether a file name is repeated during File upload? I know $ _ FILES [& quot; form name & quot;] $ _ FILES [& quot; form name & quot;] [& quot; name & quot;] how does

<Phpeval ('echo "programmer picture logic question, see your logic at first glance. "');> Solution

& Lt ;? Phpeval ('echo & quot; programmer picture logic question. let's see your logic .. & Quot ;;');? & Gt; if I haven't come to the Forum for a long time, I will answer either or both of these questions. the question number is in the upper left

Ajax: How does a page receive a two-dimensional array returned by php,

Ajax: How does the page receive the two-dimensional array returned by php !!! I used ajax to request a php file. in the php file, the json_encode () function is used to format the returned two-dimensional array. javascript uses xmlHttp. responseText

Questions about the regular expression N

The regular expression has N problems. well, as described in the previous post, I have learned regular expressions for three or two days, I am not very familiar with this book, I turned to Baidu Baike to learn the following: =========================

How to convert array to XML source code

Requirements for converting array to XML source code: 1. suitable for arrays with multiple layers 2. support attributes 3. the key name of the array can be a number found on the Internet, but none of them meet the requirements. what is support

I 'd like to ask a knowledgeable expert about encryption.

Ask a knowledgeable expert to discuss the encryption problem. in addition to the md5 encryption method, please give a name Example. MD5 is not encrypted. so please clarify the concept of encryption before asking questions, if you are interested, ask

Total Pages: 12780 1 .... 12578 12579 12580 12581 12582 .... 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.