Ask a regular, tried for a long while did not try out ~ ~ ~
PHP Code
$str = "13 years old (123) Xuan (Yan) (373659)";
I now want to match out "13 years old (123) Xuan (say)", what I write myself is:
'/[^ (\ (\d{6}\))]/'
The result
win2008 R2 PHP program run 500 error Ask!
The environment is win2008 R2 iis7.5 php5.3 mysql,zendguardloader-php-5.3-windows.
Phpinfo (); can be displayed normally.
1, run the site, the IE8 under the direct display blank, I right-click the source
Resolves a bug in the brophp of the model class with a namespace
The first project was completed, though he was not satisfied with the project, but anyway, it ended.
Because you have a small base and don't want to do projects with purely
Refute these comments with my code example and see what is called a template engine.
"Since you know the evaluation is pertinent, you should understand where the gap is, each run to replace, to a considerable extent, reduce system performance, such
Please talk to the master about PHP
Consult a master, now the computer development to the multi-core era, cloud computing, multi-threaded programming, mobile phone and tablet computer application development has reached the stage of rapid
PHP's Curl analog post sends data, partially lost
I use curl to simulate post to send data,
The C + + is sent to the receive page as A/C
The back of the + + was gone,
Other than that
Post data when using & separate data,
But what if the data itself
How PHP sets the key of an array to equal to value
Has the following array
Array ([0] = = content 1 [1] = content 2 [2] = = Content 3)
The following arrays are expected to be processed
Array ("Content 1" = "Content 1", "Content 2" + "Content 2",
PHP MySQL multi-table query query does not produce results?
My code is as follows:
PHP Code
The results are only displayed
Connected successfully
If you use
PHP Code
$query = "SELECT * from Jiraissue";
The
Smarty questions about the use of truncate
{$d. title|truncate:25}
I would like to let the superfluous title with ... Show
It's just that truncate is like a number, a variety of characters, and Chinese as 1 characters.
But after all, the number
The global object instance of the C + + singleton pattern in the PHP extension is generated by multiple sub-processes destroyed, why??
In the PHP extension is a singleton mode of the global object, when the HTTP service stopped by the log to view
Smarty Config_load and Custom Function error
Temp.tpl
HTML Code
{config_load file= ". /configs/a.conf "} {#s #}
A.conf
HTML Code
s= ' test test '
Error
Fatal error:uncaught exception ' smartyexception ' with
If the mall wants to do a rebate function, how to implement
For example, the user bought 100 yuan of things, to return his 100 points, daily return 1 points, divided into 100 days to return.
In this case the database how to design, PHP about how
Help, page wrong, who can help to see AH
page appears wrong password
Warning:file_exists () [function.file-exists]: Open_basedir restriction in effect. File (.. /license.php) is not within the allowed path (s):
Do a picture upload function, always prompt two lines of error.
Do a picture upload function, always prompt two lines of error:
notice:undefined index:upload in D:\WWW\qiangyuan\up.php on line 34
notice:undefined index:upload in
Initialization of variables How do you write?
Low number of variable initialization
If it's a lot of time, it's a little uncomfortable.
$a, $b, $c, $d, $e .....
Written like this
$a = 0;
$b = 0;
$c = 0;
$d = 0;
$e = 0;
....
Not good, inconvenient,
When using Setcookie (), the domain name "localhost" will not save the cookie what is going on??
Found during local testing.
This allows you to set a cookie:
PHP Code
Setcookie (' name[1] ', ' yy1 ', time () + 3600, '/');
Access to a large function can not be implemented correctly, ask the master to help optimize two pieces of PHP code
First paragraph:
PHP Code
Second paragraph:
PHP code
!--code highlighting produced by Actipro
How PHP Gets the user name of the current client login
How PHP obtains the current client login user name For example I'm going to do a forum how do I get the current client login username and insert it into the database thank you
------Solution---
Value problem of dynamically inserting complex lines
Now troubled by the question. Use, Php,sql Server2008, made a login system.
the "line searched" button presses, automatically appends 2 lines, and 2 behaves in a group. (1-1,1-2 is the first
An example is a button, click to execute a PHP code, instead of connecting to a PHP page
I think it's Ajax, but I'm not going to use it. A small example of a jquery $.ajax () method
------Solution--------------------
After testing the direct use,
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