Night server is attacked, please master to see my files, what problem
This evening, my server was hacked, the screen as shown, followed by my modified home page file, please look at the master, how he came in, what is my
Questions about the Phpexcel
The database has more than 600 data.
I use Phpexcel to export for more than 40 seconds.
And I'm writing a program to export. csv files in less than 5 seconds ...
Why don't you ask?
Phpexcel version 1.7.3
The code is as
Just started to learn PHP, ask for advice
Which predecessors have PHP teaching video, more useful ebook, all sent to me ... [EMAIL protected] Thank you
------Solution--------------------
Follow the manual on the example of the Chinese manual can be
PHP Mixed syntax error
There is a mixed code in a small project on the web, as follows
:
Voting items
Describe
Number of votes
Vote
Items as $item) {?>
Session Verification code problem, refresh the verification code, the value of the session is not changed, ask the expert answer
This post was last edited by yieri_z on 2013-01-14 11:18:32
PHP to do verification code program, originally so that,
How PHP determines if the array exists
has an array:
Array
(
[0] =>a
[1] =>b
[2] =>c
[3] =>d
)
I want to make a judgment, for example, to determine if a known string a exists in the array and execute a statement if it exists.
------Solution-------
How to get one field in the same row by ID
Now there is the field ID, BODY;
I now get the same line of Body,echo from the body according to ID=100,
And now it needs to echo out according to Id+1, which is the body that gets the id=101 line.
Get the
PHP's Smarty template engine
PHP is an embedded HTML scripting language, in order to separate the HTML and PHP code, the so-called logical layer and the presentation layer, which is the purpose of the template engine. In order to achieve this
"Undefined variable" notice:undefined variable
Error tip: notice:undefined Variable:yan_zheng_shu in
Code:
$yan _zheng_shu. = Dechex (Mt_rand (1, 15));
". =" on the error, but the results can be displayed normally, "+ =" is the same, "=" nothing.
Problems with PHP catching errors
First look at the code, very simple is to save the flash submitted Betys image data.
function Customerror () { }Set_error_handler ("Customerror");$destination _folder= "face/"; Upload file path$xmlstr = $GLOBALS [
About PHPCMS in the Avatar upload that expert how to achieve
The picture is submitted in Flash in the zip compressed package, who can tell me, how does PHP get to this zip
About global variables How do you understand and wonder?
PHP was just getting started and had questions about global, and then tested it by itself:
function test (){Global $a;$a = 10;Global $b; $b = $a +10; }Test ();echo $a. "";echo $b.
Phpmailer Local test prompt sent successfully, but cannot receive in mailbox
Ask the Heroes to guide you,
Require_once (' class.phpmailer.php ');Require_once ("class.smtp.php");$mail = new Phpmailer ();$mail->charset = "UTF-8"; Set the message
Phpmail in Windows testing can be, uploading to Ubuntu will not be the spirit. Why is that?
function
Postmail ($receiver, $receiver _name, $subject _name, $smassage) {
Require_once ("lib/class.phpmailer.php");
Include ("lib/class.smtp.php");
$
How to extract a picture from a String variable img??。。。。
$str = '
Previous Product Map Bar
The bottle has a big brand logo oh.
A gel-like substance.
Hand trial up can see that the effect is really good!
I want the picture to display
Add the expression on the message board
Just click on the expression button, will pop up similar QQ expression box, this is how to do it?
Do you want to use the plug-in AH?? I have a plugin portraitselect.htm, but do not know how to use,
Who has
SWFUpload before the good, now error 500
Because in a file transfer system, so with SWFUpload, with the php100 version. Although you have a big change, but before the test has been successful. Today the whole system did almost, found swfupload
PHP upload failed, very strange
My environment: Win7 apache2.2 php5.3
Found on the Internet, did not get the solution, I was a rookie, is not their own where not set
Upload form:
Upload.php's file content is simple:
Echo '
';Var_dump ($_files['
string conversion to a number of words???
Today is a strange phenomenon, it is likely that I have not enough reserves, the string containing the number of quotes into a number when the problem occurs
"+", "902865066306", "02865066306", "SIP Phone",
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