$title ";? >
The PHP code is written in this way.
is to change the title but how can you let others not see the source code
Or is there any way to change the title without using echo?
Reply to discussion (solution)
Big Brother PHP is open
Background:
function Save_sort_handler () {///-----Gets the address that should be returned-----//$backUrl =r (' Backurl ', '); if (empty ($BACKURL) && isset ( $_server["Http_referer"]) {$backUrl =$_server["http_referer"];} $GLOBALS [' Smarty
There is a requirement: there is a string ' abc ' that wants to replace the ' a ' in it with ' AB ', where ' B ' is replaced by ' CD ', that is, the last to get ' ABCDC '.
Find out how can not be achieved, such as with ' Str_replace '
The
Often the homepage of JS, business code plus too much, resulting in slow page access, you can change the homepage to static access, access speed will be improved, but if you update the first page data, and can not update, but you set the time fixed
The first time to use the Phpcms label, the standalone module installed, jump to the TPL file is also normal, but the TPL file is written in the label is directly output, no parsing.
The TPL file name test.tpl.php code is as follows:
Admin_tpl (
SetAttribute (pdo::attr_errmode,2); $aa = $pdo->query ("Set names UTF8");//$pdo->exec ("INSERT into test values (2, ' BB ', ' cccccc ') or Die ("failed"), $res = $pdo->query ("Select name from test where id = 11"), or modify to query Name,id two
function does not support Mb_strlen what to do?
Reply to discussion (solution)
WindowGo to the PHP extension directory to see if there are any php_mbstring.dll files if necessary to open the extension in php.iniPut;
Phpcms can I use 2 different paging styles?
I follow the online approach
Open it
phpcms/libs/classes/template_cache.class.php, we found 207 rows.
$str. = ' $pages = Pages ($ '. $op. ' _total, $page, $pagesize, $urlrule);
Add the following in this
Http://www.abc.com/content/5176.asp?page=1&5176__2#p
The current URL is this link
I now need to generate 1 links on the current page
http://www.abc.com/content/5176.asp?page=1&author=10000
How to complete quickly??
My approach is to:
This is the login code, is based on the Web page prompts PHP simulation login code to modify, the simulation login open source China.
function Login_post ($url, $cookie, $post) {
$curl = Curl_init ();//Initialize the Curl module
curl_setopt ($curl,
For example, this code (file1.php):
I can only display the picture in another file, with such HTML code.
The effect I want to achieve is, in a php file (Web page), refresh, in the page itself under the Directory (folder), create a picture
Foolsock is a PHP extension developed to implement TCP long connections in RPC communication
Brief introduction
Many of PHP's projects evolve over time as the business grows (especially in many terminals), and a common architectural model is to
The following code
'. '
'. 'Receipt List'. '";/ /Paging Data query_list ($count _num, $page _row, $position, $variable);? >
On the page, click on the query after the contract number, that is, according to the contract number to find
On Linux, Gcc-o3 compiled PHP7CLI (3MB) and dependent library Php7libs (7MB) are packaged with TAR.XZ, approximately 10MB in size.
Because it is packaged with a dependent library, it can be extracted and ready for use with all Linux
Installing Wampserver
can go to the official website to download the new version of Wamp, cloud Disk Address: Http://pan.baidu.com/s/1jGyBgou Password: hwps
Installing Phpstorm
To download the new version of Phpstorm, cloud Disk Address:
Before all is the original PHP code and thinkphp, online to find some phpcms information, look very awkward ...
Here are a few questions to ask:
1. About the URL, some address is written http://www.123.com/index.php?m=xxx&c=xxx&a=xxx this look at
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