PHP Regular Extract video address
For example, the video output of Discuz forum:
I want to use regular to extract the width, height, and address of the video from the above code
That is, three values in the above code: 550, 400, http://player.5
How to write PHP functions
JScript Code
function decode (C) {var digi=16; var add= 10; var plus=7; var cha=36; var I =-1; var H = 0; var B = ""; var J = c.length; var G = c.charcodeat (J-
How to detach a part from an array as a new array.
Array
(
[TotalCount] = 2
[Errorcount] = 0
[OrderList] = = Array
(
[Order] = Array
(
[0] = = Array
(
[OrderAmount] = 130.0
[Ordercode] = 11111009FTHT
[Ordercreatetime] = 2011-11-11
Page Popup QQ winning message
Http://www.163sha.com/html/qitanarong/ruchiruzuiDIY/201106/24-8736.html
Please help to look at this page, as well as this site home, sometimes open in the bottom right corner of the page pop up to a QQ winning message.
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
How to change the PHP array to string
For example, array: $myarr = Array ("fruits" = = Array ("A" and "Orange", "b" = "banana", "c" = "apple"));
How to convert into a string:
$str = ' Array ("fruits" = = Array ("A" = "orange", "b" = "banana", "c" = "
About PHP pseudo-static problem!
My. Htaccess writes like this:
Rewriteengine on
Rewriterule ([A-za-z]{1,})-([0-9]{1,}). html$index.php?action=$1&id=$2
Program code:
Echo ' Your action is: '. $_get[' action '];
echo "
";
Echo '
A regular expression for writing sscanf
697 "Leveling Hall" level 70-85 ★ 4000 Gold Five Prestige Respect ★ Pure Task 70.0084
It was supposed to be separated into the following way.
697 "Leveling Hall" level 70-85 ★ 4000 Gold Five Prestige Respect ★
wrote a generic class to connect to the database, the SQL statement was executed with a problem
There are two files in sqltool.php and Connector-test.php,sqltool code as follows:
Class SqlTool
{
Private $conn;
Private $host = "localhost";
Private
Let's see how this code doesn't get the root classification id!. Tokyu
/*
* Get root classification based on subclass ID
*/
function Get_root_class ($classId) {
Global $db, $lot _array;
$class = $db->fetch_first ("Select PID, name from
The loop is spinning.
$sql = "Select * from href where id= $id order by link";
$query =mysql_query ($sql);
while ($array =mysql_fetch_array ($query)) {
?>
Src= "List.files/biao_33.gif" width=11 align=absmiddle>
">
}?>
It's a big one,
Questions about MySQL Batch replacement
The table name is: sdb_daq_comment
Fields are: Content
There are some tags inside the content.
How to write SQL for batch replacement of MySQL tags?
------Solution--------------------
Update sdb_daq_comment
PHP Multi-value delivery
If you have more than one radio box, how can I upload the values of multiple radio boxes to PHP at the same time?
For example, my test system has 5 single-choice, now choose to complete, to automatically score, how to
PHP Advanced Puzzle
Learn Html+css+js, and learn php+mysql, and smart and Zend Frameword, and so some knowledge has not learned, now is want to put these knowledge comprehensive practice, Master good and continue to learn.
But now feel that they
PHP algorithm can not understand, please master step by step to explain it! Quick Rush
$MM _paramname = "";?
Go to Record and Move to record:create strings for maintaining URL and Form parameters
Create the list of parameters which should not be
Does PHP have no cache?
Really want to do memory cache, non-distributed, is not only in application this object do?
------Solution--------------------
Web-picked PHP cache technology:
Universal Cache Technology
Data cache: The data cache refers to
PHP Mailbox Activation function
Want to ask what the general approach is
And also activated, I would like to ask the general URL of the parameters are what, user ID and user name?
what function is used to transcode with a password?
If we
Brother, I just learned Php+smarty template page class, do not know how to call!
Pagination class
/** ******************************************************************************
* Brophp.com pagination class, you can customize the page display
Zen-cart and Ecshop
Which friend is familiar with these two open source projects, introduction introduces two what is the difference.
------Solution--------------------
Personal recommendation Ecshop
The difference is as follows
Zencart is a
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