Questions about the session_start ()

My system flow is this: First, the administrator entered the user name and password login, the system will jump directly to result.php. And I wrote this in result.php to prevent users from entering result.php access directly in the address bar.

How do I invoke the ActiveX control of MFC in PHP? I can call it in HTML, but I can't call it in the. PHP Web page.

DocumentTest The above code is the HTML example I wrote after I finished the control, and the test was successful after it was saved to xxx.html. However, if you save this file as a xxx.php plugin, there will be a problem (all in Apache test).

Why can't the Json_encode () function parse a JSON string with Chinese?

This will have the value: $a = ' {' A ': "www", "B": 2} '; $arr = Json_decode ($a, true); This returns null: $a = ' {' A ': ' Hello ', ' B ': 2} '; $arr = Json_decode ($a, true); Why does this happen? How do I parse a JSON string with

On the problem of buildhtml under thinkphp

PHP thinkphp buildhtml I'm a newbie, I don't know a lot of things, huh? $this->buildhtml (' 1 ', Html_path. /', ' Index ', ' utf-8 '); The above sentence is what I saw on the internet, it is to use thinkphp to generate HTML but I used, I put ask it,

Master Help to see a piece of code, why memory exhaustion

$i = -1;while ($i + + Need to test data, to write 500 million data into 500 MySQL tables, directly executed with the PHP command code, why is memory exhausted? Thanks a lot! Reply to discussion (solution) This previous hair, come to

A strange session question, to share with you

Session In a small project to find a problem, after landing on the $_session[' name ']= ' xxxx ', after the page has not appeared $_session[' name '], but run some pages always found $_session[' name '] The value of the change is a strange and

PHP Get page Content

Want to get a part of the page, the code is as follows, run the result is empty, do not know why $con = file_get_contents ("http://www.meishij.net/zuofa/gouqiboluoyinertang_5.html"); $preg = ' # (. *) # '; Preg_match_all ($preg, $con, $arr); The

MySQL read the data after the coding problem, seek master

Smarty Encoded Database MySQL This is a smarty function I registered. function CharsetUTF8 ($params) {extract ($params), $str =iconv ("gb2312", "UTF-8", $text); return $str;} $smarty->register_function ("Util", "charsetUTF8");

PHP operation MySQL Insert data

MySQL PHP HTML 1, Table_arr "" In the HTML code is saved. Used to display a table on a Web page. 2. The field of the code snippet in the database that holds Table_arr "" is in the text type. My problem is that with one more save $table_arr[] content,

Windows2003 server, the file has read and write permissions, but the following PHP code can not be written after execution, help!

$ipfile = "./user.txt"; if (GET_MAGIC_QUOTES_GPC ()) { if (! $fp = fopen ($ipfile, "A +")) { Die ("Failed to create an online list file, please check for permissions."); } $time =time (); $line = $username. "|". $REMOTE _addr. "|". $time. " \ r \

The regular expression is the rule after the line break,

This is to be content Tip_lb_jianjie "> Update time: 2013-05-29 00:42:36 $guize 2= "/tip_lb_jianjie\" > Update time \: (. *?)[\n*|\r*]* Content preview: (. *?) /I "; Get a time, but to the content, you can't get it. I also used the \ r to

To get more than one check box value in PHP, be sure to add [] to the check box's Name property value

I found the PHP program, in order to get the value of the check box, usually give the check box's Name property plus [], for example: New User Registration Can not add, in other ways to replace, because I want to convert the ASP program to

Strange questions about session and verification code

The server is installing Apache Web site is developed with the thinkphp framework, with the verification code image Member registration page, using the Verification Code, HTML page: When registering, the program determines the code of the

The website seems to be black, let's have a look.

Directory of the website D:\ Paving Mesh \nnpm.cn D:\ more files and folders out of the storefront network Boot. INI (folder) -0.htm______.html -0.jpg______.html -0______.html boot.ini______.html (file) Etc

Asking a theoretical question is a bit confusing now (read a lot of articles)

vc9

Version 1.PHP, there are now 2 1) VC9 x86 Non Thread Safe (2013-may-08 22:51:31) 2) VC9 x86 Thread Safe (2013-may-08 22:51:34) A non-thread-safe, one thread-safe; 2.PHP in the server Apache execution Mode fastcgi/Modular, (I have been using

thinkphp when you introduce a template with include file, dynamic content does not execute.

menu is an operation that extracts the data generation menu from the database. I would like to refer to it on the homepage, but it can only load the data in the template after introduction, it is not transferred from the database, which one has

Smarty Template Editor

Novice I want to smash Smarty modeled insert an online editor FCK but the FCK call is called with PHP code, I can not generate an edit object in the controller, in the assignment to the TPL, if the TPL in the write PHP code words This tried a few

PHP send HTTP request returned in Chinese is garbled

My little brother just started to learn PHP, using curl to send an HTTP request, but the returned Chinese is all garbled. Browsing the URL directly in the browser is like this. But crawling with PHP is the way it is. The code is as follows,

Generally from the PHP site to find a bug how to start

Boss to the site to find 10 bugs, completely no clue-- Reply to discussion (solution) Test Ah, after running a variety of search. Broken chain, wrong chainHandling of the wrong URLHandling of erroneous user interaction data Broken chain,

Template display problem in thinkphp

I want to output one months of data in the template page (this one months of data when the two-dimensional array, the daily data composition of the one-dimensional array inside), but some days there is no data, I would like to judge on the template

Total Pages: 5208 1 .... 3802 3803 3804 3805 3806 .... 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.