ProblemHow do I get the function parameter name?Solution$ Test = 'this is a test ';$ Abc = 'aaaaaaaaa ';Getit ($ test );Function getit ($ l ){// Get the $ l name instead of the value here// When $ test is used as the parameter input, the string '$
ProblemHow can I make the installed version of apache and existing iis use port 80 at the same time?SolutionNow I have iis on my server.My current bbs.9998. TV Forum uses iisNow I want to install apache. How can I make the installed version of
ProblemConverting arrays into stringsSolutionFor an array question, I get a two-dimensional array variable: $ postanswer =$ _ POST ["answer {$ showarr ['cs _ id']}"];The printed value of the copied code is Array.([43] => Array([A] =>[B] => B)[42] =>
ProblemHow can I output the answer and prompt an error? Please refer to the code.Solution
Define (PI, 3.14 );For ($ r = 1; $ r {$ Area = PI * $ r;Echo "r = $ r, area = $ area ";Echo"";}?>The output error message is: Notice: Use of undefined
Q &FAQs about Multiple apache Virtual Hosts in windowsAnswerMy file directory structure is as follows:-WebSerMyroot (1)-AbcMyroot (2)Myroot (3)Now, I can access these three independent virtual hosts from Myroot. However, there is another problem.
After appserv is installed, you cannot log on to phpmyadmin.After appserv 2.5.10 is successfully installed, you cannot log on to phpmyadmin. Previously, this version was installed in your notebook and can be used normally. The following page appears
Let's take a look at how to make fck display our uploaded images normally.
Let's take a look at how to make fck display our uploaded images normally.
"Method =" post ">Title: Include "fckeditor/fckeditor. php"; // contains files$ Ofckeditor = new
A better way to do all of these things is to load the data into a database and then execute the query, such as the following query.Listing 9. Getfiles_good.phpRequire_once ("DB. php ");Function get_files ($ name){$ Rows = array ();$ Dsn = 'mysql: //
Of course, there is a number_format function in PHP. The function prototype is as follows:String number_format(Float number,Int decimals,String dec_point,String thousands_sep)For example:$ Num = 12345678.9;Echo number_format ($ num). ''; // 4 homes
When you connect to a MySQL server, you should usually use a password. The password is not transmitted in plain text on the connection.All other information is transmitted as text that can be read by anyone. If you are worried about this, you can
Ask about addslashes escapeAbout addslashes1. When I input Tom's book's to save the data$ Webname = addslashes ($ _ POST ['name']);2. The data I see when I open the database is Tom's book's3. My question is how to output,Which of the following
Session cannot send session cache limiter error message
The following prompt is often prompted at the beginning.
Warning: session_start () [function. session-start]: cannot send session cache limiter-headers already sent (output started at e: php
Session_cache_limiter () returns the name of the current cache restriction. if cache_limiter is specified, the name of the current cache restriction is changed to a new value. the cache limit controls the Cache Control for sending HTTP hair to the
Iconv (UTF-8, gb2312 // ignore, $ data)Ignore directly means ignore. In this case, the conversion error is ignored. Without the ignore parameter, all strings after this character cannot be saved.
Conv is not the default function in the php tutorial,
Full manual on regular expressions in php tutorials
Preface
Regular Expressions are cumbersome, but they are powerful. The application after learning will give you an absolute sense of accomplishment in addition to improving your efficiency. As long
This article introduces some special character replacement in php development. If you need it, you can take a look.
// Function name: ReplaceSpacialChar ($ C_char)
// For usage: Special Character replacement function
// Parameter: $ C_char (string
Many of my friends will automatically delete the cookie when using setcookie to set the value to NULL or null. Let me analyze the reason why the cookie value is NULL or a null string to delete the cookie, for more information, see.
This is also
If you see this Warning when executing the php program: "Warning: Cannot modify header information-headers already sent ...."
Few notes based on the following user posts:There are several solutions:
1. Blank lines (Blank line ):Make sure no blank
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