2 Basic Questions

Two basic questions: (1) can constants in the class be directly accessed in the form of dual-colons for instances? What is the actual situation? & Lt ;? PhpclassA {& nbsp; constmm = 10; & nbsp; function _ construct () {& nbsp; echo 2 basic questions

Php login page, how to solve

Php login page & lt ;? Phpinclude ('Conn. php '); session_start (); if (isset (' $ _ post [submit] ') {& nbsp; $ SQL = & quot; select * fromchenwherename = '$ _ pos php login page Include ('Conn. php '); Session_start (); If (isset ('$ _ post

How to extract all strings at once

How to extract all the strings at a time? A page has N multi-DIV, but some DIV classes are the same. How to extract the content in & lt; divclass = body & gt; content & lt;/div & gt. Note that the class = body has more than one DIV. Thank you ~~

Php + mysql page garbled

Php + mysql page garbled problem a small message board program PHPcode & lt ;? $ Mysql_server_name = & quot; localhost & quot; $ mysql_username = & quot; root & quot; $ m php + mysql page garbled problem A very small message board program PHP

What should I do with the PHP framework?

PHP framework beginner .. Currently, most PHP development frameworks are used. Small websites, medium websites, and large websites. It is better to use those frameworks respectively ., If you are a newbie, we recommend that you learn ci and do not

$ _ SERVER ['path ']

$ _ SERVER ['path'] value. I have two files: phpinfo. php and only & nbsp; PHPcode & lt ;? Phpinfo ();? & Gt; the other file is test. php, which only contains PHPcode & lt ;? Echo $ _ SERVER ['path'];? & Gt $ _ SERVER ['path'] value Hello

Thinkphp language files cannot be introduced

Thinkphp language files cannot be introduced. for example, if a word in the template file is "register", I will go to LANG-"zh-cn-" common. php & gt; defines returnarray (& nbsp; 'register '= & gt; & quot; register & quot;,) and then changes the

Iis + php5.3 + fastcgi always failure solution

Iis + php5.3 + fastcgi always fails to be configured according to the online post, but always prompts: FastCGIErrorTheFastCGIHandlerwasunabletoprocesstherequest. & nbsp; ------------------- iis + php5.3 + fastcgi always fails The following message

Is there a plugin for uploading multiple images at a time? Solution

Is there a plugin for uploading multiple images at a time? As with discuz posting, multiple images are uploaded at a time, and all uploaded image paths are inserted into the editor. Yes ?, Find a JS batch upload plug-in, which is mainly beautiful

How to verify that the user name and password are composed of numbers and letters

How can I verify that the user name and password are composed of numbers and letters? How can I verify that the user name and password are composed of numbers and letters? If you need a regular expression, please write it down,/^ [a-z0-9] + $/ii

How to write PHP functions

How to write the PHP function JScriptcodefunctiondecode (C) {vardigi = 16; varadd = 10; varplus = 7; varcha = 36; v how to write the PHP function JScript code function decode(C) { var digi=16; var add= 10; var plus=7;

Thinkphp cannot Upload rarfiles. I hope you can give me some advice on how to solve this problem.

Thinkphp cannot Upload rarfiles. I hope you can tell thinkphp to upload files. rar files cannot be uploaded. pdf files, jpg files, and xls files can be uploaded. & nbsp; PHPcodepublicfunctionupload () {if (! E thinkphp cannot Upload rarfiles. I hope

Server configuration operation solution

Configure the server on a linux server, for example, configure httpd port number 99... Wait for the guidance of the Hero System ~~, Httpd is used to change the HTTPD. CONF file. mysql has not changed. you can use Baidu. Linuxapachemysqlphp

I have encountered a strange problem recently. could you please take a look at it? thank you!

I have encountered a strange problem recently. please help me to see where I have encountered it. thanks for clicking submit form, I often cannot enter the next page, but I refreshed the write page, but sometimes it can be submitted normally. All

Questions about die

Question about die & lt ;? Phpecho 'Fuck '; $ db = mysql_connect ('localhost', 'bp6am', '000000') & nbsp; ordie ('unabletoconnect.'); & nbsp ;? & Gt; this is my code. if there is no echo, it's about die. Echo 'fuck '; $ Db = mysql_connect

For webpage paging problems, please advise

For webpage paging problems, please advise me to query data based on conditions on page A. The data is displayed on page B and displayed on page B, no problem on the first page: select * fromuser_infowhereuser_sex = '1' limit0, 2 & nbsp; two pieces

How to build an httpd/mysql environment on an empty server

How to build an httpd/mysql environment on an empty server? How to build an httpd/mysql environment on an empty server? Step by step .. Newbie .., use Baidu & quot; linux + mysql + apache + php & quot;, windows: http: // do to build an httpd/mysql

Questions about page value passing

The problem of page value passing is now the development of network technology. For ease of operation. I just got started with PHP. The company asked me to log on to the official website once and log on to the partner website without entering the

File_get_contents does not work to obtain the html code of a remote webpage.

How to get the html code for remote Web pages, file_get_contents does not work remote address: http://rate.taobao.com/member_rate.htm? Content = 1 & amp; result = 0 & amp; from = rate & amp; us: How to obtain the html code of a remote webpage,

Connection between php and mysql

The connection problem between php and mysql occurs. I guess Calltoundefinedfunctionmysql_connect () is caused by php not configuring mysql and then I locatephp. ini, this file appears in multiple places, for example:/etc/php5/apache2/php.

Total Pages: 12780 1 .... 5754 5755 5756 5757 5758 .... 12780 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.