I set up a website on this machine.
Http://www.laji.com
There are 2 files under the Web folder,
. htaccess file:
Options +followsymlinks-multiviewsrewriteengine onrewritebase/# All other pages# Don ' t rewrite real files or directories Rewritecond%
For example, I made a forum, each column of posts in a separate table, I in the hardware columns, software columns, programming columns are posted separately,
Now enter the personal center, to show all my posts, and according to the time of
I need to output a table here, but the word in the header may be more and the width of the page is fixed. Therefore must use Multicell, asks everybody how to use, actually I use, but the disorderly drop ...
My Code:
$pdf->cell (30,6, ' Field 1 ', '
The ASP is written like this:
video= "Abc.mp3"
video3= "123.mp3"
Str= "Ffmpeg.exe"
Str=server.mappath (str)
Set WshShell = server. CreateObject ("Wscript.Shell")
str=str& "-i" &server.mappath (VIDEO) & "-B 360-ar 24000-t" &server.mappath (VIDEO2)
The website uses Utf-8 to save data. Read the data and write the data using:
mysql_query ("Set names ' Utf-8 '")
When you search a database table, most of the searches do not come out, as long as it is in Chinese.
$add = $sql->mdenin_select
To match all the image addresses in a web address, write a regular expression like this:
$reg = "/\" \ ']*)/I ";
Why image file address like the following:
can only match to:
To the space when it was terminated?([^>\ "\ ']*) This
PHP Base Inheritance
Found a piece of code in the book, knocked down and found the wrong.
Name= $name, $this->sex= $sex $this->age= $age;} function say () {echo "My name ". $this->name. ", Gender ". $this->sex. ", Age ". $this->age. "";
http://docs.php.net/manual/zh/language.basic-syntax.phptags.php
If the file content is pure PHP code, it is best to remove the PHP end tag at the end of the file. This avoids having to accidentally add a space or line break after the PHP end tag,
Ask a question, I inserted a data into the PHP insert
But this inserted data is a special character, inserted into the database into two data (seemingly a line break), I would like to be able to encode the PHP server?
Note: I use ASCII, which is the
PHP CSS
I've been looking for a long time.
Reply to discussion (solution)
CSS has nothing to do with PHP
Reference the CSS file as in HTML. or write CSS code directly in the file.
What if I want to change the style of PHP?
You have to
Preg_match_all ('/id= (. *) [0-9]/', ' http://www.baidu.com/go.htm?spm=a1z10.1.w5003-4193336463.1.aoWyoL&id= 35468681941&scene=baidu_session ', $id);
I want to get the ID value in the URL.
The above can only get 3546868194, less a 1. What is this
Public platform in the development of want to join the voice search function, similar to "go out to ask", but did not provide PHP interface how Ah, how to do?
Reply to discussion (solution)
Look for yourself to see the ~ ~ ~, I am also in the
Web page get QQ number script
As long as users open the Web page, you can detect the user's computer has been logged on QQ (note is the user's computer login QQ), and then get the user login QQ number on the line. Whether it is JS PHP jsp ASP As
Only in-station notification required
Admin can send notifications in the background (mass and send notifications to designated members) users only accept view notifications no send permission
There is currently a my_messages table
The structure
Ask how this JS data is decoded,
Data address: Http://list.taobao.com/itemlist/default.htm?_input_charset=utf-8&json=on&cat=0&style=grid &pcat=food2011&q=ps&rr=1&spm=a2106.m5221.1000187.1&commend=all&psize=95&_ksts=
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