From professional translators, enterprises, web pages and freely available translation repositories.
creating variables
梒 33. creating variables
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
environment variables: $_env
http cookies£º$_cookie
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
handling of global variables
¸½¼ b. ´Ӡphp 3 ֲ҆µ½ php 4
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
see also variable variables and function_exists().
º/a
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
the keys of this array are the names of the global variables.
±䁿Ӊ web ·þαƷɨ¶¨»±½ӓ뵱ǰ½ű¾µĖ´А»·¾³Ϡ¹ª¡£ ˆӚ¾Ɋÿ© ¼t class="varname" $http_server_vars ʽש£¨ҀȻӐЧ£¬µ«·´¶Ԋ¹Ӄ£©¡£
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
Warning: Contains invisible HTML formatting
change the address and port variables to suit your setup and execute.
socket errors
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
it is not currently possible to register resource variables in a session.
you can also create a session variable by simply setting the appropriate member of the $_session or $http_session_vars (php 4.1.0) array.
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
for a listing of these variables, please see the section predefined variables.
Ԥ¶¨ҥ±䁿
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
since version 4.0.5 this function returns the number of variables extracted.
˵÷
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
for a complete list of other status variables you have to use the show status sql command.
蛁: mysql_stat() currently only returns status for uptime, threads, queries, open tables, flush tables and queries per second. for a complete list of other status variables you have to use the show status sql command.
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
the session_unset() function free 's all session variables currently registered.
the session_unset() function frees all session variables currently registered.
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
using the types using the types parameter, you can specify, which request variables to import.
using the types parameter, you can specify which request variables to import. you can use 'g', 'p' and 'c' characters respectively for get, post and cookie. these characters are not case sensitive, so you can also use any combination of 'g', 'p' and 'c'. post includes the post uploaded file information. note that the order of the letters matters, as when using "gp", the post variables will overwrite get variables with the same name. any other letters than gpc are discarded.
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
Warning: Contains invisible HTML formatting
before using this extension, make sure that you have set up your oracle environment variables properly for the oracle user, as well as your web daemon user.
º/a
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
if variables declared in the class of which the obj is an instance, have not been assigned a value, those will not be returned in the array.
this function returns an associative array of defined object properties for the specified object obj. if variables declared in the class of which the obj is an instance, have not been assigned a value, those will not be returned in the array.
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
individual input and server variables are by default no longer placed directly into the global scope; rather, they are placed into the following superglobal arrays.
¾¯¸漯b
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
since information coming in via get, post and cookie mechanisms also automatically create php variables, it is sometimes best to explicitly read a variable from the environment in order to make sure that you are getting the right version.
note that a cookie will replace a previous cookie by the same name in your browser unless the path or domain is different. so, for a shopping cart application you may want to keep a counter and pass this along. i.e.
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
for command line users, make sure that you either have the c+ + environment variables registered, or have run vcvars.bat, and then execute one of the following:
curl£¬¿ͻ§¶ˠurl º¯ʽ¿⼯td
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
$b = array( 1,1,2,3,5,8); $arr = get_defined_vars(); / / print $b print_r($arr["b"]); / / print path to the php interpreter (if used as a cgi) / / e.g. / usr / local / bin / php echo $arr["_"]; / / print the command-line paramaters if any print_r($arr["argv"]); / / print all the server vars print_r($arr["http_server_vars"]); / / print all the available keys for the arrays of variables print_r(array_keys(get_defined_vars()));
$b = array(1,1,2,3,5,8); $arr = get_defined_vars(); // print $b print_r($arr["b"]); // print path to the php interpreter (if used as a cgi) // e.g. /usr/local/bin/php echo $arr["_"]; // print the command-line paramaters if any print_r($arr["argv"]); // print all the server vars print_r($arr["_server"]); // print all the available keys for the arrays of variables print_r(array_keys(get_defined_vars()));
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
Warning: Contains invisible HTML formatting