I use the Wamp.
Now I need the background to periodically fetch some data from the database and perform some tasks. What do we need to do?
Reply to discussion (solution)
JS has timers
1. First and regret to tell you that PHP does not have a
Send Error prompt:
SMTP error:could not connect to SMTP host. Mailer Error (9475@qq.com) SMTP error:could not connect to SMTP host.
Local tests are properly uploaded to the server.
When I put the function in the class
Public Function Issmtp
This is a program content page template, but this is written out, the search engine cannot catch. How can I write to let the search engine catch
{include file= "theme/default/header.html" titles= $data. Title} {include file=
There's a two-segment JS code in the text.
How to change www.2222222.com www.333333.com to Www.1111111.com
The www.222222.com is uncertain. That means the non-www.111111.com JS are replaced with www.1111111.com
The end result is
Thank
The first page of the keywords are returned to normal results, the second page does not receive the value, do not know how, the code is as follows
2) {return array (0,0,0);} try{$contents = file_get_contents ("http://www.baidu.com/s?wd=
Strtotime ("+ $day day $second second + $date")
The complete code is like this:
';? >
Reply to discussion (solution)
It's not clear that you're running.
Make $day = $second = 1$date = ' 2013-05-09 11:00:00 'Then Strtotime ("+ $day
Title
I now have the Data interface API defined on the PHP side. Returns the JSON-formatted data that is passed through the HTTPS protocol. I would like to know when accessing the data interface to do encryption or what operation, afraid of data
Background: Scan all of the classes that inherit a base class under a folder (including subfolders), then include in, instantiate calls to a method, save the data in the database!
Problem: Assuming that there are classes of the same class name
I use the function to provide a database connection function, most of the situation is allowed to normal, but recently the following error prompt:
Fatal Error:call to a member function query () on a non-object in h:\w ..., sometimes refreshing under
Title
Example:
$reg = "([^@]+ (=\s))";p Rint_r (Preg_split ($reg, "@ Zhang San hello i'm a friend @ John Doe @ Harry not at home", preg_split_delim_capture| preg_split_offset_capture| Preg_split_no_empty));
Results
Array ( [0] = @ [1]
About locking a table with code in PHP looks like this:
After the code executes, it is automatically disconnected from the database, and all tables are automatically unlocked after the connection is disconnected. So under normal circumstances, the
The day before yesterday began to learn PHP amount, used before. NET, the new project needs have no way, the bite-bullet began to learn, wrote a page control of the east, paste out the big God pointing pointing, as to how to call, you don't need me
After I upload the picture, the new filename is images/xxx.jpg, but I use this file for both front and back, I will convert it to the bit root path
/guest/images/xxx.jpg, so I can call this image anywhere. But when I zoom, use getimagesize to get
Want to be in a module in the webpage, according to the user input ID and password query, the user's relevant information. Database for MSSQL
Through the form of the ID and password to the PHP page, and then the PHP page connected to the database,
Using a PHP program, several images (4, 5, 6, 7 images in JPG format) are synthesized into a fixed-size image, and the format remains jpg.
How to handle, please heroes help!
Do not need to use other software to synthesize, completely with PHP
echo "";
After I verify the identity information, I should jump out of a "welcome" prompt window, then go to the pub_main.php page. Why can't I jump?
Reply to discussion (solution)
Did you get an error in front?
Add an exit to see
Prompt not
Sometimes the error message appears in the inside of a label, so the error is not displayed. Like ABC. However, you can see these errors by viewing the source files on your browser. In addition, these error hints are likely to break the page and
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