The tags supported by PHP are: 	 1.? echo ("this is the simplest, an SGML processing instruction\n");? ?= expression?


The fdf_set_file() selects a different PDF document to display the form results in then the form it originated from. 	 The fdf_set_file() sets the value of the / F key.


shm_remove 	 SESAM database functions


Example 1. dirname() example 	 דוגמה 1. dirname() example


Note: 	 MCAL_FRIDAY


This module requires bzip2 / libbzip2 version = 1.0.x. 	 This module uses the functions of the bzip2 library by Julian Seward


If you still can' t find any information that helps you out you're more than welcome to use the mailing list. 	 מאחר ו-PHP נהיה יותר ויותר פופולרי מיום ליום, העומס ברשימת php-general גדל וכיום היא מקבלת בין150 ל-200 הודעות ביום. מהסיבה הזו, אנו ממליצים לטובת כולם שהשימוש ברשימה יתבצע רק אם כל האפשרויות הנוספות כבר נוסו ונבדקו.


Example 1. uksort() example 	 דוגמה 1. uksort() example


The file to PUT must be set with the CURLOPT_INFILE and CURLOPT_INFILESIZE. 	 CURLOPT_PUT: קבע את הערך לערך השונה מאפס כדי לבצע HTTP PUT לקובץ. הקובץ המועבר ל PUT חייב להקבע תוך כדי שימוש ב CURLOPT_INFILE ו CURLOPT_INFILESIZE.


Include CCVS support. 	 Enable exif support.


iconv functions 	 ICAP Functions [deprecated]


If you plan to compile PHP as a Apache module you will also need the Apache sources. 	 If you don 't already have an unzip utility, you will need one.


However, there are some conventions that are used. 	 You would read this dn as..


Example 1. array_diff() example 	 דוגמה 1. array_diff() example


See also ftp_connect() 	 You can' t reuse this resource but have to create a new one with ftp_connect().


Example 1. htmlspecialchars() example 	 דוגמה 1. htmlspecialchars() example


All forms of float, and real types are returned as float All forms of float, and real types are returned as float values. 	 All forms of float, and real types are returned as float values.


At last but not least, we have many other interesting extensions, the mnoGoSearch search engine functions, the IRC Gateway functions, many compression utilities (gzip, bz2), calendar conversion, translation... 	 ל PHP יש עוד הרבה הרחבות מעניינות - פונקציות מנוע החיפוש mnoGoSearch, פונקציות ממשק ל IRC, כלי ארכיון ודחיסת נתונים רבים (gzip, bz2), המרות לוח-שנה, תירגום...


mb_ereg_match 	 mb_ereg


Example 1. printer_draw_line() example 	 דוגמה 1. printer_draw_line() example


vpopmail_alias_del 	 vpopmail_alias_get


The full path and filename of the file. 	 מציין מצב בו ידוע לphp שמשהו לא בסדר, אבל הסקריפט ימשיך כמתוכנן; הבעיות יכולות להגרם בידי הסקריפט עצמו. למשל ביטוי רגולרי שגוי ב ereg().


Download the ming archive. 	 SWFMovie - add - - Adds any type of data to a movie.


dbase_get_record_with_names 	 dbase_delete_record


See POST method uploads for more information. 	 מערך אסוציאטיבי של המשתנים המועברים לסקריפט הנוכחי דרך עוגיות HTTP. משתנה זה מוגדר בכל טווח משתנים כלשהו. נוסף ל-PHP החל מגרסה 4.1.0.


Returns TRUE on success or FALSE on failure. 	 If the parameter deleteoldrdn is TRUE the old RDN value( s) is removed, else the old RDN value(s) is retained as non-distinguished values of the entry. מחזיר TRUE במקרה של הצלחה או FALSE במקרה של כישלון.


Link to Dbase database 	 Link to Dbase base


The curious can visit Free On-Line Dictionary of Computing for more information on recursive acronyms. 	 PHP מסמלת PHP: Hypertext Preprocessor


Example 1. substr_replace() example 	 דוגמה 1. substr_replace() example


xmlrpc_decode 	 xmlrpc_encode


Example B-1. 	 דוגמה B-1.


Prev 	 Description string mssql_get_last_message (void)


Example 1. pcntl_fork() Example 	 דוגמה 1. pcntl_fork() Example


Only available since PHP 4.3.0. 	 כשהפרמטר "From:" צריך להיות כתובת דואר תקינה שיכולה להיות בשימוש בשליחת דואר מ-PHP תחת ווינדוס.


Example 1. urldecode() example 	 דוגמה 1. urldecode() example


Check for the existence of the format message set name. 	 Select the set of format strings to use for display of IRC messages and events.


get_class 	 get_class_vars


Example 2. sscanf() - using optional parameters 	 דוגמה 2. sscanf() - using optional parameters


This was added in PHP 4.3.0 to add compatibility with deprecated dbm This was added in PHP 4.3.0 to add compatibility with deprecated dbm extension. 	 This extension does not define any configuration directives.


This was added in PHP 4.3.0 	 דוגמה 8-2. שימוש ב __FILE__ ו __LINE__


Example 1. fbsql_query() example 	 דוגמה 1. fbsql_query() example


On all other systems, separate the directories with a colon. 	 You can only execute executables within the safe_mode_exec_dir.


Thu, 21 Dec 2000 16:01:07 +0200 	 r - RFC 822 formatted date; e.g. "Thu, 21 Dec 2000 16:01:07 +0200 "(added in PHP 4.0.4)


Note that a cookie will replace a previous cookie by the same name in your browser unless the path or domain is different. 	 מאחר שגם המידע המגיע בעזרת GET, POST ומנגנון העוגיות נוצר כמשתנה PHP רגיל בסקריפט, לפעמים עדיף לקרוא את משתנה הסביבה היישר מהסביבה כדי לוודא שהתקבל הערך מהמקור הנכון. פונקציית getenv() משמשת לצורך זה. ניתן גם לקבוע משתנה סביבה בעזרת הפונקציה putenv().


imagegd 	 imagegd2


Example 1. pspell_config_repl() 	 דוגמה 1. pspell_config_repl()


call_user_func_array 	 Function Handling functions


Do not use unless you are testing the code! 	 Include crack support.


The subclass Spinach adds a method to cook it and another to find out if it is cooked. 	 דוגמה 1. classes.inc


Windows users have to change this variable in order to use PHP 's session functions. 	 Disabling register_globals is recommended for both security and performance reason.


substr_replace 	 strtr


Prev 	 骠PHP


If you use databases with PHP, it is recommended that you use the same character encoding for both database and internal encoding for ease of use and better performance. 	 If you use database with PHP, it is recommended that you use the same character encoding for both database and internal encoding for ease of use and better performance.


How to read a function definition (prototype) 	 כיצד לקבל מידע נוסף אודות PHP


A few "magical" PHP "constants " 	 ערך TRUE (הסתכל בסוג boolean).


Variables provided to the script via HTTP post file uploads. 	 מערך אסוציאטיבי של המשתנים המועברים לסקריפט הנוכחי דרך עוגיות HTTP.


To prevent this, use the argument list separator - -. 	 To prevent this use the argument list separator - -.


Some notes on the use of BLOBs (TEXT and BYTE columns): 	 You can override this detection by specifying "IFX_LIBDIR", "IFX_LIBS" and "IFX_INCDIR "in the environment.


Example 1. settype() example 	 דוגמה 1. settype() example


Though the API is object-oriented, there are many functions which can be called in a non-object-oriented way by passing the object to operate on as the first argument. 	 Though the API is object oriented there are many functions which can be called in a non-object oriented way by passing the object to operate on as the first argument.


session.entropy_file gives a path to an external resource (file) which will be used as an additional entropy source in the session id creation process. 	 PHP is capable of doing this transparently when compiled with --enable-trans-sid.


odbc_result 	 odbc_result_all


iptcparse 	 iptcembed


ircg_is_conn_alive() returns TRUE if connection is still alive and working or FALSE, if the connection has died for some reason. 	 ircg_is_conn_alive() returns TRUE if connection is still alive and working or FALSE if the server no longer talks to us.


These functions will not typically work on Windows, as it does not support shared memory. 	 Shmop is an easy to use set of functions that allows php to read, write, create and delete UNIX shared memory segments.


Example 1. urlencode() example 	 דוגמה 1. urlencode() example


vpopmail_add_alias_domain 	 vpopmail_add_domain


?php / / Make sure that Enable Track Vars is ON. / / Directory where are located the keys putenv( "CMKEYDIR= / var / creditmut / cles"); / / Version number $VERSION="1.2"; $texte_libre = $_GET["texte-libre"]; $code_retour = $_GET["code-retour"]; $mac_ok = cybermut_testmac($MAC,$VERSION,$TPE,$date,$montant,$reference,$texte_libre,$code_retour); if ($mac_ok) {/ / / / insert data processing here / / / / $result=cybermut_creerreponsecm("OK");} else {$result=cybermut_creerreponsecm("Document Falsifie");}? 	 ?php / / Make sure that Enable Track Vars is ON. / / Directory where are located the keys putenv( "CMKEYDIR= / var / creditmut / cles"); / / Version number $VERSION="1.2"; $texte_libre = $HTTP_GET_VARS["texte-libre"]; $code_retour = $HTTP_GET_VARS["code-retour"]; $mac_ok = cybermut_testmac($MAC,$VERSION,$TPE,$date,$montant,$reference,$texte_libre,$code_retour); if ($mac_ok) {/ / / / insert data processing here / / / / $result=cybermut_creerreponsecm("OK");} else {$result=cybermut_creerreponsecm("Document Falsifie");}?


The default is 2 Megabytes. 	 המאפיין MAX_FILE_SIZE לא יכול להגדיר גודל קובץ הגדול מגודל הקובץ שהוגדר בהגדרת ה-ini - upload_max_filesize. ברירת המחדל היא 2 מגה-בייט.


openssl_pkey_get_public 	 openssl_pkey_export_to_file


DIR is the OOB base install directory, defaults to / usr / local / easysoft / oob / client. 	 Include Sybase-CT support.


Mon, 26 Jul 1997 05:00:00 GMT"); / / Date in the past header("Last-Modified: ". gmdate("D, d M Y H:i:s")." GMT"); / / always modified header("Cache-Control: no-store, no-cache, must-revalidate"); / / HTTP / 1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); / / HTTP / 1.0? 	 Mon, 26 Jul 1997 05:00:00 GMT"); / / Date in the past header("Last-Modified: ". gmdate("D, d M Y H:i:s")." GMT"); / / always modified header("Cache-Control: no-store, no-cache, must-revalidate"); / / HTTP / 1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); / / HTTP / 1.0


Table E-1. 	 טבלה E-1.


See also the session.name configuration directive. 	 ?php / / set the session name to WebsiteID $previous_name = session_name( "WebsiteID"); echo "The previous session name was $previous_name p ";?


pdf_closepath 	 pdf_closepath_stroke


dba_handlers 	 dba_insert


Although user can send multiple query at once, user cannot send multiple query over busy connection. 	 User cannot send multiple query over busy connection.


The parser then executes all the code it finds, up until it runs into a PHP closing tag, which tells the parser to just start passing the text through again. 	 כאשר PHP מפרשת קובץ, היא פולטת את הטקסט שבו, עד לרגע שבו תמצא תגיות מיוחדות שמסמנות לה את סוף הטקסט ותחילת הקוד של PHP. המפרש יבצע את כל פקודות ה PHP שימצא עד תגית הסגירה הבאה, שתסמן למפרש את סוף הקוד ותחילת הטקסט וברגע זה שוב תתבצע שליחה של הטקסט אל הפלט. מנגנון זה מאפשר את שילוב הקוד במסמך HTML: כל מה שמחוץ לתגיות ה PHP נחשב לפלט רגיל בעוד שכל מה שנמצא בתוכן מעובד כקוד.


CyberMUT is a popular Web Payment Service in France, provided by the Crédit Mutuel bank. 	 CyberMUT is a popular Web Payment Service in France, provided by the Crיdit Mutuel bank.


Ming is an open-source (LGPL) library which allows you to create SWF ("Flash") format movies. 	 Source code and installation instructions are available at the Ming home page: http: / /www.opaque.net / ming / along with examples, a small tutorial, and the latest news.


preg_match 	 preg_match_all


Example 1. mb_detect_encoding() example 	 דוגמה 1. mb_detect_encoding() example


(PHP 4 = 4.0.4) 	 Returns a positive key resource identifier on success, or FALSE on error.


This means that "open_basedir = / dir / incl" also allows access to "/ dir / include" and "/ dir / incls" if they exist. 	 For practical reasons it 's currently not allowed to have.. components in the path to the executable.


Example 1. mdecrypt_generic() Example 	 דוגמה 1. mdecrypt_generic() Example


Email with attachments and special types of content can be sent using this function. 	 הקישורים הבאים ל-RFC יכולים להיות גם כן שימושיים:


Example 2. urlencode / htmlentities() example 	 דוגמה 2. urlencode / htmlentities() example


If filename is of the form "scheme: / /.. .", it is assumed to be a URL and PHP will search for a protocol handler (also known as a wrapper) for that scheme. 	 If filename begins with "http: / /" (not case sensitive), an HTTP 1.0 connection is opened to the specified server, the page is requested using the HTTP GET method, and a file pointer is returned to the beginning of the body of the response.


Returns TRUE on success or FALSE on failure. 	 pg_close() closes the non-persistent connection to a PostgreSQL database associated with the given connection resource. מחזיר TRUE במקרה של הצלחה או FALSE במקרה של כישלון.


Example 1. mysql_thread_id() example 	 דוגמה 1. mysql_thread_id() example


See also domnode_append_child(), domdocument_create_element(), domdocument_create_text(), domdocument_create_cdata_section(), domdocument_create_attribute(), domdocument_create_entity_reference(), and domnode_insert_before(). 	 See also DomNode_append_child(), DomDocument_create_element(), DomDocument_create_text(), DomDocument_create_cdata_section(), DomDocument_create_attribute(), DomDocument_create_entity_reference(), DomNode_insert_before().


If two members compare as equal, their order in the sorted array is undefined. 	 דוגמה 1. usort() example


Example 1. array_flip() example 	 דוגמה 1. array_flip() example


mcrypt_enc_is_block_algorithm 	 mcrypt_enc_is_block_algorithm_mode


pre ?php iconv_set_encoding( "internal_encoding", "UTF-8"); iconv_set_encoding("output_encoding", "ISO-8859-1"); var_dump(iconv_get_encoding('all'));? / pre 	 It returns the current settings of ob_iconv_handler() as array or FALSE in failure.


base64_encode 	 get_html_translation_table


In order to enable this module on a Windows environment, you must copy fdftk.dll from the DLL folder of the PHP / Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex: 	 If you run into problems configuring PHP with fdftk support, check whether the header file FdfTk.h and the library libFdfTk.so are at the right place.


Example 1. mysql_get_server_info Example 	 דוגמה 1. mysql_get_server_info Example


dns_get_record 	 define_syslog_variables


aspell_check_raw 	 Aspell functions [deprecated]


Example 1. imagesetstyle() example 	 דוגמה 1. imagesetstyle


Arrays or objects cannot be used here unless they are dereferenced to a simple type. 	 הביטוי במשפט ה - case יכול להיות כל משתנה מסוג פשוט כמו מספר אינטגרלי (integer) או מספר ריאלי (float) או מחרוזת. אי אפשר להשתמש במערך אלא אם הוא מיוצג בסוג משתנה פשוט.


Example 1. dbx_compare() example 	 דוגמה 1. dbx_compare() example


CPPFLAGS=" -DODBC_QNX -DSQLANY_BUG "LDFLAGS=-lunix CUSTOM_ODBC_LIBS="-ldblib -lodbc". 	 Default DIR is ORACLE_HOME.


So PHP 4 will now warn you whenever you use unquoted string constants as for example in $_SERVER[ REQUEST_METHOD]. 	 So PHP 4 will now warn you whenever you use unquoted string constants as for example in $HTTP_SERVER_VARS[ REQUEST_METHOD].


It started with the name Hyper-G and changed to Hyperwave when it was commercialised (in 1996). 	 It started with the name Hyper-G and changed to Hyperwave when it was commercialised (If I remember properly it was in 1996).


Example 1. fbsql_num_rows() example 	 דוגמה 1. fbsql_num_rows() example


$_FILES[ 'userfile']['name'][0], $_FILES['userfile']['tmp_name'][0], $_FILES['userfile']['size'][0], and $_FILES['userfile']['type'][0] are also set. 	 $userfile[ 'name'][0], $userfile['tmp_name'][0], $userfile['size'][0] ו - $userfile['type'][0] גם הם קבועים.


It returns large object oid, otherwise it returns FALSE if an error occurred. 	 It returns FALSE, if an error occurred,


Example 2. wordwrap() example 	 דוגמה 2. wordwrap() example


SWFBitmap - getHeight 	 SWFBitmap


Before installing first, you need to know what do you want to use PHP for. 	 Complete list of configure options


Older releases of OpenBSD used the FLAVORS system to compile up a statically linked PHP. 	 These integrate automatically with the version of Apache installed with the OS.


url_rewriter.tags 	 area=href


Example 1. imap_setflag_full() example 	 דוגמה 1. imap_setflag_full() example


Script execution is not blocked while query is executing. 	 Script execution is not block while query is executing.


Example 1. imap_rfc822_parse_adrlist() example 	 דוגמה 1. imap_rfc822_parse_adrlist() example


See also domnode_append_child(), domdocument_create_element(), domdocument_create_text(), domdocument_create_attribute(), domdocument_create_processing_instruction(), domdocument_create_entity_reference(), and domnode_insert_before(). 	 See also DomNode_append_child(), DomDocument_create_element(), DomDocument_create_text(), DomDocument_create_attribute(), DomDocument_create_processing_instruction(), DomDocument_create_entity_reference(), DomNode_insert_before().


Source code and installation instructions are available at the Ming home page: http: / /ming.sourceforge.net / along with examples, a small tutorial, and the latest news. 	 SWFDisplayItem - skewYTo - - Sets the Y-skew.


?php / / outputs e.g. 'Last modified: 	 דוגמה 1. getlastmod() example


Returns the output of the command if successful; otherwise returns FALSE. 	 Returns FALSE if the request fails, returns the output of the command otherwise.


pdf_setrgbcolor 	 pdf_show


Example 1. mb_convert_encoding() example 	 דוגמה 1. mb_convert_encoding() example


Example 2. fbsql_query() example 	 דוגמה 2. fbsql_query() example


To get these functions to work, you have to compile the CGI or CLI version of PHP with --with-ncurses[ =DIR]. 	 To get these functions to work, you have to compile the CGI version of PHP with --with-ncurses.


The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. 	 Almost all of the sockets functions may fail under certain conditions and therefore emit an E_WARNING Almost all of the sockets functions may fail under certain conditions and therefore emit an E_WARNING message describing the error.


Pass a long as a parameter that contains the maximum time, in seconds, that you 'll allow the CURL functions to take. 	 CURLOPT_TIMEOUT: העבר ערך מסוג long כפרמטר שמכיל את הזמן המקסימלי, בשניות, שאותו תרשה לפונקציות CURL להתבצע.


For more examples on using require_once() and include_once(), look at the PEAR code included in the latest PHP source code distributions. 	 יש להשתמש ב - include_once() במקרים בהם יתכן סיפוחו של קובץ מסויים מספר פעמים המהלך הריצה ויש צורך למנוע סיפוח כפול כדי למנוע הגדרה מחודשת של פונקציות ומשתנים שונים.


Example 1. printer_draw_pie() example 	 דוגמה 1. printer_draw_pie() example


dba_list 	 dba_nextkey


msql_affected_rows 	 msql


By default on UNIX it should be in / usr / local / lib which is install-path / lib. 	 By default on UNIX it should be in / usr / local / lib.


?php $a = "abc"; / / $a is a string $a{1} = "f"; / / $a is now "afc"? 	 Fixes are, however, being discussed.


Example 1. strtok() example 	 דוגמה 1. strtok() example


Example 1. compact() example 	 דוגמה 1. compact() example


mb_convert_case 	 Multi-Byte String Functions


yaz_set_option 	 yaz_search


Example 1. tempnam() example 	 דוגמה 1. tempnam() example


?php sort( $files); print_r($files);? 	 sort( $files); print_r($files);


The section about Process Control Functions maybe of interest for you. 	 The POSIX extension is not available on the Windows platform.


pg_set_client_encoding() sets the client encoding and returns 0 if success or -1 if error. 	 pg_set_client_encoding() sets the client encoding and return 0 if success or -1 if error.


odbc_result_all 	 odbc_result


Example 1. mb_convert_kana() example 	 דוגמה 1. mb_convert_kana() example


?php $a = "hello";? 	 $a = "hello";


You will require the appropriate SDK for your platform, which may be downloaded from within the manager interface once you have registered. 	 Once you have downloaded the SDK you should copy the files from the lib directory of the distribution.


Example 1. printer_draw_chord() example 	 דוגמה 1. printer_draw_chord() example


If no wrappers for that protocol are registered, PHP will emit a notice to help you track potential problems in your script and then continue as though filename specifies a regular file. 	 As of PHP 4.3.0 (not yet released), if you have compiled in support for OpenSSL, you may use "https: / / "to open an HTTP connection over SSL.


call_user_method 	 class_exists


See also fdf_get_file() and fdf_set_target_frame(). 	 See also fdf_get_file() and example for fdf_create().


Example 1. array_unique() example 	 דוגמה 1. array_unique() example


This means that in i.e. the default "C" locale, characters such as umlaut-A (Ä) will not be converted. 	 This means that in i.e. the default "C" locale, characters such as umlaut-A (ĩ will not be converted.


Array ([x] = 1.233 [y] = 3.445 [label] =) Array ([x] = 1.233 [y] = 3.445 [label] = point #1) 	 Array ([x] = 1.233 [y] = 3.445) Array ([x] = 1.233 [y] = 3.445 [label] = point #1)


Appendix K. 	 נספח J.


mbstring.http_output defines default HTTP output character encoding. 	 Caracter encoding may be specified for mbstring functions 'encoding parameter.


Crédit Mutuel CyberMUT functions 	 Crיdit Mutuel CyberMUT functions


See also exif_read_data() and image_type_to_mime_type(). 	 See also exif_read_data().


See also is_dir(). 	 ראה גם את הפונקציה is_dir().


Because of this it is in everyones interest that you use the list as a last resort when you have looked everywhere else. 	 כן, ניתן למצוא רשימת אתרי ארכיון בעמוד התמיכה. כמו-כן, כתבות על רשימות התפוצה מקובצות כהודעות בשרת החדשות. ניתן להגיע לשרת החדשות דרך news: / /news.php.net / עם תוכנת לקוח לשרתי חדשות. ישנו גם ממשק אינטרנט ניסיוני לשרת החדשות ב http: / /news.php.net /


Example 1. preg_split() Example 1. preg_split() example: 	 דוגמה 1. preg_split() דוגמה 1. preg_split() example:


See also html_entity_decode(), get_html_translation_table(), htmlspecialchars(), nl2br(), and urlencode(). 	 See also htmlspecialchars() and nl2br().


Graphics 	 Include NDBM support.


Currently only one directive is recognized: the ticks directive. (See below for more information on the ticks directive) 	 חלק ה - directive (הוראה) מאפשר את קביעת התנהגות בלוק ה - declare. לעת עתה, ההוראה היחידה שקיימת היא הוראת ה - ticks. (קראו בהמשך למידע נוסף על הוראת ticks ותחבירה)


If options is specified, pg_convert() is applied to assoc_array with specified option. 	 If options is specified, pg_convert() s applied to assoc_array with specified option.


Table 1. 	 Beginning with PHP 4.2.0 this function are enabled by default.


Example 2. unserialize() example 	 דוגמה 2. unserialize() example


The macros in Table 35-1 automatically return from your function, those in Table 35-2 only set the return value; they don't return from your function. 	 The macros in טבלה 36-1 automatically return from your function, those in טבלה 36-2 only set the return value; they don 't return from your function.


Executable files: c:\work\win32build\bin, Cygwin users: cygwin\bin 	 Make a directory and unzip win32build.zip into it.


When converting to boolean, the following values are considered FALSE: 	 שממירים ערך לבוליאני, הערכים הבאים נחשבים ל - FALSE:


php4 / Zend / zend.h, located in the main Zend directory. 	 zend.h, located in the main Zend directory.


In addition you must ensure support for an underlying database or you can use some sytem libraries. 	 In addtion you must ensure support for an underlying database or you can use some sytem libraries.


pfpro_process_raw 	 pfpro_process


PHP Behaviour 	 Include CDB support.


Beginning with PHP 4.3.0 you can configure PHP to use CURL for url streams --with-curlwrappers. 	 PHP לא תעבוד עם אף גירסה של CURL מתחת לגירסא 7.0.2-beta.


Example 1. mysql_escape_string() example 	 דוגמה 1. mysql_escape_string() example


Sometimes, if the while expression evaluates to FALSE from the very beginning, the nested statement( s) won't even be run once. 	 המשמעות של לולאת while היא פשוטה. היא פוקדת על PHP לבצע את הפקודות שהיא מכילה כל עוד ביטוי ה - while שווה בערכו ל - TRUE. ערכו של הביטוי נבדק מחדש בכל פעם בתחילת הלולאה, כך שאם משתנה ערכו של הביטוי במהלך הלולאה, היא לא תיעצר עד שתסיים את האיטרציה הנוכחית (כל פעם ש-PHP מריצה את כל הפקודות שבלולאה נקראת איטרציה). כאשר ערך הביטוי של לולאת ה - while שווה בערכו ל - FALSE מלכתחילה, הפקודות שבתוך הלולאה לא יורצו אפילו פעם אחת.


You can find an ASCII-table over here: http: / /www.asciitable.com. 	 You can find an ASCII-table over here: http: / /www.mindspring.com / ~jc1 / serial / Resources / ASCII.html.


For parsing and accessing XML documents, we support the SAX and DOM standards. 	 ל-PHP יש יכולות עיבוד טקסט מאוד שימושיות, החל מ - POSIX Extended או ביטויים רגולריים של פרל וכלה בעיבוד מסמכי XML. לפיענוח ועיבוד קבצי XML, נתמכים הסטנדרטים SAX ו DOM. אתה יכול להשתמש בהרחבת ה XSLT כדי להמיר מסמכי XML.


current character set is latin1 	 latin1


get_class_methods 	 get_class


gmp_divexact 	 gmp_div_q


If output exists prior to calling this function, setcookie() will fail and return FALSE. 	 Cookies must be sent before any other headers are sent (this is a restriction of cookies, not PHP).


PHP also supports the alternate "colon syntax" for for loops. 	 PHP תומכת גם בתחביר הנקודותיים האלטרנטיבי בלולאות for:


It is currently impossible to register resource variables in a session. 	 It is not currently possible to register resource variables in a session.


Example 1. swfgradient() example 	 דוגמה 1. swfgradient() example


cpdf_rotate 	 cpdf_save


Returns TRUE on success or FALSE on failure. 	 Returns FALSE on error otherwise TRUE.


?php / * connect to database * / mysql_pconnect( "localhost", "mysql_user", "mysql_password") or die("Could not connect: ". mysql_error()); / * Update records * / mysql_query("UPDATE mytable SET used=1 WHERE id 10"); printf ("Updated records: %d\n", mysql_affected_rows()); mysql_query("COMMIT");? 	 ?php / * connect to database * / mysql_pconnect( "localhost", "mysql_user", "mysql_password") or die ("Could not connect"); / * Update records * / mysql_query("UPDATE mytable SET used=1 WHERE id 10"); printf ("Updated records: %d\n", mysql_affected_rows()); mysql_query("COMMIT");?


Disable passing additional runtime library search paths. 	 DIR is the zlib install directory.


Example 1. mcrypt_get_block_size() example 	 דוגמה 1. mcrypt_get_block_size() example


Standard Predefined Constants 	 hyperwave Predefined Constants


This function is an alias to imap_headerinfo() and is identical to it in every way. 	 This is an alias to imap_headerinfo() and is identical to this in any way.


In fact, you can include any value that is in the namespace in strings with this syntax. 	 $fruits = array( 'strawberry '= 'red', 'banana '= 'yellow'); / / note that this works differently outside string-quotes. echo "A banana is $fruits[banana] ."; echo "This square is $square - width meters broad ."; / / Won 't work.


?php $str = "first=value arr[]=foo+bar arr[]=baz"; parse_str($str); echo $first; / / value echo $arr[0]; / / foo bar echo $arr[1]; / / baz parse_str($str, $output); echo $output['first']; / / value echo $output['arr'][0]; / / foo bar echo $output['arr'][1]; / / baz? 	 $str = "first=value second[]=this+works second[]=another"; parse_str($str); echo $first; / * prints "value" * / echo $second[0]; / * prints "this works "* / echo $second[1]; / * prints "another" * /


This is \r on Macintosh for example. 	 Probably the nastiest gotcha is that there may also not be a carriage return (\r) at the end of the line, only a form feed, AKA newline (\n).


'r+' - Open for reading and writing; place the file pointer at the beginning of the file. 	 If filename is one of "php: / /stdin", "php: / /stdout", or "php: / /stderr", the corresponding stdio stream will be opened. (This was introduced in PHP 3.0.13; in earlier versions, a filename such as" / dev / stdin "or" / dev / fd / 0 "must be used to access the stdio streams.)


This extension has no constants defined. 	 A detailed installation instruction can be found here.


?php $number = 1234.56; / / english notation (default) $english_format_number = number_format($number); / / 1,234 / / French notation $nombre_format_francais = number_format($number, 2, ',',' '); / / 1 234,56 $number = 1234.5678; / / english notation without thousands seperator $english_format_number = number_format($number, 2, '.', ''); / / 1234.57? 	 ?php $number = 1234.56; / / english notation (default) $english_format_number = number_format($number); / / 1,234.56 / / French notation $nombre_format_francais = number_format($number, 2, ',',' '); / / 1 234,56 $number = 1234.5678; / / english notation without thousands seperator $english_format_number = number_format($number, 2, '.', ''); / / 1234.57?


pg_lo_open() opens a Large Object and returns large object resource. 	 pg_lo_open() open a Large Object and returns large object resource.


Consider the pattern fragment (a+)* This can match "aaaa "in 33 different ways, and this number increases very rapidly as the string gets longer. (The * repeat can match 0, 1, 2, 3, or 4 times, and for each of those cases other than 0, the + repeats can match different numbers of times.) When the remainder of the pattern is such that the entire match is going to fail, PCRE has in principle to try every possible variation, and this can take an extremely long time. 	 Consider the pattern fragment (a+)* This can match "aaaa "in 33 different ways, and this number increases very rapidly as the string gets longer. (The * repeat can match 0, 1, 2, 3, or 4 times, and for each of those cases other than 0, the + repeats can match different numbers of times.) When the remainder of the pattern is such that the entire match is going to fail, PCRE has in princi - ple to try every possible variation, and this can take an extremely long time.


The value of the cookie. 	 Use a zero (0) instead.


The extra backslash is / / required because the string is in double quotes. $html = "b bold text / b a href=howdy.html click me / a"; preg_match_all (" / (([\w]+)[^ ]* )(.*) (\ / \\2) / ", $html, $matches); for ($i=0; $i count($matches[0]); $i++) {echo "matched: ".$matches[0][$i] ."\n"; echo "part 1: ".$matches[1][$i] ."\n"; echo "part 2: ".$matches[3][$i] ."\n"; echo "part 3: ".$matches[4][$i] ."\n\n";}? 	 The extra backslash is / / required because the string is in double quotes. $html = "b bold text / b a href=howdy.html click me / a; preg_match_all (" / (([\w]+)[^ ]* )(.*) (\ / \\2) /", $html, $matches); for ($i=0; $i count($matches[0]); $i++) {echo "matched: ".$matches[0][$i] ."\n"; echo "part 1: ".$matches[1][$i] ."\n"; echo "part 2: ".$matches[3][$i] ."\n"; echo "part 3: ".$matches[4][$i] ."\n\n";}


Function ircg_nickname_escape() returns an encoded nickname specified by nick wich is IRC-compliant. 	 Function ircg_nickname_escape() returns a decoded nickname specified by nick wich is IRC-compliant.


Example 1. ircg_fetch_error_msg() example 	 דוגמה 1. ircg_fetch_error_msg() example


This defines a class Named_Cart that has all variables and functions of Cart plus an additional variable $owner and an additional function set_owner(). 	 בדוגמא הנ" ל הוגדרה מחלקה Named_Cart שיש לה את כל הפונקציות והמשתנים של Cart בנוסף למשתנה $owner ולפנוקציה נוספת בשם set_owner(). יוצרים את העדלה בדרך הרגילה, אלא שאפר גם לקבוע ערכים ולקרוא את הערכים של בעל העגלה. עדיין אפשר להשתמש פונקציות הרגילות של העגלה.


Set this option to a non-zero value if you want the header to be included in the output. 	 CURLOPT_HEADER: קבע את הערך לערך השונה מאפס אם יש לאפשר ל header להכלל במידע הנשלח.


echo iconv( "ISO-8859-1" ,"UTF-8" ,"This is a test ."); 	 echo iconv( "ISO-8859-1" ,"UTF-8" ,"This is test .");


See also readfile(), fopen(), fsockopen(), popen(), file_get_contents(), and include(). 	 See also readfile(), fopen(), fsockopen(), and popen().


He named this set of scripts' Personal Home Page Tools'. 	 PHP היא ממשיכת דרכה של שפה ישנה יותר בשם PHP / FI.


If the new node is already a child it will not be added a second time. 	 This function replaces the child oldnode with the passed new node.


php4 / Zend 	 Zend


We are explicitly testing whether the return value is identical to (equal to and of the same type as--see Comparison Operators for more information) FALSE since otherwise, any directory entry whose name evaluates to FALSE will stop the loop. 	 שים לב לדרך שבה הערך שמחזירה הפונקציה dir() 's נבדק בדוגמא מתחת. אנו בודקים בפירוש האם הערך המוחזר זהה(שווה ל וגם מאותו type ,ראה Comparison Operators למידע נוסף) FALSE כי אחרת, כל ערך המוחזר מהספרייה השווה ל FALSE יעצור את הלולאה.


1 through 12 	 g - hour, 12-hour format without leading zeros; i.e. "1 "to "12"


The contents of $_FILES from our example script is as follows. 	 $userfile_name - השם או הנתיב המקורי של הקובץ על המחשב של זה שהעלה את הקובץ


Example 1. number_format() Example 	 דוגמה 1. number_format() Example


Table 2. openlog() Facilities 	 טבלה 2. openlog() Facilities


The autoglobal $_FILES exists as of PHP 4.1.0 The $HTTP_POST_FILES array has existed since PHP 4.0.0. 	 ב-PHP, המשתנים הבאים יהיו מוגדרים בסקריפט היעד לאחר העלאת קבצים שהצליחה, בהנחה ש register_globals מופעל ב - php.ini. אם track_vars מופעל, הם יהיו זמינים ב-PHP גם במערת הגלובלי $HTTP_POST_VARS. יש לשים לב ששמות המשתנים הבאים מתייחסים לקובץ שהועלה בשדה בשם 'userfile', כמו בדוגמה שלמעלה:


PHP continues to execute the statements until the end of the switch block, or the first time it sees a break statement. 	 חשוב להבין איך פקודת switch פועלת כדי להמהע מטעיות. פקודת ה - switch תבצע כל פקודה שתמצא בתוכה בצורה הרגילה רק אם תמצא פקודת case עם ערך בשווה בערכו לערך ה - switch, תחל PHP בהרצת הקוד. עד סוף בלוק ה - switch או פקודת ה - break הראשונה. אם לא נוסיף פקודת break בסופו של משפט case אז PHP תמשיך בהרצת משפטי ה - case הבאים. לדוגמה:


Obtaining PHP 	 השגת PHP


This basically means that these objects can show up on any of your pages once they become part of your session. 	 אם אתה משתמש ב session ומשתמש ב session_register() על מנת לאגור משתנה, אובייקטים אלו באופן אוטומטי serialized בסוף כל עמוד PHP, והם unserialized אוטומטית באחד מכל הדפים הבאים. הכוונה הבסיסית היא שהאובייקט יכול להופיע בדף כלדשהו ברגע שהם הופעים להיות חלק מתוך ה session.


?php $id = 1; function test() {global $id; unset($id);} test(); echo($id); / / This will print out 1 in PHP 4? 	 ?php $id = 1; function test() {global $id; unset($id);} test(); echo($id); / / This will print out 1 in PHP 4


See also: base64_encode(), RFC 2045 section 6.8. 	 See also: base64_encode(), RFC2045 section 6.8.


The PHP start and end tags (?php and?) are not needed and will cause a parser error if present. 	 The PHP start and end tags (?php and?) are not needed and will cause a parser errors.


Regardless, REMOTE_USER can be used to identify the externally-authenticated user. 	 In this case, the $REMOTE_USER variable can be used to identify the externally-authenticated user.


In this case, the browser will first un - htmlspecialchars() the value, and then pass the URL on. 	 הערה: עליך לבצע htmlspecialchars() לכל ה-URL, משום שה-URL מתרחש כערך תכונה של HTML (כלומר, HTML-attribute). במקרה כזה, בתחילה הדפדפן יהפוך את הערך ללא - htmlspecialchars(), ורק אז יעביר את ה-URL הלאה.


This function adds user nick to the ignore list of connection connection. 	 This function will add user nick to your ignore list on the server connected to by connection.


In the script above, we used the special first line to indicate that this file should be run by PHP. 	 In the script above, we used the special first line to indicate, that this file should be run by PHP.


If type is "string" the record is returned in a string representation suitable for printing (for XML and SUTRS). 	 The argument, type, specifies the form of the returned record.


Example 4. mysql_fetch_array with MYSQL_BOTH 	 דוגמה 4. mysql_fetch_array with MYSQL_BOTH


The resulting variable is of type object, but has no class and no methods, thus it is pretty useless (it has become just like an array with a funny syntax). 	 הערה: ב PHP 3, אוביקטים יאבדו את השיוך למחלקה שלהם במהלך התהליך של "פרסום בהמשכים" (serializatio) ו "אי פרסום בהמשכים "(unserialization). התוצאה היא משתנה מסוג אובייקט, אבל ללא מחלקה וללא מתודות (פונקציות של המחלקה), לכן זה ממש לא שימושי (זה למעשה נהיה ממש כמו מערך עם תחביר משעשע).


Please see appropriate manual section for information about migration from PHP / FI 2.0. 	 PHP / FI 2.0 כבר לא נתמכתעל-ידינו. נא בדקו את מדור המדריך המתאים למידע על מעבר מ-PHP / FI 2.0.


?php $foo[ bar] = 'enemy'; echo $foo[bar]; / / etc? 	 echo $arr[ foo(true)];


session.serialize_handler defines the name of the handler which is used to serialize / deserialize data. 	 If both track_vars and register_globals are enabled, then the globals variables and the $HTTP_SESSION_VARS / $_SESSION entries will reference the same value for already registered variables.


One of the most interesting ways of seeing this trend was by observing the books about PHP that came out throughout the years. 	 ככל ש-PHP גדלה, היא החלה לקבל הכרה כשפה פופולרית. אחת מהדרכים המעניינות ביותר לצפייה בתופעה היא על ידי בחינת הספרים על PHP שיצאו לאור במהלך השנים.


Zip support before PHP 4.1.0 is experimental. 	 This module requires ZZIPlib version = 0.10.6.


PHP 3 only! 	 tiff dir for cpdflib 2.x.


Obviously in this trivial case the rsort() function would be more appropriate. 	 דוגמה 2. usort() example using multi-dimensional array


See also printf(), sscanf(), fscanf(), vsprintf(), and number_format(). 	 See also: printf(), sscanf(), fscanf(), and number_format().


openssl_pkey_export_to_file 	 openssl_pkey_export


You do not need to load any additional extension in order to use these functions. 	 Please see the Installation on Unix Systems chapter for more information about configuring PHP with these databases.


You may have to set these environment variables in your Apache startup script. 	 The configure script will autodetect the libraries and include directories, if you run configure --with_informix=yes.


Parse errors should only be generated by the parser. 	 PHP 4 only.


URL support was added in PHP 4.0.5. 	 URL support was added in PHP 4.0.5


Requirements for WIn32 platforms. 	 The MSSQL extension is available on Win32 systems only.


See also pg_connect(), and the section Persistent Database Connections for more information. 	 See also pg_connect().


ldap_get_values 	 ldap_get_values_len


mailparse_msg_get_part_data 	 mailparse_msg_get_part


Enable magic quotes by default. 	 Compile without bc style precision math functions.


If an error occurs, fpassthru() returns FALSE. 	 Reads to EOF on the given file pointer from the current position and writes the results to standard output.


Example 1. zend_version() Example 	 דוגמה 1. zend_version() Example


cpdf_fill_stroke 	 cpdf_end_text


They behave just like their C counterparts. 	 לולאות while הן הלולאות הפשוטות ביותר ב-PHP. הן מתנהגות בצורה זהה למקבילותיהן בשפת C. הצורה הבסיסית של לולאת while היא:


Example 1. imap_fetch_overview() example 	 דוגמה 1. imap_fetch_overview() example


See also fscanf(), printf(), and sprintf(). 	 See also: fscanf(), printf(), and sprintf().


?php $handle = fopen ("c:\\data\\info.txt", "r");? 	 $fp = fopen ("c:\\data\\info.txt", "r");


This function used to be called pg_fieldtype(). 	 This function used to be called pg_field_type().


Deprecated functions and their replacements 	 Deprecated functions and its replacements


The pattern (\D+ _BAR_ \d + )*[!?] matches an unlimited number of substrings that either consist of non-digits, or digits enclosed in, followed byThe pattern (\D+ _BAR_ \d + )*[!?] matches an unlimited number of substrings that either consist of non-digits, or digits enclosed in, followed by either! or?. 	 The pattern (\D+ _BAR_ \d + )*[!?] matches an unlimited number of substrings that either con - sist of non-digits, or digits enclosed in, followed byThe pattern (\D+ _BAR_ \d + )*[!?] matches an unlimited number of substrings that either con - sist of non-digits, or digits enclosed in, followed by either! or?.


Example 1. 	 SIGSYS


get_meta_tags 	 parse_url


com_load_typelib 	 com_isenum


Consider this pattern, again containing non-significant white space, and with the two alternatives on the second line: (?(?=[^a-z]*[a-z]) \d{2} -[a-z]{3}-\d{2} _BAR_ \d{2}-\d{2}-\d{2}) The condition is a positive lookahead assertion that matchesConsider this pattern, again containing non-significant white space, and with the two alternatives on the second line: (?(?=[^a-z]*[a-z]) \d{2} -[a-z]{3}-\d{2} _BAR_ \d{2}-\d{2}-\d{2}) The condition is a positive lookahead assertion that matches an optional sequence of non-letters followed by a letter. 	 Consider this pattern, again contain - ing non-significant white space, and with the two alterna - tives on the second line: (?(?=[^a-z]*[a-z]) \d{2} -[a-z]{3}-\d{2} _BAR_ \d{2}-\d{2}-\d{2}) The condition is a positive lookahead assertion that matchesConsider this pattern, again contain - ing non-significant white space, and with the two alterna - tives on the second line: (?(?=[^a-z]*[a-z]) \d{2} -[a-z]{3}-\d{2} _BAR_ \d{2}-\d{2}-\d{2}) The condition is a positive lookahead assertion that matches an optional sequence of non-letters followed by a letter.


See also the function entries for is_uploaded_file() and move_uploaded_file() for further information. 	 הדוגמאות הבאות הן עבור גירסאות של PHP המאוחרות מ-3.0.16, וגירסאות המאוחרות מ-PHP בגירסה 4.0.2. אפשר לבדוק גם את הפונציות is_uploaded_file() ו - move_uploaded_file().


ord 	 octdec


Example 4. modifying Title attribute 	 דוגמה 4. modifying Title attribute


cpdf_rotate_text 	 cpdf_rotate


Example E-4. 	 דוגמה E-4.


vpopmail_add_domain 	 vpopmail_add_domain_ex


See also: curl_close(), curl_setopt() 	 ראה גם: curl_close(), curl_setopt()


Use get_defined_constants() to get a list of all defined constants. 	 אם אתה משתמש בקבוע לא מוכרז, php תבין שאתה מתכוון לשם הקבוע עצמו. הודעה תוצג כשזה יקרה. השתמש בפונקציה defined() אם אתה רוצה לדעת אם קבוע מוגדר.


call_user_func 	 call_user_func_array


Support for value arrays was added in PHP 4.3. 	 See also fdf_get_value().


Example 1. swfshape() example 	 דוגמה 1. swfshape() example


To create your own constants, you can use the macros in Table 33-6. 	 To create your own constants, you can use the macros in טבלה 34-6.


$arr[ key] = value; $arr[] = value; / / key is either string or nonnegative integer / / value can be anything 	 There are quite some useful function for working with arrays, see the array-functions section.


array_merge 	 array_multisort


Example 3. in_array() with an array as needle 	 דוגמה 3. in_array() with an array as needle


By default PHP will try and determine this by itself, although, in some cases you must set this manually. 	 CURLOPT_SSLVERSION: העבר ערך מסוג long כפרמטר שמכיל את גירסת ה SSL( 2 or 3) לשימוש. כברירת מחדל PHP תנסה למצוא נתון זה בעצמה, אך במקרים מסוימים יש לקבוע ערך זו ידנית.


Use system regex library (deprecated). 	 Include LDAP support.


xmldocfile 	 xmldocfiel


odbc_close 	 odbc_close_all


Returns error text message for target (last request). 	 Returns error message for target (last request).


In Filter command or script put the path and name of your php executable i.e. c:\php\php.exe. 	 בתוך Filter command or script שים את הנתיב ואת השם של הphp הבינארי למשל c:\php\php.exe.


Support for the optional quote parameter was added in PHP 4.0.3. 	 There is no reverse of this function.


dbase_get_record 	 dbase_numfields


# 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 " 	 # Ommiting 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 "


This is because this function only works when PHP is compiled as an Apache Module. 	 $headers = getallheaders(); while (list ($header, $value) = each ($headers)) {echo "$header: $value br / \n";}


jpeg2wbmp 	 leak


Finally, you are going to need the source to PHP 4 itself. 	 A free version is available from InfoZip.


A value of 1 denotes that we should check for the existence of the common name, a value of 2 denotes that we should make sure it matches the provided hostname. 	 CURLOPT_SSL_VERIFYHOST: העבר ערך מסוג long אם cURL אמורה לוודא את ה peer certificate הנמצא בשימוש עם SSL handshake. הערך 1 קובע שיש לבדוק את המצאותו של common name, הערך 2 קובע שיש לוודא כי היא זהה לשם המחשב המארח.


?php $link = mysql_connect( 'localhost', 'mysql_user', 'mysql_password'); $charset = mysql_client_encoding($link); printf ("current character set is %s\n", $charset);? 	 ?php $link = mysql_connect( 'localhost', 'mysql_user', 'mysql_password'); $charset = mysql_character_set_name($link); printf ("current character set is %s\n", $charset);?


?php / / Let' s show all errors error_reporting(E_ALL); $arr = array('fruit '= 'apple', 'veggie' = 'carrot'); / / Correct print $arr['fruit']; / / apple print $arr['veggie']; / / carrot / / Incorrect. 	 $error_descriptions[ E_ERROR] = "A fatal error has occured"; $error_descriptions[E_WARNING] = "PHP issued a warning"; $error_descriptions[E_NOTICE] = "This is just an informal notice";


The API of the module follows the DOM Level 2 standard as closely as possible. 	 The API of the module follows the DOM Level 2 standard as close as possible.


The getimagesize() function will determine the size of any GIF, JPG, PNG, SWF, SWC, PSD, TIFF, BMP or IFF image file and return the dimensions along with the file type and a height / width text string to be used inside a normal HTML IMG tag. 	 The getimagesize() function will determine the size of any GIF, JPG, PNG, SWF, PSD, TIFF or BMP image file and return the dimensions along with the file type and a height / width text string to be used inside a normal HTML IMG tag.


See the documentation for these functions for an example. 	 בשפות שונות קיימת לולאת foreach שרצות לאורך מערך. ב-PHP 3 לא קיימת פקודה כזו. ב-PHP 4 קיימת פקודה זו (ראה foreach למידע נוסף). ב-PHP 3 ניתן לבצע דבר דומה על-ידי שימוש בלולאת while והפונקציות list() ו - each(). ניתן למצוא דוגמאות בתיעוד של פונקציות אלו.


When a file is included, the code it contains inherits the variable scope of the line on which the include occurs. 	 כאשר קובץ מסופח בעזרת include הוא יורש את מערך המשתנים ברגע הסיפוח. כלומר, כל משתנה שהיה זמין בסקריפט הראשי בנקודת הסיפוח, יהי זמין בתחילת קוד ה-include גם כן.


Regular Expression Functions (Perl-Compatible) 	 recode_file


This is an alias for openssl_pkey_get_public(). 	 openssl_get_publickey() extracts the public key from an X.509 certificate specified by certificate and prepares it for use by other functions.


imagecreatefromgd2part 	 imagecreate


Example 5. xmltest2.xml 	 דוגמה 5. xmltest2.xml


It is important to use the bug database instead of just sending an email to one of the mailing lists because the bug will have a tracking number assigned and it will then be possible for you to go back later and check on the status of the bug. 	 פנה לבסיס הנתונים של הבאגים של PHP וודא שהבאג עוד לא ידוע. אם אינך רואה את הבאג בבסיס הנתונים, השתמש בטופס הדיווח כדי לדווח על הבאג. חשוב להשתמש בבסיס הנתונים במקום פשוט לשלוח דואר לאחת מרשימות הדואר משום שהבאג יקבל מספר מעקב מוקצה שעל-ידיו תהיה לך אפשרות לבדוק שוב מאוחר יותר את מצב הבאג. בסיס הנתונים לבאגים נמצא ב http: / /bugs.php.net /.


recode_file 	 recode


cpdf_fill_stroke 	 cpdf_fill


DIR is the iODBC base install directory, defaults to / usr / local. 	 DIR is the PostgreSQL base install directory, defaults to / usr / local / pgsql.


The startpos parameter was added in PHP 4.3.0. 	 Returns TRUE on success, FALSE on error.


php_ini_scanned_files 	 ini_set


The special value. indicates that the directory in which the script is stored will be used as base-directory. 	 shell_exec() (functional equivalent of backticks)


mcrypt_module_is_block_algorithm_mode 	 mcrypt_module_get_supported_key_sizes


For example, the following code would display a is bigger than b if $a is bigger than $b, and a is NOT bigger than b otherwise: 	 לעיתים תרצה להריץ פקודה אם תנאי מתקיים ולהריץ פקודה אחרת אם לא. לשם זה קיים ה else. else מרחיב משפטי if כדי לבצע הרצה של פקודות במקרה שערכו של הביטוי במשפט if מתאים לערך ה FALSE. לדוגמה, הסקריפט הבא ידפיס a is bigger than b אם ערכו של $a גדול מערכו של $b, או ידפיס a is NOT bigger than b בכל מקרה אחר:


Example 1. ftp_get_option() example 	 דוגמה 1. ftp_get_option() example


You can use these functions to format the date and time in many different ways. 	 You can use this functions to format the output of date and time in many different ways.


Link to DBA database 	 Link to DBA base


You can select arguments to add to the configure on line 10 below from the Complete list of configure options. 	 You can select arguments to add to the configure on line 8 below from the Complete list of configure options.


Example 1. swfsprite() example 	 דוגמה 1. swfsprite() example


preg_replace 	 preg_split


If you wish to assign multiple values to a single cookie, just add [] to the cookie name. 	 כל עוגיה שנשלחת אליך מהלקוח תהפוך באופן אוטומטי למשתנה של PHP, ממש כמו שיטות הנתונים GET ו-POST, תלוי בקונפיגורציות המשתנים register_globals ו - variables_order. אם ברצונך להקצות ערכים מרובים לעוגייה יחידה, צריך להוסיף [] לשמה של העוגייה.


SWFMovie - add 	 SWFMorph - getshape1


--enable-mbstring: 	 You must enable module with configure script.


Example 1. gmstrftime() example 	 דוגמה 1. gmstrftime() example


fdf_get_version 	 fdf_next_field_name


xmlrpc_decode_request 	 XMLRPC functions


Miscellaneous 	 Include Berkeley DB3 support.


The callback should return the replacement string. 	 This function was added in PHP 4.0.5.


This ini-option is available available from PHP 4.3.0. 	 This extension does not define any configuration directives.


See fopen() for more details on how to specify the filename and Appendix I for a list of supported URL protocols. 	 טיפ: ניתן להשתמש בקישור URL בפונקציה זו אם אופציית "fopen wrappers" פעילה. למידע נוסף יש לעיין ב: fopen()


If PHP has decided that filename specifies a local file, then it will try to open a stream on that file. 	 Note that the file pointer allows you to retrieve only the body of the response; to retrieve the HTTP response header you need to be using PHP 4.0.5 or later; The headers will be stored in the $http_response_header variable.


The last example of expressions we 'll deal with here is combined operator-assignment expressions. 	 הסוג החארון של ביטויים שקיים הוא שילוב של operator-assignment expressions.


Articles about migrating ASP-based applications to PHP under Windows even appear on Microsoft 's very own MSDN! 	 Dobbs, Linux Enterprise, Linux Magazine ובעוד כתבי עת רבים. מאמרים על 'הגירה' מ-ASP הופיעו אפילו בספריית MSDN של מיקרוסופט!


Finally select Build= Rebuild All. 	 c:\php-win32build\lib


A few other ways to "include" files into variables are with fopen(), file() or by using include() along with Output Control Functions. 	 המשתנה $bar יקבל את הערך 1 כי הסיפוח התבצע בהצלחה. שימו לב להבדל בין הדוגמאות הקודמות. הראשונה משתמשת בפקודת return() מקובץ מסופח והשנייה - לא. דרכים נוספות לסיפוח קובץ לתוך משתנים ניתן לממש תוך שימוש ב - fopen(), file() או תוך שימוש ב - include() בשילוב עם פונקציות לשליטה בפלט.


Beginning with PHP 4.0.5, this includes numeric variables as well. 	 Since PHP 4.0.5 this includes numeric ones as well.


Hypertext Preprocessor. 	 PHP 3.0 שוחררה רשמית ביוני 1998, אחרי תשעה חודשים של בדיקות.


pathname and mode are the same as in fopen() (mode defaults to'w'), connection specifies the connection to trace and defaults to the last one opened. 	 Filename and mode are the same as in fopen() (mode defaults to 'w'), connection specifies the connection to trace and defaults to the last one opened.


Example 1. printer_get_option() example 	 דוגמה 1. printer_get_option() example


pdf_setrgbcolor_stroke 	 pdf_setpolydash


Example 1. ucwords() example 	 דוגמה 1. ucwords() example


This is somewhat bad practice, but Table Table 33-5 describes macros that do exactly this task. 	 This is somewhat bad practice, but Table טבלה 34-5 describes macros that do exactly this task.


1. $cd.. 	 # $Id:


So if in the example above $a became part of a session by running session_register( "a"), you should include the file classa.inc on all of your pages, not only page1.php and page2.php. 	 אם בדוגמא שמעל $a הופך לחלק מ session עךל ידי שימוש ב session_register( "a"), יש צורך להכליל את הקובץ classa.inc בכל הדפים, לא רק בדפים page1.php ו page2.php.


Example 1. mysql_real_escape_string() example 	 דוגמה 1. mysql_real_escape_string() example


Miscellaneous functions 	 SWFTextField - addstring


An example would be "image / gif". 	 $userfile_type - ה-mime type של הקובץ, במידה והדפדפן סיפק את הנתון הזה. דוגמה: "image / gif".


pdf_open 	 pdf_place_image


By contributing notes, you can provide additional examples, caveats, and clarifications for other readers. 	 אם אתה מוצא שגיאות במדריך זה, בכל שפה, אנא דווח עליהן באמצעות מערכת הבאגים ב http: / /bugs.php.net /. סווג את הבאג כ" בעיית תיעוד "("Documentation Problem"). אתה יכול לדווח גם על בעיות הקשורות לגרסאות מסוימות של התיעוד כאן.


For examples of these functions, see Example 36-2. 	 For examples of these functions, see דוגמה 37-2.


PHP has many levels of errors, using this function sets that level for the duration (runtime) of your script. 	 The error reporting level is either a bitmask, or named constant.


The functions hw_pipedocument() and hw_gettext() do this for you. 	 In order to gain the original document you will have to retrieve the plain document without the links and the list of links and reinsert them (The functions hw_pipedocument() and hw_gettext() do this for you.


Converting to resource 	 $var = 'ciao'; $obj = (object) $var; echo $obj - scalar; / / outputs 'ciao'


GNU Recode functions 	 recode


?php $foo = "0"; / / $foo is string (ASCII 48) !- - bad example, no real operator (must be used with variable, modifies it too) $foo++; / / $foo is the string "1" (ASCII 49) - - $foo += 2; / / $foo is now an integer (2) $foo = $foo + 1.3; / / $foo is now a float (3.3) $foo = 5 + "10 Little Piggies"; / / $foo is integer (15) $foo = 5 + "10 Small Pigs"; / / $foo is integer (15) !- - TODO: explain ++ / - - behaviour with strings examples: ++'001 '= '002' ++'abc '= 'abd' ++'xyz '= 'xza' ++'9.9 '= '9.0' ++'-3 '= '-4' - -'9 '= 8 (integer!) - -'5.5' = '5.5 '- -'-9' = -10 (integer) - -'09 '= 8 (integer) - -'abc' = 'abc '- -? 	 $foo = "0"; / / $foo is string (ASCII 48) $foo += 2; / / $foo is now an integer (2) $foo = $foo + 1.3; / / $foo is now a float (3.3) $foo = 5 + "10 Little Piggies"; / / $foo is integer (15) $foo = 5 + "10 Small Pigs"; / / $foo is integer (15)


When register_globals is on, globals for uploaded files are also initialized. 	 כשהטופס שלמעלה נשלח, המערכים $userfile, $userfile_name ו - $userfile_size יווצרו בתחום הגלובלי (ממש כמו ב-$HTTP_POST_FILES ($HTTP_POST_VARS ב-PHP 3)). כל אחד מהנ "ל יאנדקס, בצורה מספרית, מערך של הערכים המתאימים, לפי הקבצים שנשלחו.


If you want to create another class called Yellow_named_cart based on the class Named_Cart you have to define Named_Cart If you want to create another class called Yellow_named_cart based on the class Named_Cart you have to define Named_Cart first. 	 $ncart = new Named_Cart; / / יצירת אובייקט $ncart - set_owner("kris"); / / הכנסת שם של בעלים לאותה עגלה print $ncart - owner; / / הצגה של ערך הבעלים של העגלה $ncart - add_item("10", 1); / / שימוש בפונקציה שהורשנו מתוך cart


Example 1. basename() example 	 דוגמה 1. basename() example


This extension is not available on Windows platforms. 	 Ovrimos SQL Server is available at www.ovrimos.com.


The intended use of __wakeup is to reestablish any database connections that may have been lost during serialization and perform other reinitialization tasks. 	 השמימוש ב __wakeup נועג להקים מחדש חיבור למסד נתונים כשלהו שעלול ללכת לאיבוד במהלך serialization ולבצע reinitialization של משימה אחרת.


The current version, 5.5, is available at http: / /www.hyperwave.com /. 	 The current version, 5.5, is available at www.hyperwave.com.


session_is_registered() returns TRUE if there is a global variable with the name name registered in the current session. 	 session_is_registered() returns TRUE if there is a variable with the name name registered in the current session.


This POST is a normal application / x-www-form-urlencoded kind, most commonly used by HTML forms. 	 POST רגיל זה הוא מסוג application / x-www-form-urlencoded, הנפוץ בשימוש על ידי HTML forms.


Example 1. fbsql_create_db() example 	 דוגמה 1. fbsql_create_db() example


Make sure the webserver is running, and point your browser to xitamis admin console (usually http: / /127.0.0.1 / admin), and click on Configuration. 	 וודא שהשרת שלך עובד, ועבור עם הדפדפן לעמוד הנינול של Xitami (בדרך כלל http: / /127.0.0.1 / admin), ולחץ על Configuration.


array_push ($input, $x, $y) array_splice ($input, count ($input), 0, array ($x, $y)) array_pop ($input) array_splice ($input, -1) array_shift ($input) array_splice ($input, 0, 1) array_unshift ($input, $x, $y) array_splice ($input, 0, 0, array ($x, $y)) $input[$x] = $y array_splice ($input, $x, 1, $y) 	 array_push ($input, $x, $y) array_splice ($input, count ($input), 0, array ($x, $y)) array_pop ($input) array_splice ($input, -1) array_shift ($input) array_splice ($input, 0, 1) array_unshift ($input, $x, $y) array_splice ($input, 0, 0, array ($x, $y)) $a[$x] = $y array_splice ($input, $x, 1, $y)


Given the above, you don 't need to open e.g. a stream for stderr yourself but simply use the constant instead of the stream resource: 	 The CGI SAPI supports the CLI SAPI behaviour by means of the -C switch when ran from the command line.


The module shown earlier in Example 28-1 can be enabled with --enable-first_module or --enable-first_module=yes. 	 The module shown earlier in דוגמה 29-1 can be enabled with --enable-first_module or --enable-first_module=yes.


DBM Functions [deprecated] 	 DBM Functions


Many of these constants, however, are created by various extensions, and will only be present when those extensions are available, either via dynamic loading or because they have been compiled in. 	 שם הסקריפט שמורץ ברגע זה. במקרה ומשתמשים בזה בתוך קובץ שצורף לקובץ אחר בעזרת include או require, השם שינתן הוא שם הקובץ המצורף, ולא שם הקובץ המצרף.


PHP enhances the increment / decrement capabilities by making these expressions as well, like in C. 	 PHP מגיברה את היכולות של אופרטורי ההגדלה / חיסור על ידי הפיכתם לביטויים, ממש כמו ב C. ב PHP, כמו ב C, ישנם שני סוגים של אופרטורי הגדלה pre-increment ו post-increment. שני אלה בייסודם מגדילים את ערכי המשתנה, והאפקט על המשתנה הוא זהה. ההבדל הוא בערך שך המשתנה המוגדל.


?php / / We' ll be outputting a PDF header("Content-type: application / pdf"); / / It will be called downloaded.pdf header("Content-Disposition: attachment; filename=downloaded.pdf"); / / The PDF source is in original.pdf readfile('original.pdf');? 	 ?php header( "Content-type: application / pdf"); header("Content-Disposition: attachment; filename=downloaded.pdf"); / *... output pdf file... * /


Every output sent from the server connected to by connection will be copied to standard output while using default formatting or a format message set specified by ircg_register_format_messages(). 	 Every output sent from the server connected to by connection will be copied to standard output while using default formatting or a format string set specified by ircg_register_format_messages() and selected by ircg_lookup_format_messages().


ISO-8601 week number of year, weeks starting on Monday (added in PHP 4.1.0) 	 W - ISO-8601 week number of year, weeks starting on Monday (added in PHP 4.1.0)


Array ([0] = Uptime: 	 Uptime:


mailparse_msg_parse 	 mailparse_msg_parse_file


Example 1. phpinfo() examples 	 דוגמה 1. phpinfo() examples


pdf_open_pdi 	 pdf_open_png


Example 2. mb_detect_order() examples 	 דוגמה 2. mb_detect_order() examples


vpopmail_alias_del_domain 	 vpopmail_alias_del


session.use_only_cookies specifies whether the module will only use cookies to store the session id on the client side. 	 SID is either of the form session_name=session_id or is an empty string.


Example C-3. 	 דוגמה C-3.


You can find a list of the mailing lists at http: / /www.php.net / support.php, as well as links to the mailing list archives and other online support resources. 	 ישנן מספר רשימות דיוור פעילות לדיון כל ההיבטים של תכנות עם PHP. אם תתקע פעם בבעיה שאתה לא מצליח למצוא לה פתרון, באפשרותך לקבל עזרה ממישהו ברשימות אלו. ניתן למצוא רשימה של רשימות הדיוור ב http: / /www.php.net / support.php, כמו גם קישורים למקורות תמיכה מקוונים אחרים. בנוסף, ב http: / /www.php.net / links.php ישנה רשימה של אתרים המוקדשים למאמרים, פורומים וגלריות קוד של PHP.


The future of PHP is mainly driven by it 's core, the Zend Engine. 	 צוות הפיתוח של PHP כולל עשרות מפתחים ועשרות אחרים עובדים על פרוייקטים הקשורים לה כגון PEAR ופרוייקט התיעוד.


Example 1. array_count_values() example 	 דוגמה 1. array_count_values() example


cpdf_set_current_page 	 cpdf_set_font


log1p 	 lcg_value


meta name=" author "content="name" meta name="keywords "content="php documentation" meta name="DESCRIPTION "content="a php manual" meta name="geo.position "content="49.33;-86.59" / head !- - parsing stops here - - 	 meta name=" author "content="name" meta name="tags "content="php3 documentation" / head !- - parsing stops here - -


Registers the function named by function to be executed when script processing is complete. 	 Registers the function named by func to be executed when script processing is complete.


SWFText - setSpacing 	 SWFSprite - setframes


For the majority of the servers PHP has a module, for the others supporting the CGI standard, PHP can work as a CGI processor. 	 PHP נתמכת ברוב שרתי האינטרנט כיום. זה כולל את Apache, Microsoft Internet Information Server, Personal Web Server, Netscape and iPlanet servers, Oreilly Website Pro server, Caudium, Xitami, OmniHTTPd, ועוד רבים אחרים. ל PHP יש מודול לרוב השרתים. לאחרים שתומכים בסטנדרט ה CGI, PHP עובדת כמעבד CGI.


Example 1. fbsql_tablename() example 	 דוגמה 1. fbsql_tablename() example


fmod 	 getrandmax


For example: "open_basedir = / dir / incl /" 	 For practical reasons it 's currently not allowed to have.. components in the path to the executable.


The optional enclosure cannot be null, and is limited to one character. 	 The field delimiter is a comma, unless you specify another delimiter with the optional third parameter.


Native HTTP session support 	 תמיכה טבעית ב-HTTP sessions


Use the functions ord() and chr() to convert between charcodes and characters. 	 echo "\$foo==$foo; type is". gettype ($foo). "br \n";


Install instructions for PHP 4 can be found on the PEAR site. 	 PDFLIB: define libjpeg install directory.


ftp_connect() opens an FTP connection to the specified host. 	 ftp_connect() opens up a FTP connection to the specified host.


?php $array1 = $array2 = array ("img12.png", "img10.png", "img2.png", "img1.png"); sort($array1); echo "Standard sorting\n"; print_r($array1); natsort($array2); echo "\nNatural order sorting\n"; print_r($array2);? 	 $array1 = $array2 = array ("img12.png", "img10.png", "img2.png", "img1.png"); sort($array1); echo "Standard sorting\n"; print_r($array1); natsort($array2); echo "\nNatural order sorting\n"; print_r($array2);


Include ICAP support. 	 Include Hyperwave support.


-1 is considered TRUE, like any other non-zero (whether negative or positive) number! 	 -1 נחשב ל - TRUE, כמו כל מספר (שלילי או חיובי) שהוא לא אפס.


This is not necessary but it simplifies the configuration. 	 Since PHP with Hyperwave support built into Apache is intended to replace the native Hyperwave solution based on Wavemaster I will assume that the Apache server will only serve as a Hyperwave web interface.


While providing SQL as an additional language interface, it is not really a SQL database in the first place but provides its own AQL query language which is much more influenced by the relational algebra then SQL is. 	 While providing SQL as an additional language interface it is not really a SQL database in the first place but provides its own AQL query language which is much more influenced by the relational algebra then SQL is.


Example 1. ip2long() Example 	 דוגמה 1. ip2long() Example


The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. 	 This extension does not define any configuration directives.


ingres_autocommit() is called before opening a transaction (before the first call to ingres_query() or just after a call to ingres_rollback() or ingres_commit()) to switch the "autocommit "mode of the server on or off (when the script begins the autocommit mode is off). 	 ingres_autocommit() is called before opening a transaction (before the first call to ingres_query() or just after a call to ingres_rollback() or ingres_autocommit()) to switch the "autocommit "mode of the server on or off (when the script begins the autocommit mode is off).


?php mysql_connect( 'localhost:3306', $user, $password) or die("Could not connect: ". mysql_error()); mysql_select_db("database"); $result = mysql_query("select * from table") or die("Query failed:". mysql_error()); / * get column metadata * / $i = 0; while ($i mysql_num_fields($result)) {echo "Information for column $i: br / \n"; $meta = mysql_fetch_field($result); if (!$meta) {echo "No information available br / \n";} echo "pre blob: $meta - blob max_length: $meta - max_length multiple_key: $meta - multiple_key name: $meta - name not_null: $meta - not_null numeric: $meta - numeric primary_key: $meta - primary_key table: $meta - table type: $meta - type unique_key: $meta - unique_key unsigned: $meta - unsigned zerofill: $meta - zerofill / pre"; $i++;} mysql_free_result($result);? 	 ?php mysql_connect( 'localhost:3306', $user, $password) or die ("Could not connect"); mysql_select_db("database"); $result = mysql_query("select * from table") or die("Query failed"); / * get column metadata * / $i = 0; while ($i mysql_num_fields($result)) {echo "Information for column $i: br / \n"; $meta = mysql_fetch_field($result); if (!$meta) {echo "No information available br / \n";} echo "pre blob: $meta - blob max_length: $meta - max_length multiple_key: $meta - multiple_key name: $meta - name not_null: $meta - not_null numeric: $meta - numeric primary_key: $meta - primary_key table: $meta - table type: $meta - type unique_key: $meta - unique_key unsigned: $meta - unsigned zerofill: $meta - zerofill / pre"; $i++;} mysql_free_result($result);?


The default is to allow all files to be opened. 	 For practical reasons it 's currently not allowed to have.. components in the path to the executable.


mysql_client_encoding 	 mysql_character_set_name


Several functions which return an array of object records do also return an associative array with statistical information about them. 	 Several functions which return an array of object records do also return an associated array with statistical information about them.


imagegd2 	 imagegammacorrect


MCVE Payment Functions 	 Mhash Functions


Similarly, looping structures do not affect the behaviour of require(). 	 יש לעיין בתיעוד הפקודה include() לדוגמאות נוספות.


Note that few, if any, of these will be available (or indeed have any meaning) if running PHP on the command line. 	 אם PHP רץ כמעבד משורת הפקודה, משתנה זה לא יהיה זמין.


If you want to compile an older version, some options will probably not be available. 	 DIR is the Informix base install directory, defaults to nothing.


pspell_config_save_repl 	 pspell_new


preg_match 	 preg_quote


hw_api - object 	 hw_api - objectbyanchor


GLOB_NOCHECK - Return the search pattern if no files matching it were found 	 This function is disabled in safe mode and therefore will always return FALSE in safe mode.


cpdf_rotate_text 	 cpdf_rmoveto


preg_replace 	 preg_replace_callback


Deprecated. 	 (PHP 3 = 3.0.6, PHP 4)


Try to use only PIC / non-PIC objects [default=use both]. 	 Include Verisign Payflow Pro support.


This is an alias for stream_set_timeout(). 	 דוגמה 1. socket_set_timeout() Example


Typically, function takes on two parameters. 	 Applies the user-defined function named by func to each element of array. func will be passed array value as the first parameter and array key as the second parameter.


?php $serialized_object=' O:1 :"a":1 :{s:5 :"value";s:3 :"100" ;}'; / / unserialize_callback_func directive available as of PHP 4.2.0 ini_set('unserialize_callback_func' ,'mycallback'); / / set your callback_function function mycallback($classname) {/ / just include a file containing your classdefinition / / you get $classname to figure out which classdefinition is required}? 	 $serialized_object=' O:1 :"a":1 :{s:5 :"value";s:3 :"100" ;}'; ini_set('unserialize_callback_func' ,'mycallback'); / / set your callback_function function mycallback($classname) {/ / just include a file containing your classdefinition / / you get $classname to figure out which classdefinition is required}


Example 1. unset() example 	 דוגמה 1. unset() example


array_diff_assoc 	 array_diff


Example 1. fbsql_fetch_object() example 	 דוגמה 1. fbsql_fetch_object() example


mhash_keygen_s2k 	 Mhash Functions


pdf_fill 	 pdf_fill_stroke


The current version, 5.5 is available at http: / /www.hyperwave.com /. 	 The current version, 4.1, is available at www.hyperwave.com.


php4 / Zend / zend_API.h, also located in the Zend directory, which defines Zend 's API. 	 zend_API.h, also located in the Zend directory, which defines Zend 's API.


The function DomNode_append_child() The function DomNode_append_child() has changed its behaviour. 	 It now actually adds a child and not a sibling.


Note that if you try to escape any other character, the backslash will also be printed! 	 Note that if you try to escape any other character, the backslash too will be printed!


Edit the PREFIX= line in the Makefile to change the installation directory. 	 SWFMovie - setrate - - Sets the animation 's frame rate.


If an attribute occurs more than once in an object record it will result in another indexed or associative array. 	 If an attribute occurs more than once in an object record it will result in another indexed or associated array.


?php $rest = substr( "abcdef", -1); / / returns "f "$rest = substr("abcdef", -2); / / returns "ef" $rest = substr("abcdef", -3, 1); / / returns "d "? 	 $rest = substr( "abcdef", -1); / / returns "f "$rest = substr("abcdef", -2); / / returns "ef" $rest = substr("abcdef", -3, 1); / / returns "d "


Examples are given in in Example 32-3. 	 Examples are given in in דוגמה 33-3.


Andrei Zmievski remembers the planing and creation process of PHP-GTK: 	 PHP-GTK הוא הפתרון לכתיבת תוכניות צד לקוח בעלות ממשק משתמש גרפי. אנדרי צמיבסקי (Andrei Zmievski) זוכר את תהליך התכנון והבניה של PHP-GTK:


Example 1. printer_set_option() example 	 דוגמה 1. printer_set_option() example


Alternatively, you could create an XML document and read it with DomDocument_open_file(). 	 You could also create an xml document read it with DomDocument_open_file().


The error code is either a Z39.50 diagnostic code (usually a Bib-1 diagnostic) or a client side error code which is generated by PHP / YAZ itself, such as "Connect failed", "Init Rejected ", etc. 	 A positive value is returned if the target returned a diagnostic code; a value of zero is returned if no errors occurred (success); negative value is returned for other errors (such as when the target closed connection, etc).


cpdf_set_horiz_scaling 	 cpdf_set_font_directories


If newnode was already inserted in the document it is first unlinked from its existing context. 	 This behaviour enforces doing all modifications on the node before the replacement or to refetch the inserted node afterwards with functions like DomNode_first_child(), DomNode_child_nodes() etc..


pdf_fill 	 pdf_findfont


?php mysql_connect( "localhost", "mysql_user", "mysql_password") or die("Could not connect: ". mysql_error()); mysql_select_db("mydb"); $result = mysql_query("SELECT id, name FROM mytable"); while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {printf ("ID: %s Name: %s", $row["id"], $row["name"]);} mysql_free_result($result);? 	 ?php mysql_connect( "localhost", "mysql_user", "mysql_password") or die("could not connect"); mysql_select_db("mydb"); $result = mysql_query("SELECT id, name FROM mytable"); while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {printf ("ID: %s Name: %s", $row["id"], $row["name"]);} mysql_free_result($result);?


There is no installation needed to use these functions; they are part of the PHP core. 	 The following values are defined as constants in PHP by the math extension:


session.cookie_domain specifies the domain to set in session_cookie. 	 Hello visitor, you have seen this page ?php echo $count;? times. p; ?php # the ?php echo SID? (?=SID? can be used if short tag is enabled) # is necessary to preserve the session id # in the case that the user has disabled cookies?


ncurses_init_color 	 ncurses_init


Example 12-7. include() and the return() statement 	 דוגמה 11-7. פקודות include() ו - return()


You can also convert a value to integer with the function intval(). 	 However, in most cases you do not need to use the cast, since a value will be automatically converted if an operator, function or control structure requires a integer argument.


Note: 	 MCAL_RECUR_MONTHLY_MDAY


Filesystem functions 	 filepro_fieldcount


See also domnode_append_child(), domdocument_create_element(), domdocument_create_text(), domdocument_create_cdata_section(), domdocument_create_processing_instruction(), domdocument_create_attribute(), and domnode_insert_before(). 	 See also DomNode_append_child(), DomDocument_create_element(), DomDocument_create_text(), DomDocument_create_cdata_section(), DomDocument_create_processing_instruction(), DomDocument_create_attribute(), DomNode_insert_before().


md5_file 	 md5


Like htmlspecialchars(), the optional second quote_style parameter lets you define what will be done with'single 'and "double "quotes. 	 Like htmlspecialchars(), it takes an optional second argument which indicates what should be done with single and double quotes.


For example: "safe_mode_include_dir = / dir / incl /" 	 Limitations


msession_set_array 	 msession_set


See also domnode_append_child(), domdocument_create_element(), domdocument_create_text(), domdocument_create_attribute(), domdocument_create_processing_instruction(), domdocument_create_entity_reference() and domnode_insert_before(). 	 See also DomNode_append_child(), DomDocument_create_element(), DomDocument_create_text(), DomDocument_create_attribute(), DomDocument_create_processing_instruction(), DomDocument_create_entity_reference(), DomNode_insert_before().


debug_backtrace 	 Error Handling and Logging Functions


Use it 's numerical form element ID instead, or enclose the variable name in single quotes and use that as the index to the elements array, for example: 	 עליך לשים לב שאם קיים באתר שימוש ב-JavaScript, הוספת [] לשם המשתנה עלול לגרום לבעיות בעת ניסיון לקרוא למשתנה לפי שמו. מומלץ לנסות לקרוא לו לפי מספר הזיהוי שלו במערך form של JavaScript במקום, או לתחום את שם המשתנה בין מרכאות (יחידות / לא כפולות) ולהשתמש בו כאינדקס של פריטי המערך של JavaScript, לדוגמא:


See the include() documentation for more examples. 	 דוגמה 11-2. דוגמה בסיסית של require()


ftp_get 	 ftp_login


Example 1. bzerror() Example 	 דוגמה 1. bzerror() Example


DomNode - set_namespace 	 DomNode - set_name


DOM XML 	 Satellite


atan2 	 atan


The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. 	 You need the aspell and pspell libraries, available from http: / /aspell.sourceforge.net / and http: / /aspell.net / respectively, and add the --with-pspell[ =dir] option when compiling php.


typedef struct _zend_module_entry zend_module_entry; struct _zend_module_entry {unsigned short size; unsigned int zend_api; unsigned char zend_debug; unsigned char zts; char *name; zend_function_entry *functions; int (*module_startup_func)(INIT_FUNC_ARGS); int (*module_shutdown_func)(SHUTDOWN_FUNC_ARGS); int (*request_startup_func)(INIT_FUNC_ARGS); int (*request_shutdown_func)(SHUTDOWN_FUNC_ARGS); void (*info_func)(ZEND_MODULE_INFO_FUNC_ARGS); char *version; [Rest of the structure is not interesting here]}; 	 typedef struct _zend_module_entry zend_module_entry; struct _zend_module_entry {unsigned short size; unsigned int zend_api; unsigned char zend_debug; unsigned char zts; char *name; zend_function_entry *functions; int (*module_startup_func)(INIT_FUNC_ARGS); int (*module_shutdown_func)(SHUTDOWN_FUNC_ARGS); int (*request_startup_func)(INIT_FUNC_ARGS); int (*request_shutdown_func)(SHUTDOWN_FUNC_ARGS); void (*info_func)(ZEND_MODULE_INFO_FUNC_ARGS); char *version; int (*global_startup_func)(void); int (*global_shutdown_func)(void); [Rest of the structure is not interesting here]};


fdf_set_target_frame 	 fdf_set_submit_form_action


This file must contain the data as returned from a PDF form or created using fdf_create() and fdf_save(). 	 This file must contain the data as returned from a PDF form.


Example 1. pg_select 	 דוגמה 1. pg_select


The previous example can be rewritten as: 	 $a = 1; $b = 2; function Sum() {global $a, $b; $b = $a + $b;} Sum(); echo $b;


This module uses the functions of the ZZIPlib library by Guido Draheim. 	 This module uses the functions of the ZZIPlib library by Guido Draheim to transparently read ZIP compressed archives and the files inside them.


See also imagecreate() and imagecreatetruecolor(). 	 See also imagecreate().


See also array_intersect_assoc(), array_diff(), array_diff_assoc(). 	 See also array_diff().


Pass a non-zero value if you want CURL to directly return the transfer instead of printing it out directly. 	 CURLOPT_RETURNTRANSFER: העבר ערך השונה מאפס אם על cURL להחזיר את המידע ישירות במקום לבצע הדפסה של המידע.


pg_client_encoding() 	 satellite_load_idl()


imagecreatefromgif 	 imagecreatefromgd2


See also parse_url(), pathinfo(), set_magic_quotes_runtime(), and urldecode(). 	 See also set_magic_quotes_runtime() and urldecode().


swf_ortho 	 swf_ortho2


Columns are returned into the array having the fieldname as the array index. 	 Specifies that the MySQL result should be buffered.


fbsql_database 	 fbsql_db_query


If you' re having problems with your source code you need to include the part of the code that isn't working. 	 הודעות בסגנון "אני לא מצליח להריץ את PHP! עזרו לי! מה הבעיה?" ממש לא עוזרות לאף אחד. אם נמצאו בעיות בהפעלת PHP חובה עליך לרשום איזו מערכת הפעלה ברשותך, איזו גירסה של PHP ניסית להתקין, מהיכן ואיך קבלת אותה (pre-compiled, CVS, RPMs וכדומה), מה ניסית לעשות עד עכשיו, היכת ניתקעת ומה הודעת השגיאה המדוייקת.


Example 1. setcookie() send examples 	 echo $TestCookie; echo $HTTP_COOKIE_VARS["TestCookie"];


output 	 orbit_exception_id


the ability to manage tens and even hundreds of thousands of users. 	 In numerous productive BS2000 installations, SESAM / SQL-Server has proven...


See also htmlentities() and urlencode(). 	 Setting use_include_path to 1 will result in PHP trying to open the file along the standard include path.


Example 1. ceil() example 	 דוגמה 1. ceil() example


This is a major change in PHP. 	 מחרוזת הזיהוי של השרת שמועברת בכותרים (headers) בעת משוב לפניות (requests).


This function can be used to avoid calls to other exif functions with unsupported file types or in conjunction with $_SERVER[ 'HTTP_ACCEPT'] to check whether or not the viewer is able to see a specific image in his browser. 	 This function can be used to avoid calls to other exif functions with unsupported file teypes or in conjunction with $_SERVER[ 'HTTP_ACCEPT'] to check whether or not the viewer is able to see a specific image in his browser.


Example 1. eregi() example 	 דוגמה 1. eregi() example


Example 1. printer_create_dc() example 	 דוגמה 1. printer_create_dc() example


Essentially, it was renamed. 	 דוגמה 1. getallheaders() Example


Example 2. array_map() - using more arrays 	 דוגמה 2. array_map() - using more arrays


With ircg_register_format_messages() you can customize the way your IRC output looks like or which script functions are invoked on the client side. 	 You can even register different format string sets and switch between them on the fly with ircg_lookup_format_messages().


42 (the 42nd week in the year) 	 Y - year, 4 digits; e.g. "1999 "


See also Array Functions and Variables from outside PHP. 	 See also פונקציות למערכים ו משתנים מקוד PHP חיצוני.


Example 1. mysql_list_processes() example 	 דוגמה 1. mysql_list_processes() example


Filling an array 	 Filling real array


Construct 	 Syntax


Thus, it is important not to forget break statements (even though you may want to avoid supplying them on purpose under certain circumstances). 	 בדוגמה זו, אם ערכו של $i שווה ל-0 ,תתבצע הרצה של כל פקודות ה-print! אם ערכו שווה ל-1 תתבצע הרצה של שתי הפקודות האחרונות ואם ערכו יהיה שווה ל-2 תרוץ רק פקודת ה-print האחרונה ונקבל את התוצאה המתבקשת. כלומר, חשוב לזכור את פקודות ה - break (למרות שיתכן מצב בו נמנע להשתמש בפקודה זו בכוונה).


Writing client-side GUI applications. 	 כתיבת אפליקציות GUI לשימוש בצד לקוח.


cpdf_closepath_stroke 	 cpdf_close


As shown in Figure 24-1 As shown in Figure 24-1 above, PHP can be extended primarily at three points: external modules, built-in modules, and the Zend engine. 	 As shown in תרשים 25-1 As shown in תרשים 25-1 above, PHP can be extended primarily at three points: external modules, built-in modules, and the Zend engine.


An attempt to match C comments by applying the pattern / \*.*\* / to the string / * first command * / not comment / * second comment * / fails, because it matches the entire string due to the greediness of the .* item. 	 An attempt to match C com - ments by applying the pattern / \*.*\* / to the string / * first command * / not comment / * second comment * / fails, because it matches the entire string due to the greediness of the .* item.


Example 1. bzwrite() Example 	 דוגמה 1. bzwrite() Example


gd_info 	 getimagesize


TCP and UDP are common protocols of this protocol family. 	 Creates a communication endpoint (a socket), and returns a socket resource.


Some programs use these APP markers to embed text information in images. 	 דוגמה 3. getimagesize returning IPTC


00 through 59 	 s - seconds; i.e. "00 "to "59"


mb_strtolower 	 mb_strwidth


Please keep in mind that these functions are dependent on the locale settings of your server. 	 Please keep in mind that this functions are depending on the locale settings of your server.


The schema, table_name and column_name arguments accept search patterns ('% 'to match zero or more characters and '_' to match a single character). 	 The owner, table_name and column_name arguments accept search patterns ('% 'to match zero or more characters and '_' to match a single character).


If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), you can specify the file to be included using an URL (via HTTP or other supported wrapper - see Appendix I for a list of protocols) instead of a local pathname. 	 כאשר קובץ מסופח, המפרש יוצא מ" מצב "PHP ועובר ל"מצב "HTML בתחילת הקובץ. כפועל יוצא, כל קוד מסופח צריך להיות ב תגיות פתיחה וסגירה תקניות.


Using binary packages to install PHP on OpenBSD is the recommended and simplest method. 	 This section contains notes and hints specific to installing PHP on OpenBSD.


To connect as a user other than 'anonymous', you need to specify the username (and possibly password) within the URL, such as'ftp: / /user:password@ftp.example.com / path / to / file'. (You can use the same sort of syntax to access files via HTTP when they require Basic authentication.) 	 ניתן גם לכתוב לקבצים ב-FTP כל עוד החיבור נעשה תוך שימוש בשם וסיסמת משתמש בעלי הרשאות מתאימות ובתנאי שהקובץ לא קיים. כדי להתחבר ל FTP בתור משתמש שונה מ -' anonymous', יש לפרט את שם המשתמש (ויתכן שידרש גם פירוט הסיסמה) בקישור, כמו למשל 'ftp: / /user:password@ftp.example.com / path / to / file'. (ניתן להשתמש באותו תחביר כאשר ברצוננו להתחבר לקבצים דרך HTTP כאשר נדרשת אוטנטיקציה בסיסית Basic authentication).


?php if ($_COOKIE['username'] !$_POST['username'] !$_GET['username']) {/ / Perform other checks to validate the user name... $good_login = 1; fpassthru (" / highly / sensitive / data / index.html");} else {mail("admin@example.com", "Possible breakin attempt", $_SERVER['REMOTE_ADDR']); echo "Security violation, admin has been alerted ."; exit;}? 	 ?php if ($HTTP_COOKIE_VARS['username'] !$HTTP_POST_VARS['username'] !$HTTP_GET_VARS['username']) {/ / Perform other checks to validate the user name... $good_login = 1; fpassthru (" / highly / sensitive / data / index.html");} else {mail("admin@example.com", "Possible breakin attempt", $HTTP_SERVER_VARS['REMOTE_ADDR']); echo "Security violation, admin has been alerted ."; exit;}?


The following constants were introduced in PHP 4.3.0. 	 This extension uses one resource-type, which is the link-identifier of the ftp-connection.


HQ EOD; / / load key $key = file_get_contents("nighthawk.pem"); / / save message to file $fp = fopen("msg.txt", "w"); fwrite($fp, $data); fclose($fp); / / encrypt it if (openssl_pkcs7_encrypt("msg.txt", "enc.txt", $key, array("To "= "nighthawk@example.com", / / keyed syntax "From: 	 HQ EOD; / / load key $key = implode("", file("nighthawk.pem")); / / save message to file $fp = fopen("msg.txt", "w"); fwrite($fp, $data); fclose($fp); / / encrypt it if (openssl_pkcs7_encrypt("msg.txt", "enc.txt", $key, array("To "= "nighthawk@example.com", / / keyed syntax "From:


php_ini_scanned_files 	 php_logo_guid


Include Solid support. 	 Default DIR is ORACLE_HOME.


pdf_closepath 	 pdf_concat


Example 2. parse_ini_file() example 	 דוגמה 2. parse_ini_file() example


?php $link = mysql_pconnect( "localhost", "mysql_user", "mysql_password") or die("Could not connect: ". mysql_error()); mysql_select_db("samp_db") or die("Could not select database:". mysql_error()); $query = "SELECT last_name, first_name FROM friends"; $result = mysql_query($query) or die("Query failed: ". mysql_error()); / * fetch rows in reverse order * / for ($i = mysql_num_rows($result) - 1; $i = 0; $i- -) {if (!mysql_data_seek($result, $i)) {echo "Cannot seek to row $i:". mysql_error(). "\n"; continue;} if( !($row = mysql_fetch_object($result))) continue; echo "$row - last_name $row - first_name br / \n";} mysql_free_result($result);? 	 ?php $link = mysql_pconnect( "localhost", "mysql_user", "mysql_password") or die("Could not connect"); mysql_select_db("samp_db") or exit("Could not select database"); $query = "SELECT last_name, first_name FROM friends"; $result = mysql_query($query) or die("Query failed"); / * fetch rows in reverse order * / for ($i = mysql_num_rows($result) - 1; $i = 0; $i- -) {if (!mysql_data_seek($result, $i)) {echo "Cannot seek to row $i\n"; continue;} if( !($row = mysql_fetch_object($result))) continue; echo "$row - last_name $row - first_name br / \n";} mysql_free_result($result);?


To compile and build PHP To compile and build PHP you need a Microsoft Development Environment. 	 Before you get started, you have a lot to download...


Pass an array of HTTP header fields to set. 	 CURLOPT_HTTPHEADER: העבר מערך שלשדות ה HTTP header שאותם ברצונך לקבוע.


If register_globals is enabled, then the global variables and the $_SESSION entries will automatically reference the same values which were registered in the prior session instance. 	 session.entropy_file session.entropy_file gives a path to an external resource (file) which will be used as an additional entropy source in the session id creation process.


Example 5. sprintf(): zero-padded integers 	 דוגמה 5. sprintf(): zero-padded integers


Presently, the ISO-8859-1 character set is used as the default. 	 Reverse of htmlentities()


yaz_set_option 	 yaz_sort


Each of these value types can be assigned into variables or returned from functions. 	 PHP תומכת כמובן בשני סוגי ערכים מורכבים( non-scalar): מערכים ואובייקטים. כל אחד מסוג ערכים זה יכול להיות מוקצה לתוך משתנה או או להיות מוחזר מתוך פונקציות.


Analogous to the old $HTTP_GET_VARS array (which is still available, but deprecated). 	 הערה: החל מגרסה 4.0.3 של PHP האופציה track_vars תמיד פעילה ללא התחשבות בהגדרתה בקובץ ההגדרות של PHP.


You simply write the expression the same way as you would outside the string, and then include it in {and}. 	 For a solution, see the complex syntax. echo "This square is $square - width00 centimeters broad .";


ereg_replace 	 ereg


Example 1. tmpfile() example 	 דוגמה 1. tmpfile() example


See also ob_start(), trigger_error(), and header() for a more detailed discussion of the matters involved. 	 See also header()


In other words, use require() if you want a missing file to halt processing of the page. include() does not behave this way, the script will continue regardless. 	 הפקודות require() ו - include() זהות בכל מובן חוץ מאשר האופן בו הן מטפלות בשגיאות או בחוסר הצלחה בסיפוח הקובץ. פקודת include() מייצרת אזהרה בעוד שפקודת require() מייצרת Fatal Error - שגיאה שתגרום לעצירת הריצה של הסקריפט. אם ברצונך למנוע את ריצת הסקריפט במקרה שקובץ לא נמצא, יש להשתמש ב - require(). פקודת include() אינה מתנהגת באופן כזה.כמו כן, מומלץ לקבוע את ערכו של include_path.


The HTML block would be displayed only if $a is equal to 5. 	 בדוגמה טקסט ה-HTML מקוננן במשפט if הכתוב בתחביר האלטרנטיבי. הטקסט יוצג רק אם ערכו של $a שווה 5.


The next step is to configure MVC + + to prepare for compiling. 	 On Windows NT, go to My Computer = Control Panel = System and select the environment tab.


On each loop, the value of the current element is assigned to $value and the internal array pointer is advanced by one (so on the next loop, you'll be looking at the next element). 	 בצורה הראשונה הלולאה רצה לאורכו של המערך array_expression. בכל איטרציה ערכו של תא מהמערך מוצב במשתנה $value וערכו של מצביע פנימי למערך מקודם לאבר הבא (כך שבלולאה הבאה תקבל את ערכו של האבר הבא).


How to change configuration settings 	 Security


Example 1. mysql_client_encoding() example 	 דוגמה 1. mysql_character_set_name() example


How do I create arrays in a HTML form? 	 3. איך ניתן ליצור מערכים בטפסי HTML?


Some of these variables will not be available when PHP is run on the command line. 	 משתנים אלו מוגדרים על-ידי שרת Apache. בעת הפעלת שרת מסוג זה יתכן שחלק ממשתנים אלו לא מוגדרים ויתכן שיוגדרו משתנים אחרים שאינם רשומים פה. רוב המשתנים מפורטים ב מפרט CGI 1.1 וסביר שיהיו זמינים לשימוש.


pspell_new 	 pspell_save_wordlist


PHP / FI 2.0 was officially released only in November 1997, after spending most of its life in beta releases. 	 PHP / FI 2.0 שוחררה רשמית בנובמבר 1997, אחרי שבילתה את רוב חייה בגרסאות בטא. זמן קצר לאחר מכן, היא הוחלפה בגרסאות האלפא הראשונות של PHP 3.0.


See also fdf_enum_fields() and fdf_get_value(). 	 See also fdf_set_value(), fdf_get_value().


See also explode(), split() wordwrap() and RFC 2045. 	 See also explode(), split() and wordwrap().


See also fpassthru(), file(), fopen(), include(), require(), virtual() and Appendix I. 	 See also fpassthru(), file(), fopen(), include(), require(), and virtual().


Example 1. ingres_fetch_row() example 	 דוגמה 1. ingres_fetch_row() example


Convenient way how glob() can replace opendir() and friends. 	 This could result in the following output:


This SAPI prereqs the java extension must be built as a shared dl. 	 DIR is the libxml install directory, defaults to / usr.


Example 3. outputs the content of data property into HTML table 	 דוגמה 3. outputs the content of data property into HTML table


This code may be passed to socket_strerror() to get a textual representation of the error. 	 This code may be passed to socket_strerror() to get a textual explanation of the error.


pdf_fill_stroke 	 pdf_fill


DIR is the PDFlib base install directory, defaults to / usr / local. 	 Please note that most of the PDF functions require a pdf object as it 's first parameter.


iptcembed 	 ignore_user_abort


pdf_show 	 pdf_skew


See also the section about persistent connections. 	 See also persistent links


It 's preferred to not rely on this directive. 	 The temporary filename of the file in which the uploaded file was stored on the server. שם הקובץ הזמני שבו נשמר הקובץ על השרת.


parse_url 	 hebrev


?php / * connect to database * / mysql_pconnect( "localhost", "mysql_user", "mysql_password") or die("Could not connect: ". mysql_error()); / * this should return the correct numbers of deleted records * / mysql_query("DELETE FROM mytable WHERE id 10"); printf ("Records deleted: %d\n", mysql_affected_rows()); / * without a where clause in a delete statement, it should return 0 * / mysql_query("DELETE FROM mytable"); printf ("Records deleted: %d\n", mysql_affected_rows());? 	 ?php / * connect to database * / mysql_pconnect( "localhost", "mysql_user", "mysql_password") or die ("Could not connect"); / * this should return the correct numbers of deleted records * / mysql_query("DELETE FROM mytable WHERE id 10"); printf ("Records deleted: %d\n", mysql_affected_rows()); / * without a where clause in a delete statement, it should return 0 * / mysql_query("DELETE FROM mytable"); printf ("Records deleted: %d\n", mysql_affected_rows());?


vpopmail_del_domain 	 vpopmail_del_user


Include iODBC support. 	 DIR is the Ovrimos 'libsqlcli install directory.


To get your form result sent as an array to your PHP script you name the input, select or textarea elements like this: 	 כדי להעביר מערך כתוצאה של טופס - form - כלשהו לסקריפט (קוד) ה-PHP שלך, עליך לקרוא לתגי input, select ו - textarea באופן הבא:


iconv 	 iconv_set_encoding


ini_get_all 	 ini_alter


dns_check_record 	 fsockopen


This API differs from the official DOM API in two ways. 	 This API differs from the official DOM API in two points.


IRC servers and other software will not automatically generate replies to NOTICEs in contrast to other message types. 	 Query your IRC documentation of choice for the exact difference between a MSG and a NOTICE.


The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. 	 The first one is the link identifier for a database connection, the second a resource which helds the result of a query.


I got the latest version of the PHP source code from the CVS repository on my Windows machine, what do I need to compile it? 	 5. קבלתי את גירסת המקור האחרונה של PHP מהמאגר (repository) של CVS על מערכת החלונות שלי, מה עלי לקמפל בה?


For the CGI and CLI version, it happens on every invocation. 	 Default wrappers are provided for the access of remote files using the ftp or http protocol, some extensions like zlib may register additional wrappers.


A pseudo-object oriented mechanism for reading a directory. 	 dir( string directory);


exif.decode_jis_motorola defines the image internal characterset for JIS encoded user comments if image is in motorola byte order (big-endian). 	 This extension does not define any resource types.


All forms of integer types are returned as integer values. 	 All forms of integer, boolean and void types are returned as integer values.


Compile with memory limit support. 	 Include PSPELL support.


As the name suggests, that value cannot change during the execution of the script (except the magic constants As the name suggests, that value cannot change during the execution of the script (except the magic constants which aren't actually constants). 	 קבוע הוא מזהה (שם) לערך פשוט. לאחר שהשם נקבע, לא ניתן לשנותו בזמן ריצת הסקריפט. (קבועי הקסם __FILE__ ן __LINE__ הם יוצאי דופן).


In other words, such "top level" settings apply to the whole pattern (unless there are other changes inside subpatterns). 	 In other words, such "top level" set - tings apply to the whole pattern (unless there are otherIn other words, such "top level "set - tings apply to the whole pattern (unless there are other changes inside subpatterns).


See also domdocument_create_element_ns(), domnode_append_child(), domdocument_create_text(), domdocument_create_comment(), domdocument_create_attribute(), domdocument_create_processing_instruction(), domdocument_create_entity_reference(), and domnode_insert_before(). 	 See also DomNode_append_child(), DomDocument_create_text(), DomDocument_create_comment(), DomDocument_create_attribute(), DomDocument_create_processing_instruction(), DomDocument_create_entity_reference(), DomNode_insert_before().


yaz_get_option 	 yaz_hits


You don 't need to include anything special in the subject or body of the message. 	 רשימת התפוצה הכללית ביותר היא php-general. כדי להירשם, ניתן לשלוח אי-מייל ל php-general-subscribe@lists.php.net. אין צורך לכתוב כותרת או טקסט כלשהו להודעה. כדי למחוק את הרישום, ניתן לשלוח אי-מייל ל php-general-unsubscribe@lists.php.net.


filepro 	 Filesystem functions


In the dialog, select the directories tab. 	 Make a temporary directory for Cygwin to use, otherwise many commands (particularly bison) will fail.


March 04 1998 20:43:59 .' echo "Last modified: ". date ("F d Y H:i:s .", getlastmod());? 	 / / outputs e.g. 'Last modified:


In cases where it is known that the subject string contains no newlines, it is worth setting PCRE_DOTALL when the pattern begins with .* in order to obtain this optimization, or alternatively using ^ to indicate anchoring explicitly. 	 In cases where it is known that the subject string contains no newlines, it is worth setting PCRE_DOTALL when the pat - tern begins with .* in order to obtain this optimization, or alternatively using ^ to indicate anchoring explicitly.


At this point, you should have a usable php.exe in either your c:\work\php-4.x.x.\Debug_TS or Release_TS subdirectories. 	 At this point, you should have a usable resolv.lib in either your Debug or Release subdirectories.


Example 1. explode() examples 	 דוגמה 1. explode() examples


The behaviour of these functions is affected by settings in php.ini. 	 These functions are available as part of the standard module, which is always available.


This function was added in PHP 4.0.6 and requires GD 2.0.2 or later which can be obtained at http: / /www.boutell.com / gd / 	 This function was added in PHP 4.0.6 and requires GD 2.0.2 or later


Include ircg support. 	 DIR is the c-client install prefix.