PHP Modify title, and hide the source code

$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

How do I not let Smarty "&" in the URL into "&"?

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

PHP string substitution problem, found how can not be achieved, please expert pointing

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

Questions about sweeping barcodes

HP tables ID Name (item name) Kucun (stock) Danwei (unit) Danjia (outbound unit price) Tiaoma (barcode) 1 ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ........... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... .....

PHP Homepage timed static page generation

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

First use of PHPCMS labeling issues

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 (

1.1-php Compiling and installing

1. mysql installation (with lamp inside the installation method) 2. PHP Installation wget http://cn2.php.net/distributions/php-5.4.37.tar.bz2 Tar jxf php-5.4.37.tar.bz2 Useradd-s/sbin/nologin PHP-FPM CD php-5.4.37

PHP can not find the Web page by querying two fields with query

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?

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 pagination styles?

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

php URL parameter acquisition problem, how to quickly get the required parameters

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:

Novice PHP Simulation Login According to the code of the Web page can not display the results

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,

Excuse me, how to use GD operation to generate image files directly?

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

PHP tcp Long Connection extension: Foolsock

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

Pseudo-static rules, affect each other, swollen?

Rewriterule ^/member/(. *)/(. *)/(. *)/(. *) \.html$/member/$1\.php?$2=$3&page=$4 [nc,l] Rewriterule ^/match/$/member/match\.php [nc,l] Rewriterule ^/love-store/$/news/love\.store\.php [nc,l] Rewriterule ^/love-store/(. *)

The form query does not have a value.

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

PHP developing Linux desktop application ideas

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

Learn the first chapter of PHP

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:

Phpexcel Read Output operation

Read Header ("Content-type:text/html;charset=utf-8");Include ' classes/phpexcel.php ';Include ' classes/phpexcel/iofactory.php '; function Readxls ($file, $type) {$xlsReader = Phpexcel_iofactory::createreader

Please also know Phpcms and Thinkphp's friends to help see

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

Total Pages: 5208 1 .... 4874 4875 4876 4877 4878 .... 5208 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.