thinkphp Problem Solving

Because I want to be a registered login system Just the national day, just a few days ago to do a simple, before testing all normal, but today took out suddenly wrong, hope to have this experience of the great God to give advice Code:

Thinkphp, which method to execute

thinkphp URL thinkphp frame, there is a index.class.php file that corresponds to a index.html file. The index.class.php file has two methods, an index (), and an order () method. The index () method is executed when the action of the index.html file

100 points Help: How PHP obtains parameters for put and delete requests

PHP RESTful Hi, hello, I'm trying to implement a RESTful API interface with PHP, and now I'm having a problem: When the request type is POST or get, PHP can easily get the parameters of the client input through $_post, $_get, and $_request, but

PHP Problem with code

$html = Str_replace (' {title} ', $this->cache[' Keys '] [$this->id], $html); $this->cache[' kexs ' I need to add this to someone who can help me. Reply to discussion (solution) What do you mean, you don't understand?$this->cache[' Kexs ')

Code to determine the route of a search engine to jump

Ask the hero to write a search engine routing judgment code to jump If it's Baidu, jump to http://aaaa.com. Direct input will not jump The man who wrote the code before, but didn't know where to put the code. Like the following $RURL = $_server ['

PHP Verification Code class session problem

WIDHT = $widht; $this->height = $height; $this->codenum = $codenum;} function ShowCode () {$this->createcode ();//Create Canvas $this->createstring ();//Create String $this->createimage ();//Generate image }private function Createcode ()//create

extjs+php, everyone to see is my JSON output problem, or my extjs didn't write right?

Client: Mainly look at my sole SUBM this function has no problem, var main=new ext.formpanel ({title: ' User Registration ', Width:500,frame:true,bodystyle: ' margin:10px; ', Renderto: ' Tool ', height : 400,items:[{layout: ' column ',

How do you determine the cost of array operations and database operations?

PHP Database Data Array If it is not particularly complicated operation, should query the database multiple times to get the data, or query the database at once, and then use the array concatenation operation is better? How do you decide which

If the display of Web page content is judged by URL

URL php Let the world without disturbing the decoration [Switch cities] If the URL display is dz.xxxx.com display otherwise the above Let the world without disturbing the decoration

Thinkphp Framework questions about whether a database has a value

Just want to do a login system, but submit the previous registration is always output is not where () where the problem, how to change ah? My account number in the database is Account_number Reply to discussion (solution) Take a

Multi-image Upload image address storage problem

Multi-image upload Multi-image upload, click to add a picture can be added, the number can not be limited, I've been trying to figure out how to save a picture, because I have no limit to the number of pictures in a piece of data, can not do 10

The problem of solving Chinese variables by pseudo-static rewrite

such as page http://127.0.0.1/so.php?id= pseudo-static [Isapi_rewrite] # 3600 = 1 hour Cacheclockrate 3600 Repeatlimit 32 # Protect Httpd.ini and Httpd.parse.errors files # from accessing through HTTP Rewriterule ^ (. *)/(attention here?) )

PHP program line, how to write?

Reply to discussion (solution) \ r \ n \ r \ nThe program in the browser, is newline! (Fig. 1)Why terminal command line, isn't it? (Fig. 2)Figure 1Figure 2 Change: The program executes at the terminal command line and is a newline! (Fig.

Can you tell me how to parse out this array? Thank you, sir.

Array ([ doctordate] = = Array ( [0] = = Array ( [doctorofdate] = 2013-10-02 [ Orderingcount] [1] = = Array ( [doctorofdate]

Multi-Table Association call, a little complicated, the expert help thanks

Table Goods_area Field goods_id City area 1 Beijing Grand Lookout Road Table Business_circle Field ID Name parent_id This table is the parent class table for the regional shopping district ID Name parent_id 1 Chaoyang 0 2 Changping 0 3 da Wang

Learn Video for PHP

Kneeling PHP video tutorial, to comprehensive video including HTML course div+css Tutorial +javascript tutorial PHP tutorial, want to self-study, hope to get help, please send to 849975426@qq.com Reply to discussion (solution) W3cshool or Preach

About PHP Encryption and disclosure

How to encrypt and decrypt PHP! Network has said can Zend, but tried as if can not use! Reply to discussion (solution) Are you talking about the encryption of PHP files?This http://www.zend.com/products/guard/ Hash Algorithm MD5 Baidu "PHP

Launch of Iptables website in centos+nginx+wordpress Environment return 502

Iptables Nginx FastCGI Site environment: Centos nginx php (WordPress) The current questions are summarized as follows: Start Iptables website return 502, close iptables website open Normal The iptables settings are as follows: Chain INPUT

Sogou Browser high-speed does not display, compatible garbled.

Sogou browser garbled color HTML PHP Reply to discussion (solution) Get rid of everything outside! Very dizzy very dizzy very dizzy ...There is no mocking meaning, just think of the years before I also experienced ... Do as

Seeking master, about the URL is extracted

This post was last edited by dz215136304 on 2013-09-10 14:52:56 Requirement: Extract the URL from the string Because the extracted URLs need to be processed again, so put in the callback function, but the same regular is placed in the

Total Pages: 5208 1 .... 3788 3789 3790 3791 3792 .... 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.