A matter of time
The current date is obtained through the control:
PHP Code
$thisday = $_get[' Calendar '];
Now I would like to ask the day before this date (query the day before the calendar date), how to ask?
Note: The string form
A folder If there are 50,000 pictures to open the speed of the impact of large?
I was going to do a classified storage, but it just couldn't be done. If all the pictures are in one folder so many images have a big impact on the display speed?
-----
Help, a troubled me a day and night, let me eat, water can't drink the problem
Recently learned PHP, encountered a problem.
My PHP is connected to the MySQL database, that is, the data is not written into the MySQL database
The database is as
Website SMS alert function charge
Do the website, need SMS alert function, Mobile, unicom, Telecom should be able to send text messages, this is not a commercial interface? How much do you charge? Do you need to buy a number first?
------Solution--
Rookie problem! This machine uses Phpnow to set up the forum lets the outside network access
The great God, teach me, I applied for 3322.org dynamic domain name, the route also did port mapping, domain name is tututowm.3322.org, let the external
Regular problem, emergency, everybody help AH
User Code
turn on SMS features
IP Address
Login Mode
11111
[#SUB_2 # User Code]
[#SUB_2 # To enable SMS functionality]
[#SUB_2 #
Look at the serialized theme of yesterday.
In many e-commerce websites, it is very common to fill in personal information, product information, and billing information.
But some rookie just like a message a field, and the last person to leave, he
Open a program under a non-site directory
There are two folders under a system
Html
Post
Set HTML to the Web root, there is a program under the HTML a.php,post a b.php
Under the a.php can be passed. /post/b.php access to b.php,
But if you want to
50 asking for a cross-site cookie problem
If you are in a BBS (bbs.mysite.com), set two cookies respectively
1. USERNAME=ABC domain=bbs.mysite.com
2. USERNAME=EFG domain=.mysite.com
Q1: Will you get ABC or EFG the next time you read a cookie?
Q2:
How do I change the Dedecms home page?
Individuals do not like the DEDECMS default home page layout, see a better template on the web, but do not know how to replace. And let the links in the new template change to what I need. Have a friend to know
About MySQL Add data
INSERT into Roomid,name,id1,id2 values (' 1 ', ' 232 ', ' $_post[id1] ', ' $_post[id2] ')
$_POST[ID1],$_POST[ID2] Pass over is the value, not the ID, how to deal with it here?
------Solution--------------------
$_POST[ID1],$_
Session Save Verification Code problem
I have saved the original character of the code page from the other page in the session. How can it be empty? Strange
SOURCE program for code
checknum.php
Session_Start ();
function Random ($len)
{
$srcstr =
A very simple front-desk presentation of the problem
If I take out from the database 50 news, all lined up seems too messy, hoping to add a dashed line in the middle of every five news. How should I write this?
And finally it's like the list of the
Help, server Refresh data problem
Want to achieve:
The server continuously obtains real-time data from other websites and stores it in the database.
1. Using PHP to implement, the customer opened a page I began to refresh the timer (JS)
2. I use
The varchar field cannot set the default value?
Ask you: A very simple statement to create a data table:
$query = ' CREATE TABLE IF not EXISTS pro_cates (
ID INTEGER UNSIGNED not NULL auto_increment,
fat_id INTEGER UNSIGNED not NULL DEFAULT
PHP link Excel SQL Paging problem
The following is the PHP link Excel program, if I want to set paging how to do? Select top One * from [sheet1$]; This can be the second choice of 11 records, but I'm going to read from 11. Ask the master to do a
An interview problem, seeking ideas, seeking code. High Score
A semicolon-separated data file, as shown below:
Each string is a random string with an unknown length, multiple strings per line, number of positions: how many rows are unknown.
The
A question about PHP's include?
Does the following code work correctly? What if it's going to be a problem?
PHP Code
if ($condiation) include (' a.php '); else require_once (' b.php ');
Do not know to ask for answers
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