From professional translators, enterprises, web pages and freely available translation repositories.
see also the session.name configuration directive.
?php / / a munkamenet nevét webhelyneve-re állíjtuk $elozo_nev = session_name( "webhelyneve"); echo "a megelőző munkamenet név $elozo_nev volt. p ";?
see also the session.save_handler configuration directive.
?php function open ($save_path, $session_name) {global $sess_save_path, $sess_session_name; $sess_save_path = $save_path; $sess_session_name = $session_name; return(true);} function close() {return(true);} function read ($id) {global $sess_save_path, $sess_session_name; $sess_file = "$sess_save_path / sess_$id"; if ($fp = @fopen($sess_file, "r")) {$sess_data = fread($fp, filesize($sess_file)); return($sess_data);} else {return(""); / / itt mindenképpen "" a visszatérési érték.}} function write ($id, $sess_data) {global $sess_save_path, $sess_session_name; $sess_file = "$sess_save_path / sess_$id"; if ($fp = @fopen($sess_file, "w")) {return(fwrite($fp, $sess_data));} else {return(false);}} function destroy ($id) {global $sess_save_path, $sess_session_name; $sess_file = "$sess_save_path / sess_$id"; return(@unlink($sess_file));} / ********************************************* * figyelem - itt mindenképpen meg kell * * valósítani valamiféle szemétgyűjtést. * ********************************************* / function gc ($maxlifetime) {return true;} session_set_save_handler ("open", "close", "read", "write", "destroy", "gc"); session_start(); / / ezután hagyományosan használható a munkamenet?
files included using the auto_prepend_file configuration directive are not included in the returned array.
a tömb indexei a filenevek, ahogy az include_once() -al használtad őket, a ".php "kiterjesztés nélkül.
the presence and order of variable inclusion in this array is defined according to the variables_order configuration directive.
lásd a post metódusú feltöltések című részt további információkért a $_post lásd a post metódusú feltöltések című részt további információkért a $_post tartalmát és szerkezetét illetően.
you can set the php script document root by the configuration directive doc_root in the configuration file, or you can set the environment variable php_document_root.
a php szkript dokumentumok gyökérkönyvtárát a doc_root konfigurációs beállítással határozhatod meg a konfigurációs fájlban, vagy a php_document_root környezeti változóban adhatod meg ezt az értéket.
this option allows you to set a custom value for any of the configuration directives allowed in php.ini.
ezzel az opcióval bármilyen konfigurációs utasítást, ami csak a php.ini -ben megtalálható, egy saját értékkel érvényesíthetünk a szkript futásának idejére.
message is sent to php' s system logger, using the operating system's system logging mechanism or a file, depending on what the error_log configuration directive is set to.
a message paraméterben megadott üzenet a php rendszer naplójába kerül, az operációs rendszer naplóját vagy egy állományt megcélozva, az error_log beállítás értékétől függően.
# omitting the value part will set the given configuration directive to "1" $php -d max_execution_time -r '$foo = ini_get("max_execution_time"); var_dump($foo); 'string(1) "1 "# passing an empty value part will set the configuration directive to" "php -d max_execution_time= -r '$foo = ini_get("max_execution_time"); var_dump($foo);' string(0)" "# the configuration directive will be set to anything passed after the '= 'character $php -d max_execution_time=20 -r '$foo = ini_get("max_execution_time"); var_dump($foo);' string(2) "20" $php -d max_execution_time=doesntmakesense -r '$foo = ini_get("max_execution_time"); var_dump($foo); 'string(15) "doesntmakesense "
# az értéket elhagyva a megadott konfigurációs utasításhoz az "1" értéket # rendeli. $php -d max_execution_time -r '$foo = ini_get("max_execution_time"); var_dump($foo); 'string(1) "1 "# ha csak egy szóközt nyomunk az érték helyett, akkor a konfigurációs # utasításnak az" "értéket adja. php -d max_execution_time= -r '$foo = ini_get("max_execution_time"); var_dump($foo);' string(0)" "# a konfigurációs utasítás értéke az lesz, amit az egyenlőségjel után írunk: $php -d max_execution_time=20 -r '$foo = ini_get("max_execution_time"); var_dump($foo); 'string(2) "20" $php -d max_execution_time=fogalmamsincsen -r '$foo = ini_get("max_execution_time"); var_dump($foo);' string(15) "fogalmamsincsen "