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


extract() checks each key to see whether it has a valid variable name. 	 extract() checks each key to see whether it constitutes a valid variable name and also for collisions with existing variables in the symbol table.


?php $fruits = array ("d"= "lemon", "a"= "orange", "b"= "banana", "c"= "apple"); function test_alter ($item1, $key, $prefix) {$item1 = "$prefix: $item1";} function test_print ($item2, $key) {echo "$key. $item2 br \n";} echo "Before ...:\n"; array_walk ($fruits, 'test_print'); array_walk ($fruits, 'test_alter', 'fruit'); echo "... and after:\n"; array_walk ($fruits, 'test_print');? 	 $fruits = array ("d"= "lemon", "a"= "orange", "b"= "banana", "c"= "apple"); function test_alter ($item1, $key, $prefix) {$item1 = "$prefix: $item1";} function test_print ($item2, $key) {echo "$key. $item2 br \n";} echo "Before ...:\n"; array_walk ($fruits, 'test_print'); reset ($fruits); array_walk ($fruits, 'test_alter', 'fruit'); echo "... and after:\n"; reset ($fruits); array_walk ($fruits, 'test_print');


Example 1. moldb.xml - small database of molecular information 	 דוגמה 1. moldb.xml - small database of molecular information


If your condition is more complicated than a simple compare and / or is in a tight loop, a switch may be faster. 	 בפקודת switch הביטוי מוערך פעם אחת בלבד והתוצאה נבדקת מול ערכי פקודות case. בפקודת elseif הביטוי מוערך פעם נוספת. אם יש לבצע תנאי מורכב יותר מבדיקה פשוטה של and או or לביטוי, מומלץ להשתמש ב - switch שיבצע את המלאכה במהירות גבוהה יותר מאשר מהירותם של רצף פקודות if ו-elseif.


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


See also array_diff_assoc(), array_intersect() and array_intersect_assoc(). 	 See also array_intersect().


class A {function example() {echo "I am the original function A::example(). br \n";}} class B extends A {function example() {echo "I am the redefined function B::example(). br \n"; A::example();}} / / there is no object of class A. / / this will print / / I am the original function A::example(). br A::example(); / / create an object of class B. $b = new B; / / this will print / / I am the redefined function B::example(). br / / I am the original function A::example(). br $b - example(); 	 class A {function example() {echo "I am the original function A::example(). br \n";}} class B extends A {function example() {echo "I am the redefined function B::example(). br \n"; A::example();}} / / אין אובייקט למחלקה A. / / מה שהולך להיות מודפס לסמסך זה: / / I am the original function A::example(). br A::example(); / / יצירת אובייקט (שהוא "מופע") למחלקה B. $b = new B; / / מה שיודפס כתוצאה מכך זה: / / I am the redefined function B::example(). br / / I am the original function A::example(). br $b - example();


mbstring.detect_order 	 ;; Disable HTTP Input conversion mbstring.http_input = pass


1 = IMAGETYPE_GIF, 2 = IMAGETYPE_JPEG, 3 = IMAGETYPE_PNG, 4 = IMAGETYPE_SWF, 5 = IMAGETYPE_PSD, 6 = IMAGETYPE_BMP, 7 = IMAGETYPE_TIFF_II (intel byte order), 8 = IMAGETYPE_TIFF_MM (motorola byte order), 9 = IMAGETYPE_JPC, 10 = IMAGETYPE_JP2, 11 = IMAGETYPE_JPX, 12 = IMAGETYPE_SWC. 	 1 = IMAGETYPE_GIF, 2 = IMAGETYPE_JPG, 3 = IMAGETYPE_PNG, 4 = IMAGETYPE_SWF, 5 = IMAGETYPE_PSD, 6 = IMAGETYPE_BMP, 7 = IMAGETYPE_TIFF_II (intel byte order), 8 = IMAGETYPE_TIFF_MM (motorola byte order), 9 = IMAGETYPE_JPC, 10 = IMAGETYPE_JP2, 11 = IMAGETYPE_JPX.


These constants are defined in PHP by default. 	 These constants are defined by the standard extension, and will only be available when that extension has either been compiled into PHP or dynamically loaded at runtime.


mb_ereg 	 mb_ereg_search_getpos


Also, the closing tag automatically implies a semicolon; you do not need to have a semicolon terminating the last line of a PHP block. 	 PHP מתירה שימוש במבנה כמו זה:


?php $db = pg_connect ('dbname=foo'); / / This is safe, since $_POST is converted automatically $rec = pg_select($db, 'post_log', $_POST); if ($rec) {echo "Records selected\n"; var_dump($rec);} else {echo "User must have sent wrong inputs\n";}? 	 ?php $db = pg_connect ('dbname=foo'); / / This is safe, since $_POST is converted autotmatically $rec = pg_select($db, 'post_log', $_POST); if ($rec) {echo "Records selected\n"; var_dump($rec);} else {echo "User must have sent wrong inputs\n";}?


odbc_close_all 	 odbc_close


Pass the PHP code to execute directly on the command line. 	 Read the example carefully, thera are no beginning or ending tags!


odbc_data_source 	 odbc_cursor


md5 	 metaphone


This is important to know since in such cases locking is simply ignored on the resource and other solutions have to be found. 	 dba_open() returns a positive handle or FALSE, in the case the open is successful or fails, respectively.


Marking part of a pattern as a subpattern does two things: 	 Marking part of a pattern as a subpat - tern does two things:


In order to specify a random string, you must include it in double quotes, and htmlspecialchars() the whole value. 	 תרגום HTML. בכדי לציין מחרוזת כלשהי, חובה עליך לכתוב אותה בין מרכאות כפולות, ולהעביר את הערך בפונקציה htmlspecialchars.


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


If a module SAPI is chosen during configure, such as apxs, or the --disable-cgi option is used, the CLI is copied to {PREFIX} / bin / php during make install otherwise the CGI is placed there. 	 Though the CGI SAPI provies a way to suppress HTTP headers, there 's not equivalent switch to enable them in the CLI SAPI.


The start specifies position of first record to be retrieved and number is the number records. 	 This function is used in conjunction with yaz_search() to specify the maximum number of records to retrieve (number) and the first record position (start).


log 	 log1p


If start is non-negative, the returned string will start at the start 'th position in string, counting from zero. 	 If start is positive, the returned string will start at the start 'th position in string, counting from zero.


hw_api_attribute - key 	 hw_api_attribute


?php / / Open fdf from input string provided by the extension / / The pdf form contained several input text fields with the names / / volume, date, comment, publisher, preparer, and two checkboxes / / show_publisher and show_preparer. $fdf = fdf_open_string( $HTTP_FDF_DATA); $volume = fdf_get_value($fdf, "volume"); echo "The volume field has the value 'B $volume / B' BR "; $date = fdf_get_value($fdf, "date"); echo "The date field has the value 'B $date / B' BR"; $comment = fdf_get_value($fdf, "comment"); echo "The comment field has the value 'B $comment / B' BR "; if(fdf_get_value($fdf, "show_publisher") == "On") {$publisher = fdf_get_value($fdf, "publisher"); echo "The publisher field has the value 'B $publisher / B' BR";} else echo "Publisher shall not be shown. 	 ?php / / Save the FDF data into a temp file $fdffp = fopen( "test.fdf", "w"); fwrite($fdffp, $HTTP_FDF_DATA, strlen($HTTP_FDF_DATA)); fclose($fdffp); / / Open temp file and evaluate data / / The pdf form contained several input text fields with the names / / volume, date, comment, publisher, preparer, and two checkboxes / / show_publisher and show_preparer. $fdf = fdf_open("test.fdf"); $volume = fdf_get_value($fdf, "volume"); echo "The volume field has the value 'B $volume / B' BR "; $date = fdf_get_value($fdf, "date"); echo "The date field has the value 'B $date / B' BR"; $comment = fdf_get_value($fdf, "comment"); echo "The comment field has the value 'B $comment / B' BR "; if(fdf_get_value($fdf, "show_publisher") == "On") {$publisher = fdf_get_value($fdf, "publisher"); echo "The publisher field has the value 'B $publisher / B' BR";} else echo "Publisher shall not be shown.


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


Traversing $_POST with each() 	 Traversing $HTTP_POST_VARS with each()


The result set is ordered by TABLE_QUALIFIER, TABLE_SCHEM and TABLE_NAME. 	 The result set is ordered by TABLE_QUALIFIER, TABLE_OWNER and TABLE_NAME.


See also md5() and crc32() 	 See also: md5() and crc32()


mail() automatically mails the message specified in message to the receiver specified in to. 	 דואר() שולחת באופן אוטומטי את ההודעה המתוארת ב - message לנמען המתואר ב - to. שליחה להרבה נמענים יכולה להתבצע על ידי כתיבת פסיק בין כל כתובת בפרמטר to. דואל עם קובצים מצורפים (attachments) ועם סוגים מיוחדים של תוכן יכולים להשלח עם הפונקציה הזאת. תהליך זה מושלם דרך ה - MIME-encoding - תקן המאפשר להעביר בדואל כל סוג קובץ. לעוד מידע, עיין ב מאמר מ-Zend או ב - PEAR Mime Classes.


Here we use the in-memory creation feature of PDFlib to alleviate the need to use temporary files. 	 Here we use the in memory creation feature of PDFlib to alleviate the need to use temporary files.


For example, Qmail users can normally set it to / var / qmail / bin / sendmail or / var / qmail / bin / qmail-inject. 	 מערכות שלא משתמשות בפונקציית ה-sendmail יכולות לקבוע הנחייה זאת למערכת הדואר החלופית שהמערכת שלהם מציעה, אם ישנה. לדוגמה, משתמשי Qmail יכולים בדרך כלל לקבוע פרמטר זה ל - / var / qmail / bin / sendmail.


array_change_key_case 	 array


This is used to reduce the number of objects which was delivered by a function like hw_api - children() or hw_api - find(). 	 The integration with Apache and possible other servers is already described in the Hyperwave Modul which has been the first extension to connect a Hyperwave Server.


Error code: $error[ 0] Description: $error[1]");} 	 Errorcode: $error[ 0] Description: $error[1]");}


Use of zlib.output_compression is recommended rather than ob_gzhandler() 	 Use of zlib.output_compression is recommended rather than ob_gzhandler


?php $$a = "world";? 	 $$a = "world";


The following constants are available since PHP 4.3.0: 	 These constants are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.


reserved for local use, these are not available in Windows 	 reserved for local use


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


fmod 	 floor


preg_match_all 	 preg_match


dio_open() opens a file and returns a new file descriptor for it, or FALSE if any error occurred. 	 dio_open() opens a file and returns a new file descriptor for it, or -1 if any error occurred.


Returns the IP address of the Internet host specified by hostname or a string containing the unmodified hostname on failure. 	 Returns the IP address of the Internet host specified by hostname.


The child can be created with e.g. domdocument_create_element(), domdocument_create_text() etc. or simply by using any other node. 	 DomDocument_create_element(), DomDocument_create_text() etc. or simply by using any other node.


Set this option to a non-zero value and PHP will be completely silent with regards to the CURL functions. 	 CURLOPT_MUTE: קבע את הערך לערך השונה מאפס כדי ש PHP תהיה שקטה לגמרי לגבי פונקציות CURL.


/ / Before PHP 4.2.0 var2: xyz var3: 	 var2: xyz var3:


See also time() 	 U - seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)


cpdf_set_font_directories 	 cpdf_set_font


Note the output / / above, which is before the header() call header('Location: http: / /www.example.com / ');? 	 ?php header ("Content-type: audio / x-pn-realaudio");? / / Broken, note the blank line above


(4.0.2 - 4.2.3 only) 	 (PHP 4 = 4.0.2)


From 4.3.0, result_type is default to PGSQL_ASSOC while older versions' default was PGSQL_BOTH. 	 Form 4.3.0, result_type is default to PGSQL_ASSOC while older versions 'default was PGSQL_BOTH.


(default) delay opening the connection until the first message is logged 	 muscat_setup_net


Migrating from PHP 2 to PHP 3 	 מעבר מ-PHP 2 ל-PHP 3


ob_get_status 	 ob_gzhandler


So the pattern (sens_BAR_respons)e and \1ibility matches "sense and sensibility "and "response and responsibility",So the pattern (sens_BAR_respons)e and \1ibility matches "sense and sensibility" and "response and responsibility", but not "sense and responsibility ". 	 So the pattern (sens_BAR_respons)e and \1ibility matches "sense and sensibility "and "response and responsi-So the pattern (sens_BAR_respons)e and \1ibility matches "sense and sensibility" and "response and responsi - bility", but not "sense and responsibility ".


This extension requires the mcal library to be installed. 	 MCAL_FEBRUARY


See also shuffle() and foreach. 	 See shuffle() for another example of its use.


There may be more than one back reference to the same subpattern. 	 There may be more than one back reference to the same sub-There may be more than one back reference to the same sub - pattern.


See also date(), getmyuid(), getmygid(), get_current_user(), getmyinode(), getmypid(), and filemtime(). 	 See also date(), getmyuid(), getmygid(), get_current_user(), getmyinode(), and getmypid().


Enhance the capabilities of GD to handle more image formats by specifying the --with-XXXX configure switch to your PHP configure line. 	 These functions do not require the GD library.


For example, {,6} is not a quantifier, but a literal string of four characters. 	 For example, {,6} is not a quantif - ier, but a literal string of four characters.


These expressions evaluate to either 0 or 1, meaning FALSE or TRUE (respectively). 	 סוג מפוף של ביטויים הוא ביטוי השוואה. ביטויים אלו מוערכים כ 0 או 1, כלומר כ FALSE או כ TRUE סוג מפוף של ביטויים הוא ביטוי השוואה. ביטויים אלו מוערכים כ 0 או 1, כלומר כ FALSE או כ TRUE (בהתאמה).


Functions restricted / disabled by safe mode 	 Using PHP from the command line


$addr = strtr( $addr, "äåö", "aao"); 	 $addr = strtr( $addr, "הוצ", "aao");


fdf_get_encoding 	 fdf_create


A value can be of any PHP type. 	 A key is either a nonnegative integer or a string.


This example demonstrates that when assigning a reference to a static variable, it' s not remembered when you call the get_instance_ref() function a second time. 	 function Test() {static $count = 0; $count++; echo $count; if ($count 10) {Test ();} $count--;}


pdf_set_info 	 pdf_set_leading


PHP 4 is the current generation of PHP, which uses the Zend engine under the hood. 	 PHP 3 היא יורש של PHP / FI 2.0 והיא לא ממש ידידותית.


0 (for Sunday) through 6 (for Saturday) 	 w - day of the week, numeric, i.e. "0" (Sunday) to "6 "(Saturday)


xml_parser_create_ns 	 xml_parse_into_struct


Example 4-1. php.ini example 	 Please note that you need to set AllowOveride All in your Directory block in the apache config file for this to work.


mcrypt_module_is_block_algorithm 	 mcrypt_module_is_block_algorithm_mode


The frame to display the document in may be selected using the optional parameter target_frame or the function fdf_set_target_frame(). 	 The / F key is just a reference to a PDF form which is to be populated with data.


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


Step by step, the process looks like this: 	 root@dev: / usr / local / src / php4 / ext. / ext_skel my_module Creating directory Creating basic files: config.m4 Makefile.in .cvsignore [done].


pdf_close_pdi_page 	 pdf_close_pdi


These contain the coordinates of the user click within the image. 	 setcookie( "MyCookie[]", "Testing", time()+3600);


Branches that match different length strings are permitted only at the top level ofBranches that match different length strings are permitted only at the top level of a lookbehind assertion. 	 Branches that match dif - ferent length strings are permitted only at the top level ofBranches that match dif - ferent length strings are permitted only at the top level of a lookbehind assertion.


fdf_open_string 	 fdf_next_field_name


array_merge 	 array_merge_recursive


?php decimal: [1-9][0-9]* _BAR_ 0 hexadecimal: 	 $a = 1234; # decimal number $a = -123; # a negative number $a = 0123; # octal number (equivalent to 83 decimal) $a = 0x1A; # hexadecimal number (equivalent to 26 decimal)


For example, this can be used to set the envelope sender address when using sendmail. 	 הפרמטרים הנוספים (additional_parameters) יכולים לשמש להעברת פרמטרים נוספים לתוכנה המוגדרת לשימוש כששולחים דואר בעזרת התוכנה המוגדרת בתיקיה sendmail_path. לדוגמה, אפשר להשתמש באפשרות זו בשביל לקבוע את מעטפת כתובת השולח כשמשתמשים בתוכנה Sendmail. אתה תהיה צריך להוסיף את המשתמש ששרת האינטרנט מפעיל בהגדרות התוכנה Sendmail בשביל למנוע את הוספת הכותרת 'X-Warning 'להודעה שלך, כשאתה קובע את מעטפת כתובת עם השיטה הזאת.


pdf_setlinecap 	 pdf_setgray_fill


When a file is included, parsing drops out of PHP mode and into HTML mode at the beginning of the target file, and resumes again at the end. 	 ?php function foo() {global $color; include 'vars.php'; echo "A $color $fruit";} / * vars.inc is in the scope of foo() so * * $fruit is NOT available outside of this * * scope. $color is because we declared it * * as global. * / foo(); / / A green apple echo "A $color $fruit"; / / A green?


PostgreSQL 	 Satellite


This function does not unset the corresponding global variable for name, it only prevents the variable from being saved as part of the session. 	 This function doesn 't unset the corresponding global variable for name, it only prevents the variable from being saved as part of the session.


You need to use your own wrapper function to utilize any of these constructs as variable functions. 	 Although, the construct print() is an exception and will work.


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


For example, ((?i)rah)\s+\1 matches "rah rah "and "RAH RAH", but not "RAH rah", even though the original capturing subpattern is matched caselessly. 	 For example, ((?i)rah)\s+\1 matches "rah rah "and "RAH RAH", but not "RAH rah", even though the original capturing subpattern is matched case - lessly.


The documentation below also applies to require(). 	 פקודת include() מספחת ומריצה או מעריכה קובץ מסויים.


See Table 32-3 for a description. 	 See טבלה 33-3 for a description.


number_format 	 ord


ftp_mdtm() checks the last modified time for a file, and returns it as a UNIX timestamp. 	 ftp_mdtm() checks the last-modified time for a file, and returns it as a UNIX timestamp.


Therefore '/' has to be replaced by another character, e.g. '_ '. 	 Therefore '/' has to be replaced by another character, e.g. '_ '. to be continued.


readline_write_history 	 GNU Readline


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


Table 4. mouse constants 	 טבלה 3. mouse constants


If certain variables in variables_order are not set, their appropriate PHP predefined arrays are also left empty. 	 שם הנתיב (pathname) האבסולוטי שבו מורץ הסקריפט הנוכחי.


Returns a string of up to length - 1 bytes read from the file pointed to by handle. 	 Returns a string of up to length - 1 bytes read from the file pointed to by fp.


Select the current HTTP connection for output in this execution context. 	 Select the current connection for output in this execution context.


i.e. they both produce: hello world. 	 echo "$a $hello";


Pass a long as a parameter that contains the transfer speed in bytes per second that the transfer should be below during CURLOPT_LOW_SPEED_TIME seconds for PHP to consider it too slow and abort. 	 CURLOPT_LOW_SPEED_LIMIT: העבר ערך מסוג long כפרמטר שמכיל את מהירות ההעברה בבתים לשניה שמהירות ההעברה צריכה להיות מתחת CURLOPT_LOW_SPEED_TIME שניות על מנת ש PHP תתיחס למהירות כנמוכה מדי ותבטל את ההעברה.


See also: dbx_escape_string() and dbx_connect(). 	 See also: dbx_connect().


For the reason, look at it: 	 $varname.ext; / * invalid variable name * /


See the setcookie() manual page for more details and examples. 	 PHP מגדירה באופן אוטומטי משתני סביבה כמשתני PHP רגילים.


Assuming you named the above program script.php, and you have your CLI php.exe in c:\php\cli\php.exe this batch file will run it for you with your added options: script.bat echothis or script.bat -h. 	 Assuming, you named the above program as script.php, and you have your php.exe in c:\php\php.exe this batch file will run it for you with your added options: script.bat echothis or script.bat -h.


Profile a section of PHP code 	 דוגמה 11-1. ניתוח של קוד PHP


Searches subject for all matches to the regular expression given in pattern and puts them in matches in the order specified by flags. 	 Searches subject for all matches to the regular expression given in pattern and puts them in matches in the order specified by order.


gd_info 	 exif_thumbnail


Its purpose is simply to execute the predefined CURL session (given by the ch). 	 יש לקרוא לפונקציה זו לאחר שאותחל CURL session וכל האפשרויות שלה נקבעו. מטרתה היא לבצע את ה CURL session שנקבע מראש (ומצוין על ידי ch).


The way invalid / numeric keys and collisions are treated is determined by the extract_type. 	 The way invalid / numeric keys and collisions are treated is determined by extract_type.


If you use this option without specifying the path to mnoGosearch, PHP will look for mnoGosearch under / usr / local / mnogosearch path by default. 	 C CGI, PHP and Perl search front ends are included.


When submitting a form, it is possible to use an image instead of the standard submit button with a tag like: 	 בזמן שליחת טופס, יתכן מצב של שימוש בתמונה (image) במקום בכפתור השליחה (submit) הסטנדרטי עם שימות בתג כמו:


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


'cookiename' is called as $_COOKIE['cookiename'] 	 The expire and secure arguments are integers and cannot be skipped with an empty string.


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


It is assumed that variable $id is the connection ID. 	 It is assumed that variable $id is a target ID.


Table 1. error_log() log types 	 טבלה 1. error_log() log types


See also $_REQUEST, register_globals, Predefined Variables, and extract(). 	 See also register_globals, Predefined Variables and extract().


?php if ($handle = opendir(' .')) {while (false !== ($file = readdir($handle))) {if ($file != "." $file != ". .") {echo "$file\n";}} closedir($handle);}? 	 ?php $handle = opendir( '.'); while (false !== ($file = readdir($handle))) {if ($file != "." $file != ". .") {echo "$file\n";}} closedir($handle);?


Firstly, if it is followed by a non-alphanumeric character, it takes away any special meaning that character may have. 	 Firstly, if it is followed by a non-alphameric character, it takes away any special meaning that character may have.


pdf_set_info 	 pdf_set_info_title


Variable functions won' t work with language constructs such as echo(), print(), unset(), isset(), empty(), include(), require() Variable functions won't work with language constructs such as echo(), print(), unset(), isset(), empty(), include(), require() and the like. 	 Variable functions won' t work with language constructs such as echo(), unset(), isset(), empty() and include().


Assume the C compiler uses GNU ld [default=no]. 	 DIR is the mnoGoSearch base install directory, defaults to / usr / local / mnogosearch.


Home 	 Miscellaneous Questions


In addition to its own sources, each module consists of a config.m4 file, for extension configuration. (for example, see http: / /www.gnu.org / manual / m4 / html_mono / m4.html) 	 In addition to its own sources, each module consists of an M4 file (for example, see http: / /www.gnu.org / manual / m4 / html_mono / m4.html) for configuration and a Makefile.in file, which is responsible for compilation (the results of autoconf and automake; for example, see http: / /sourceware.cygnus.com / autoconf / autoconf.html and http: / /sourceware.cygnus.com / automake / automake.html).


require() and include() are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fatal Error. 	 פקודת require() מספחת ומריצה או מעריכה קובץ מסויים. הסבר מפורט לגבי אופן פעולת הסיפוח ניתן למצוא בתיעוד הפונקציה include().


The value of docref_ext must begin with a dot '.'. 	 PHP 4 only.


The meaning of the various quantifiers is not otherwise changed, just the preferredThe meaning of the various quantifiers is not otherwise changed, just the preferred number of matches. 	 The meaning of the various quantifiers is not otherwise changed, just the pre-The meaning of the various quantifiers is not otherwise changed, just the pre - ferred number of matches.


Second, a more active attacker might listen to your network traffic. 	 As of PHP 4.1.0, $_SESSION is available as global variable just like $_POST, $_GET, $_REQUEST and so on.


fdf_save_string 	 fdf_save


If the node passed has children itself, they will be duplicated as well, which makes it quite easy to duplicate large parts of a xml document. 	 Before a new child is appended it is first duplicated.


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


file_get_contents 	 fgetss


Set this option to a non-zero value if you want PHP to prepare for an upload. 	 CURLOPT_UPLOAD: קבע את הערך לערך השונה מאפס אם ברצונך ש PHP תתכונן להעלאת קבצים.


Also, Ming is still being maintained; if there's a feature that you want to see, just let us know ming@opaque.net. 	 SWFDisplayItem - scale - - Scales the object in relative coordinates.


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


xml_parse_into_struct 	 xml_get_error_code


fgetss 	 file


These headers determine the rules by which the page content may be cached by the client and intermediate proxies. 	 These headers determine the rules by which the page content may be cached.


"knuth donald" 	 Query


This extension has no resource types defined. 	 This extension does not define any configuration directives.


See also print(), printf(), and flush(). 	 See also: print(), printf(), and flush().


?php print substr_count( "This is a test", "is"); / / prints out 2? 	 דוגמה 1. substr_count() example


This may not be as useless as you might think, since often you 'd want to end the loop using a conditional break statement instead of using the for truth expression. 	 כל אחד מהביטויים יכול להיות גם ביטוי ריק (חסר). כאשר expr2 ריק, הלולאה תרוץ לעד (PHP מחשיבה אותו כביטוי ריק כמו בשפת C). עובדה זו אינה חסרת תועלת לחלוטין היות וניתן לעצור לולאה אינסופית כזו בעזרת פקודת break מותנית במקום ההמתנה לביטוי שערכו FALSE.


For versions up to and including 4.0.3 you can only disable this feature at compile time by using the configuration switch --disable-url-fopen-wrapper. 	 This extension does not define any configuration directives.


flock() operates on handle which must be an open file pointer. operation is one of the following values: 	 flock() operates on fp which must be an open file pointer. operation is one of the following values:


The sorting flags specified after an array argument apply only to that array - they are reset to default SORT_ASC and SORT_REGULAR before each new array argument. 	 The sorting flags specified after an array argument apply only to that array - they are reset to default SORT_ASC and SORT_REGULAR after before each new array argument.


The syntactic meaning is slightly different (if you're familiar with C, this is the same behavior) but the bottom line is that both would result in exactly the same behavior. 	 פקודת ה - elseif יכולה להופיע מספר פעמים במשפט באותו משפט if. ה - elseif הראשון שערכו יתאים ל - TRUE (אם קיים כזה), ירוץ. בתחביר של PHP אתה יכול לכתוב גם 'else if '(בשתי מילים) או 'elseif' (במילה אחת) והמשמעות תהיה זהה. אמנם המשמעות הסינטקטית שונה במקצת אך ההתנהגות של שתי הצורות זהה לגמרי.


vpopmail_del_domain 	 vpopmail_del_domain_ex


Find matching HTML tags (greedy) 	 / / The \\2 is an example of backreferencing.


get_class 	 get_declared_classes


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. 	 פונקציות אילו התווספו בגירסה PHP 4.0.2.


In PHP 4.1.0 and later, the $_COOKIE auto-global array will always be set with any cookies sent from the client. $HTTP_COOKIE_VARS is also set in earlier versions of PHP when the track_vars configuration variable is set. 	 ב-PHP בגירסת 4.1.0 והבאות אחריה, המערך הגלובלי-אוטומטי $_COOKIE תמיד יקבל כל עוגייה שנשלחת מהקליינט. $HTTP_COOKIE_VARS מקובל בגירסאות קודמות של PHP, כשהקונפיגורציה של $HTTP_COOKIE_VARS מופעלת.


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


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


:~ / cvs / php4 / ext:. / ext_skel --extname=my_module Creating directory my_module Creating basic files: config.m4 .cvsignore my_module.c php_my_module.h CREDITS EXPERIMENTAL tests / 001.phpt my_module.php [done]. 	 Finally, running configure parses all configuration options and generates a makefile based on those options and the options you specify in Makefile.in.


Example 2. find the word "web" 	 דוגמה 2. find the word "web"


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


If function needs to be working with the actual values of the array, specify the first parameter of function as a reference. 	 If func requires more than two or three arguments, depending on userdata, a warning will be generated each time array_walk() calls func.


Sequentially change the dropdown to Executables, Includes, and Library files. 	 On Windows 95 / 98, mkdir C:\TMP.


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. 	 To get these functions to work, you have to configure PHP with --with-yp (PHP 3) or --enable-yp (PHP 4).


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


DomDocument - create_element_ns 	 DomDocument - create_comment


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


break accepts an optional numeric argument which tells it how many nested enclosing structures are to be broken out of. 	 פקודת break יכולה לקבל גם נתון מספרי שמציין את מספר מבני הבקרה המקוננים שברצוננו "לשבור".


?php / * Set locale to Dutch * / setlocale (LC_ALL, 'nl_NL'); / * Output: vrijdag 22 december 1978 * / echo strftime ("%A %e %B %Y", mktime (0, 0, 0, 12, 22, 1978)); / * try different possible locale names for german as of PHP 4.3.0 * / $loc_de = setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge'); echo "Preferred locale for german on this system is '$loc_de'";? 	 ?php / * Set locale to Dutch * / setlocale (LC_ALL, 'nl_NL'); / * Output: vrijdag 22 december 1978 * / echo strftime ("%A %e %B %Y", mktime (0, 0, 0, 12, 22, 1978));?


By the winter of 1998, shortly after PHP 3.0 was officially released, Andi Gutmans and Zeev Suraski had begun working on a rewrite of PHP 's core. 	 PHP 3.0 אפשרה לבנות יישומים מורכבים על ידי מתן כלים לטיפול במסדי נתונים וממשקי תכנות, אבל PHP 3.0 לא טיפלה ביישומים המורכבים ביעילות מרובה.


You can also disable individual functions. 	 Warning: this is broken with the aol-server implementation of getallheaders()!


Example 2. adding a completely new attribute 	 דוגמה 2. adding a completely new attribute


Note that this changes the return value in an array where every element is an array consisting of the matched string at offset 0 and it 's string offset into subject at offset 1. 	 Note that this changes the return value in an array where very element is an array consisting of the matched string at offset 0 and it 's string offset into subject at offset 1.


xml_parse_into_struct 	 xml_parse


Convert "han-kaku" alphabets and numbers to "zen-kaku "(Characters included in "a", "A" options are U+0021 - U+007E excluding U+0022, U+0027, U+005C, U+007E) "s ": 	 Convert "zen-kaku" alphabets and numbers to "han-kaku "(Characters included in "a", "A" options are U+0021 - U+007E excluding U+0022, U+0027, U+005C, U+007E) "s ":


Example 2. ingres_connect() example using default link 	 דוגמה 2. ingres_connect() example using default link


xpath_eval_expression 	 domxml_xmltree


Using this function you can at least prevent getting HTTP header related error messages. 	 This function returns TRUE if the HTTP headers have already been sent, FALSE otherwise.


(PHP 3 = 3.0.7, PHP 4 = 4.2.3) 	 (PHP 3 = 3.0.7, PHP 4)


If you put extract( $row); inside the following loop, you'll / / then create $userid, $fullname, and $userstatus while ($row = mysql_fetch_assoc($result)) {echo $row["userid"]; echo $row["fullname"]; echo $row["userstatus"];} mysql_free_result($result);? 	 ?php mysql_connect( "localhost", "mysql_user", "mysql_password"); mysql_select_db("mydb"); $query = "select * from table"; $result = mysql_query($query); while ($row = mysql_fetch_assoc($result)) {echo $row["user_id"]; echo $row["fullname"];} mysql_free_result($result);?


mailparse_msg_extract_part_file 	 mailparse_msg_extract_part


An assertion such as (? =ab(c_BAR_de)) is not permitted, because its single top-level branch can match two different lengths, but it is acceptable if rewritten to use two top-level branches: (? =abc_BAR_abde) The implementation of lookbehind assertions is, for each alternative, to temporarily move the current position backAn assertion such as (? =ab(c_BAR_de)) is not permitted, because its single top-level branch can match two different lengths, but it is acceptable if rewritten to use two top-level branches: (? =abc_BAR_abde) The implementation of lookbehind assertions is, for each alternative, to temporarily move the current position back by the fixed width and then try to match. 	 An assertion such as (? =ab(c_BAR_de)) is not permitted, because its single top-level branch can match two different lengths, but it is acceptable if rewrit - ten to use two top-level branches: (? =abc_BAR_abde) The implementation of lookbehind assertions is, for each alternative, to temporarily move the current position backAn assertion such as (? =ab(c_BAR_de)) is not permitted, because its single top-level branch can match two different lengths, but it is acceptable if rewrit - ten to use two top-level branches: (? =abc_BAR_abde) The implementation of lookbehind assertions is, for each alternative, to temporarily move the current position back by the fixed width and then try to match.


Talking about interconnection, PHP has support for instantiation of Java objects and using them transparently as PHP objects. 	 PHP גם תומכת בגישה לשירותים שונים תוך שימוש בפרוטוקולים כמו LDAP, IMAP, SNMP, NNTP, POP3, HTTP, COM (בוינדוס) ועוד רבים אחרים. אפשר גם לפתוח שקעי רשת (network sockets) ולהתממשק עם כל פרוטוקול אחר. ל-PHP תמיכה ב-WDDX לשיתוף נתונים בין כל שפות התיכנות ל-PHP. web תומכת בישום עצמים של ג 'אווה ושימוש שקוף בהם כעצמים של PHP.ניתן גם להשתמש בהרחבת COBRA כדי לגשת לעצמים בגישה מרחוק.


[marcus@zaphod marcus]$ php -r'echo dblist(); 'This is GDBM version 1.8.0, as of May 19, 1999. 	 Description string dblist (void)


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


swfbutton_keypress 	 SWFBitmap - getHeight


When register_globals is turned on in php.ini, additional variables are available. 	 ה-mime type של הקובץ, אם הדפדפן סיפק את המידע הזה. דוגמה: "image / gif".


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


zval *new_array; MAKE_STD_ZVAL(new_array); array_init(new_array); 	 zval *new_array; MAKE_STD_ZVAL(new_array); if(array_init(new_array) != SUCCESS) {/ / do error handling here}


In PHP 3, array_walk() resets the pointer. 	 Passing the key and userdata to func was added in 4.0.


More information about what values evaluate to FALSE can be found in the 'Converting to boolean' section. 	 כמתואר בסעיף על ביטויים, expr מוערך לערכו הבולאני. אם expr מוערך כ - TRUE, PHP תבצע את statement, ואם הביטוי מוערך כ - TRUE, לא תתבצע אף פקודה. מידע נוסף בנושא - אילו ערכים מתאימים לערך ה FALSE ניתן למצוא בסעיף 'המרה לערך בולאני'.


Example 1. openssl_error_string() example 	 The parameters / return type of this function may change before it appears in a release version of PHP


Using the available PHP Reserved Predefined Variables, like the superglobal arrays, is preferred. 	 תכולת כותר ה - Accept-Charset: בפנייה הנוכחית, אם קיים כותר כזה. לדוגמה: 'iso-8859-1,*,utf-8'.


The following is valid for PHP 4 only. 	 הקטע הבא תקף ל PHP 4 בלבד.


atan2 	 asinh


When in conjunction with yaz_search(), a Z39.50 Sort will be sent after a search response has been received and before any records are retrieved with Z39.50 Present. 	 If used in conjunction with yaz_search() a Z39.50 Sort will be sent after a search response has been received and before any records are retrieved with Z39.50 Present.


You 'll need to install the sqlcli library available in the Ovrimos SQL Server distribution. 	 To enable ovrimos support in PHP just compile php with the '--with-ovrimos' parameter to configure script.


See also Appendix I, fclose(), fgets(), fsockopen(), file(), file_exists(), is_readable(), socket_set_timeout(), and popen(). 	 See also fclose(), fsockopen(), socket_set_timeout(), and popen().


iptcparse 	 jpeg2wbmp


As argument it takes the name of the module that you want to create. 	 The shell script then creates a directory of the same name, along with the appropriate config.m4 and Makefile.in files.


?php $handle = fopen ("/ home / rasmus / file.txt", "r"); $handle = fopen (" / home / rasmus / file.gif", "wb"); $handle = fopen ("http: / /www.example.com /", "r"); $handle = fopen ("ftp: / /user:password@example.com / somefile.txt", "w");? 	 $fp = fopen ("/ home / rasmus / file.txt", "r"); $fp = fopen (" / home / rasmus / file.gif", "wb"); $fp = fopen ("http: / /www.example.com /", "r"); $fp = fopen ("ftp: / /user:password@example.com / ", "w");


Enable explicitly linking against libgcc. 	 Enable bc style precision math functions.


Example 2. split() Example 	 דוגמה 2. split() Example


Returns TRUE on success or FALSE on failure. 	 The directory must be empty, and the relevant permissions must permit this. מחזיר TRUE במקרה של הצלחה או FALSE במקרה של כישלון.


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


safe_mode 	 Off


html_entity_decode 	 htmlentities


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


/ / lets assume you just called an openssl function that failed while( $msg = openssl_error_string()) echo $msg. "br / \n"; 	 דוגמה 1. openssl_error_string() example


In order for this to work, your browscap configuration setting in php.ini must point to the correct location of the browscap.ini file on your system. browscap.ini is not bundled with PHP but you may find an up-to-date browscap.ini file here. 	 ?php function list_array ($array) {while (list ($key, $value) = each ($array)) {$str .= "b $key: / b $value br \n";} return $str;} echo "$HTTP_USER_AGENT hr \n"; $browser = get_browser(); echo list_array ((array) $browser);?


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


The two possible forms of conditional subpattern are (?(condition)yes-pattern) (?(condition)yes-pattern_BAR_no-pattern) If the condition is satisfied, the yes-pattern is used; otherwiseThe two possible forms of conditional subpattern are (?(condition)yes-pattern) (?(condition)yes-pattern_BAR_no-pattern) If the condition is satisfied, the yes-pattern is used; otherwise the no-pattern (if present) is used. 	 The two possible forms of conditional subpattern are (?(condition)yes-pattern) (?(condition)yes-pattern_BAR_no-pattern) If the condition is satisfied, the yes-pattern is used; oth-The two possible forms of conditional subpattern are (?(condition)yes-pattern) (?(condition)yes-pattern_BAR_no-pattern) If the condition is satisfied, the yes-pattern is used; oth - erwise the no-pattern (if present) is used.


Also, while in Safe Mode you must consider the safe_mode_exec_dir directive. 	 Those functions are also closely related to the backtick operator.


pspell_new 	 pspell_new_personal


A value of public permits caching by proxies and the client, whereas private disallows caching by proxies and permits the client to cache the contents. 	 It can also be set to private, which is slightly more restrictive than public.


hw_api - checkin 	 hw_api_attribute - key


For backwards compatibility, you can still use array-braces for the same purpose. 	 $great = 'fantastic'; echo "This is {$great}"; / / won 't work, outputs:


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


It is very similar to the C+ + interface of the Hyperwave SDK. 	 Passing arguments to this function differs from all the other PHP Extension but is close to the C+ + API of the HW SDK.


If session_start() was not called before this function is called, an implicit call to session_start() with no parameters will be made. $_SESSION does not mimick this behavior and requires session_start() before use. 	 You can also create a session variable by simply setting the appropriate member of the $HTTP_SESSION_VARS or $_SESSION (PHP = 4.1.0) array.


mcrypt_encrypt 	 mcrypt_generic


Unpack the archive. 	 SWFMovie - output - - Dumps your lovingly prepared movie out.


Ming (flash) 	 Satellite


cpdf_set_font 	 cpdf_set_horiz_scaling


For more information, go to http: / /cvs.php.net /. 	 ניתן להוריד את PHP מכל חבר ברשת האתרים של PHP. אותם ניתן למצוא ב - http: / /www.php.net /. כמו כן, ניתן להשתמש בחשבון CVS אנונימי כדי לקבל את הגירסה האחרונה ביותר של קבצי המקור. מידע נוסף נמצא ב http: / /cvs.php.net /.


SWFbutton - setUp 	 SWFBitmap - getWidth


For GUI users, launch VC++, and then select File = Open Workspace and select c:\work\php-4.x.x\win32\php4ts.dsw. 	 For GUI users, launch VC++, and then select File = Open Workspace and select bindlib.


This function is an alias for stream_set_blocking(). 	 This function was previously called as set_socket_blocking() but this usage is deprecated.


If safe mode is enabled, the uid of the script is added to the realm part of the WWW-Authenticate header. 	 If safe mode is enabled the uid of the script is added to the realm part of the WWW-Authenticate header.


pdf_closepath_stroke 	 pdf_close_pdi_page


For instance, entering 'GET / index.html HTTP / 1.0\r\n\r\n' would be incorrect. 	 CURLOPT_CUSTOMREQUEST: העבר ערך מסוג מחרוזת לשימוש במקום GET או HEAD כאשר מבצעים פעולת HTTP request. אפשרות זו שימושית כאשר מבצעים DELETE או כל פעולה אחרת מסוג HTTP request. ערכים אפשריים הם ערכים כגון GET, POST, וכך הלאה; שים לב: אין להעביר שורת HTTP request מלאה כאן. לדוגמא, העברת 'GET / index.html HTTP / 1.0\r\n\r\n 'תהיה לא נכונה.


The server 's default directory can be changed by setting the environment variable TMPDIR in the environment in which PHP runs. 	 כברירת מחדל, הקבצים ישמרו בספרייה הזמנית שהיא ברירת המחדל של השרת, אלא אם הוגדר אחרת ב upload_tmp_dir שנמצאת ב php.ini. ניתן לשנות את ספריית ברירת המחדל של השרת על ידי הגדרת משתנה הסביבה TMPDIR בסביבה בה PHP רצה. הגדרה באמצעות putenv() מתוך סקריפט של PHP לא תעבוד. כמו כן, משתנה הסביבה הזה יכול להיות שימושי כשרוצים לוודא שפעולות אחרות מבוצעות על קבצים שהועלו.


You might have seen the following syntax in old scripts: 	 $foo[ bar] = 'enemy'; echo $foo[bar]; / / etc


A valid constant name starts with a letter or underscore, followed by any number of letters, numbers, or underscores. 	 הערה: לצורכינו, אות לועזית היא בתחום a-z, A-Z, וערך הASCII הוא בין 127 ל255 (0x7f-0xff).


imagecreate 	 imagecreatefromgd


How do I get all the results from a select multiple HTML tag? 	 4. איך ניתן לקבל את כל התוצאות מתיבת בחירה (select) רבת תוצאות בטופס HTML?


pdf_set_text_rise 	 pdf_set_text_matrix


This function is quite useless since every time it is called it sets $a to 0 and prints "0". 	 $a = 1; $b = 2; function Sum() {$GLOBALS["b"] = $GLOBALS["a"] + $GLOBALS["b"];} Sum(); echo $b;


SWFDisplayItem 	 SWFFill


In PHP 4.2.0 and later, the default value for the PHP directive register_globals is off. 	 שם ה-host שתחתיו רץ הסקריפט הנוכחי. אם הסקריפט רץ תחת host וירטואלי, משתנה זה יכיל את שם ה-host הוירטואלי.


php4 / sapi 	 sapi


March 10th, 2001, 5:16:18 pm $today = date( "F j, Y, g:i a"); / / March 10, 2001, 5:16 pm $today = date("m.d.y"); / / 03.10.01 $today = date("j, n, Y"); / / 10, 3, 2001 $today = date("Ymd"); / / 20010310 $today = date('h-i-s, j-m-y, it is w Day z '); / / 05-16-17, 10-03-01, 1631 1618 6 Fripm01 $today = date('\i\t \i\s \t\h\e jS \d\a\y .'); / / It is the 10th day. $today = date("D M j G:i:s T Y"); / / Sat Mar 10 15:16:08 MST 2001 $today = date('H:m:s \m \i\s\ \m\o\n\t\h'); / / 17:03:17 m is month $today = date("H:i:s"); / / 17:16:17? 	 /* Today is March 10th, 2001, 5:16:18 pm * / $today = date( "F j, Y, g:i a"); / / March 10, 2001, 5:16 pm $today = date("m.d.y"); / / 03.10.01 $today = date("j, n, Y"); / / 10, 3, 2001 $today = date("Ymd"); / / 20010310 $today = date('h-i-s, j-m-y, it is w Day z '); / / 05-16-17, 10-03-01, 1631 1618 6 Fripm01 $today = date('\i\t \i\s \t\h\e jS \d\a\y .'); / / It is the 10th day. $today = date("D M j G:i:s T Y"); / / Sat Mar 10 15:16:08 MST 2001 $today = date('H:m:s \m \i\s\ \m\o\n\t\h'); / / 17:03:17 m is month $today = date("H:i:s"); / / 17:16:17


PHP Keywords 	 טבלה G-1. מילות מפתח ב-PHP


The available error level constants are listed below. 	 טבלה 1. error_reporting() bit values


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


Build static libraries [default=yes]. 	 Include mhash support.


DIR is the libxslt install directory. 	 You will need at least libxml-2.2.7.


This assumes, of course, that you have PHP enabled for the .php extension and PHP is active. 	 זה אומר ל-Apache לשלוח את כל בקשות PUT ל-URI שתואם את המיקום בו שמתם את השורה שמציינת את מיקום הסקריפט put.php. זה בהנחה, כמובן, ש-PHP מאפשרת סיומות .php וש-PHP פעילה.


There are several ways to enable output character encoding conversion. 	 דוגמה 4. php.ini setting example


The time will be used as specified by the CURLOPT_TIMEVALUE option, or by default the TIMECOND_IFMODSINCE will be used. 	 CURLOPT_TIMEVALUE: העבר ערך מסוג long כפרמטר שהוא הזמן בשניות מאז January 1st, 1970. היחס לזמן זה יהיה כפי שהוגדר באפשרות CURLOPT_TIMEVALUE, או על פי ברירת המחדל TIMECOND_IFMODSINCE.


After installing the Hyperwave SDK, configure PHP with --with-hwapi[ =DIR]. 	 In order to activate the hwapi support in PHP you will have to install the Hyperwave SDK first and configure PHP with --with-hwapi= dir$gt;.


Also note that the directive unserialize_callback_func directive became available in PHP 4.2.0. 	 Everytime an undefined class should be instanciated, it 'll be called.


The following code fragment demonstrates this: 	 תכנתי C מתקדמים מכירים את השימושים השונים בלולאת do..while לצרכי עצירת הרצה באמצע בלוקים של קוד על-ידי שימוש בלולאת do..while ושימוש ב פקודת break. הקוד הבא מדגים זאת:


Japanese character encoding is supported by default. 	 Enable mbstring Enable mbstring functions.


It' s maintained by Chet Ramey, who's also the author of Bash. 	 To compile PHP with readline support, you need to configure PHP --with-readline To compile PHP with readline support, you need to configure PHP --with-readline after you 've installed libreadline.


This section contains notes and hints specific to Apache installs of PHP, both for Unix and Windows This section contains notes and hints specific to Apache installs of PHP, both for Unix and Windows versions. 	 This section contains notes and hints specific to Apache installs of PHP, both for Unix and Windows versions.


PDF 	 Satellite


mb_ereg_search_getpos 	 mb_ereg_search


Returns TRUE on success or FALSE on failure. 	 It returns TRUE on success, otherwise returns FALSE.


Set this option to a non-zero value and PHP will scan your ~. / netrc file to find your username and password for the remote site that you 're establishing a connection with. 	 CURLOPT_NETRC: קבע את הערך לערך השונה מאפס אם ברצונך ש PHP תסרוק את קובץ ~. / netrc כדי למצוא את שם המשתמש והסיסמה עבור האתר המרוחק אליו מתבצע ניסיון להתחברות.


iconv_get_encoding 	 iconv


What is PHP? 	 1. מה זה PHP?


It is possible to do minor customization to the build process by editing the main / config.win32.h.in file. 	 Copy this file into your win32build\lib directory over the file by the same name found in there.


If your script uses session_register(), it will not work in environments where register_globals is disabled. 	 If you want to register a session variable inside a function, you need to make sure to make it global using global() or use the session arrays as noted below.


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


Using an emptry string as key will create (or overwrite) a key with an empty string and its value, it is not the same as using empty brackets. 	 You can also modify an existing array, by explicitly setting values.


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


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


Most fdf functions require a fdf resource as their first parameter. 	 This extension does not define any configuration directives.


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


sha1_file 	 similar_text


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


The PHP CGI binaries are compatible with almost all webservers supporting the CGI standard. 	 PHP יכול להיבנות עבור מספר רב של שרתי אינטרנט. אנא הסתכל באפשרויות לשרתים שונים כדי לקבל רשימה של אפשרויות הקונפיגורציה לשרתים השונים. מפרש הCGI הבינארי של PHP מותאם כמעט לכל שרת שתומך בCGI.


pack 	 iptcparse


For related information, see the security chapter titled Using Register Globals. 	 אתה עלול למצוא או לא למצוא כל אחד מהאלמנטים הבאים ב-$_SERVER. שים לב שרק כמה, אם בכלל, מהמשתנים הללו יהיו זמינים (ותהיה להם משמעות כלשהי) אם PHP רץ משורת הפקודה.


Cookies names can be set as array names and will be available to your PHP scripts as arrays but seperate cookies are stored on the users system. 	 / / set the expiration date to one hour ago setcookie ("TestCookie", "", time() - 3600); setcookie ("TestCookie","", time() - 3600, "/ ~rasmus /", ".utoronto.ca", 1);


See also chdir(), dir, opendir(), is_file() and is_link(). 	 See also chdir(), is_file() and is_link().


Serializing objects - objects in sessions 	 "אובייקטים בהמשכים" - אובייקטים ב session


If in this case a proper closing identifier is not found then a parse error will result with the line number being at the end of the script. 	 However, most programming editors provide a way to save your files with a UNIX line terminator.


?php mysql_connect( "localhost", "mysql_user", "mysql_password") or die("Could not connect: ". mysql_error()); mysql_select_db("mydb"); mysql_query("INSERT INTO mytable (product) values ('kossu')"); printf ("Last inserted record has id %d\n", mysql_insert_id());? 	 ?php mysql_connect( "localhost", "mysql_user", "mysql_password") or die("could not connect"); mysql_select_db("mydb"); mysql_query("INSERT INTO mytable (product) values ('kossu')"); printf ("Last inserted record has id %d\n", mysql_insert_id());?


vpopmail_alias_get 	 vpopmail_auth_user


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


You can use the optional second parameter and set it to "1", if you want to search for the file in the include_path, too. 	 If filename begins with neither of these strings, the file will be opened from the filesystem and its contents written to standard output.


In order you want to use the libedit readline replacement, configure PHP --with-libedit[ =DIR]. 	 This extension does not define any configuration directives.


No external libraries are needed to build this extension. 	 The functions in this extension implement client access to file servers speaking the File Transfer Protocol FTP as defined in http: / /www.faqs.org / rfcs / rfc959.html.


Like other headers, cookies must be sent before any output from your script (this is a protocol restriction). 	 setcookie() defines a cookie to be sent along with the rest of the header information.


For example, you can now use $_SERVER[ "DOCUMENT_ROOT"] instead of $DOCUMENT_ROOT. 	 Environment variables are normal global variables, so you must either declare them as global variables in your function (by using "global $DOCUMENT_ROOT;", for example) or by using the global variable array (ie, "$GLOBALS["DOCUMENT_ROOT"]".


This feature requires a C runtime library that provides the fopencookie() This feature requires a C runtime library that provides the fopencookie() function. 	 This module uses the functions of zlib by Jean-loup Gailly and Mark Adler to transparently read and write gzip (.gz) compressed files.


1999 or 2003 	 z - day of the year; i.e. "0 "to "365"


It also provides a function domxml_xmltree() to turn the complete XML document into a tree of PHP objects. 	 Especially those non object oriented functions should be avoided.


See also count_chars(), strpos(), substr(), and strstr(). 	 print substr_count( "This is a test", "is"); / / prints out 2


Description 	 ערך FALSE (הסתכל בסוג boolean).


Prev 	 Description void mssql_min_message_severity (int severity)


Include IMSp support (DIR is IMSP's include dir and libimsp.a dir). 	 Include mm support for session storage.


Include unixODBC support. 	 Defaults to / home / sybase.


@attr [set] type=value query 	 @attr set type=value query


Two properties are available once the directory has been opened. 	 void close();


call_user_func 	 create_function


?php $db = pg_connect ('dbname=foo'); / / This is safe, since $_POST is converted automatically $res = pg_insert($db, 'post_log', $_POST); if ($res) {echo "POST data is succesfully logged\n";} else {echo "User must have sent wrong inputs\n";}? 	 ?php $db = pg_connect ('dbname=foo'); / / This is safe, since $_POST is converted autotmatically $res = pg_insert($db, 'post_log', $_POST); if ($res) {echo "POST data is succesfully logged\n";} else {echo "User must have sent wrong inputs\n";}?


PHP will understand the URL correctly, because you urlencoded() the data. 	 PHP מבינה את ה-URL בצורה הנכונה שלו, משום שלפני-כן נעשה לערך urlencoded().


In many occasions, you may want to compare the same variable (or expression) with many different values, and execute a different piece of code depending on which value it equals to. 	 פקודת switch מקבילה לסידרה של פקודות IF באותו ביטוי. במקרים בהם נרצה להשוות את ערכו של משתנה מסויים (או ביטוי) לערכם של ערכים רבים ולבצע פעולות מסויימות המתאימות לערך מסויים של המשתנה. זהו בדיוק המצב בו נמצא שימוש לפקודת switch.


Opening parentheses are counted from left to right (starting from 1) to obtain the numbers of the capturing subpatterns. 	 Opening parentheses are counted from left to right (starting from 1) to obtain the numbers of the captur - ing subpatterns.


returning values 	 returing values


msession_get 	 msession_getdata


This extension is only available if PHP was configured with --with-dom[ =DIR]. 	 This extension make use of the GNOME xml library.


imap_list 	 imap_last_error


?php rename( "/ tmp / tmp_file.txt"," / home / user / login / docs / my_file.txt");? 	 מחזיר TRUE במקרה של הצלחה או FALSE במקרה של כישלון.


ftp_ssl_connect 	 ftp_size


swf_shapecurveto 	 swf_shapefillbitmapclip


?php foreach (glob("*.txt") as $filename) {echo "$filename size ". filesize($filename). "\n";} / * Output will look something like: funclist.txt size 44686 funcsummary.txt size 267625 quickref.txt size 137820 * /? 	 funclist.txt size 44686 funcsummary.txt size 267625 quickref.txt size 137820


The restriction specified with open_basedir is actually a prefix, not a directory name. 	 You can only execute executables within the safe_mode_exec_dir.


The text is also underlined. 	 It creates test.pdf with one page.


Tokenizer functions 	 URL Functions


ignore_user_abort 	 leak


ncurses_init_pair 	 ncurses_inch


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


atan 	 atan2


sha1 	 setlocale


PHP_INI_ALL 	 Unregistering a variable with $_SESSION.


To be able to use the results of your function in an expression (such as concatenating it with other strings in the example above), you need to return() the value, not echo() it. 	 To be able to use the results of your function in an expression (such as concatenating it with other strings in the example above), you need to return the value, not echo() it.


socket_create 	 socket_create_pair


DomDocument - xinclude 	 DomDocument - html_dump_mem


xpath_eval 	 xpath_eval_expression


?php $a = 1.234; $b = 1.2e3; $c = 7E-10;? 	 $a = 1.234; $a = 1.2e3; $a = 7E-10;


These options are only used in PHP 4 as of PHP 4.1.0. 	 Enable the bundled read-only filePro support.


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


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


session_cache_expire() returns the current setting of session.cache_expire from php.ini. 	 session_cache_expire() returns current cache expire.


The flags which you can unset are "\\Seen", "\\Answered", "\\Flagged", "\\Deleted", and "\\Draft" (as defined by RFC2060). 	 The flags which you can unset are "\\Seen", "\\Answered", "\\Flagged", "\\Deleted", "\\Draft", and "\\Recent" (as defined by RFC2060).


If you convert an object If you convert an object to an array, you get the properties (member variables) of that object as the array's elements. 	 / / this $a = array( 'color '= 'red', 'taste '= 'sweet', 'shape '= 'round', 'name '= 'apple', 4 / / key will be 0); / / is completely equivalent with $a['color'] = 'red'; $a['taste'] = 'sweet'; $a['shape'] = 'round'; $a['name'] = 'apple'; $a[] = 4; / / key will be 0 $b[] = 'a'; $b[] = 'b'; $b[] = 'c'; / / will result in the array array (0 = 'a ', 1 = 'b', 2 = 'c '), / / or simply array('a', 'b', 'c')


pfpro_process 	 pfpro_process_raw


Generic web server interface that also supports multi-threaded web servers 	 ממשק שרתים כללי שתומך גם בשרתי web מרובי-threads.


Calculating the hash and subscribing a user 	 דוגמה 1. חישוב ה-hash ורישום משתמש


pdf_fill_stroke 	 pdf_endpath


GNU Recode functions 	 readline_add_history


Various parts of the PHP language are represented internally by types like T_SR. 	 Various parts of the PHP language are represented internally by stuff like T_SR.


odbc_close_all 	 odbc_binmode


cpdf_setgray_stroke 	 cpdf_setflat


com_load 	 com_propget


imap_mail_move 	 imap_listsubscribed


The timeout parameter became available in PHP 4.2.0. 	 This parameter is only available in CVS.


In other words, $a is an expression with the value of 5 as well. 	 אחרי ההצבה הנ" ל, כצפוי הערך של $a's הוא 5. כמו כן, אם ייתכב בתוכנית $b = $a, התוצאה תהיה כאילו נכתב $b = 5. במילים אחרות, $a הוא "ביטוי "עם הערך 5 גם כן.


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


cpdf_setflat 	 cpdf_setgray


That will create two seperate cookies although MyCookie will now be a single array in your script. 	 echo $HOME; / * Shows the HOME environment variable, if set. * /


De-registers the function named by function_name so it is no longer executed when a tick is called. 	 De-registers the function named by func so it is no longer executed when a tick is called.


Example 2. odbc_fetch_into() 4.0.6 example 	 דוגמה 2. odbc_fetch_into() 4.0.6 example


?php preg_match_all ("_BAR_ [^] + (.*) / [^] + _BAR_U"," b example: / b div align=left this is a test / div ", $out, PREG_SET_ORDER); print $out[0][0] .", ".$out[0][1] ."\n"; print $out[1][0] .", ".$out[1][1] ."\n";? 	 preg_match_all ("_BAR_ [^] + (.*) / [^] + _BAR_U"," b example: / b div align=left this is a test / div ", $out, PREG_SET_ORDER); print $out[0][0] .", ".$out[0][1] ."\n"; print $out[1][0] .", ".$out[1][1] ."\n";


Post-increment, which is written '$variable++' evaluates to the original value of $variable, before it was incremented (PHP increments the variable after reading its value, thus the name'post-increment'). 	 Post-increment, שנכתב כ '$variable++' מציב את הערך המקורי של $variable, לפני שהוא מגדיל אותו (PHP מגדילה את הערך של המשתנה אחרי שקראה את ערכו, לפיכך השם 'post-increment').


You can access the PHP program output with a web browser, viewing the PHP page through the server. 	 אפליקציות בצד שרת. זהו התחום המסורתי והעיקרי של PHP. יש צורך בשלושה רכיבים בכדי להפעיל מערכת כזו. מפרש CGI) PHP או מודול שרת), שרת web ודפדפן אינטרנט. צריך להפעיל שרת שמקושר להתקנת ה PHP. יש לגשרת לפלט תוכניות ה-PHP בעזרת דפדפן ולצפות בעמוד ה PHP דרך השרת. יש לעיין ב הוראות התקנה למידע נוסף.


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


These functions are mainly to retain compatibilty to older versions of the extension, and should not be used when creating new scripts. 	 These function are mainly to retain compatibilty to older versions of the extension but are not encouraged to use anymore in new developments.


Ora_Fetch_Into 	 Ora_Exec


This setting cannot be empty but you can specify a list of encodings supported by mbstring. 	 To add support for Type 1 fonts, you can install t1lib (available at ftp: / /sunsite.unc.edu / pub / Linux / libs / graphics /), and then add --with-t1lib[=dir].


mb_eregi_replace 	 mb_ereg_match


You can also read more about modes on UNIX systems with 'man 1 chmod' and'man 2 chmod '. 	 מחזיר TRUE במקרה של הצלחה או FALSE במקרה של כישלון.


Prev 	 Description void swf_actionprevframe (void)


9. make 10. make install 11. copy and rename the php.ini-dist file to your "bin" directory from your PHP 4 source directory: cp php.ini-dist / usr / local / bin / php.ini or (if your don't have a local directory) cp php.ini-dist / usr / bin / php.ini 	 Other examples for Mac OS X client and Mac OS X server are available at Stepwise.


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


See also the GNU Recode functions. 	 This extension does not define any constants.


get_meta_tags 	 base64_encode


msession_set 	 msession_setdata


DomNode - add_namespace 	 DomNode - append_child


Sets the path in which to look for php.ini, defaults to PREFIX / lib. 	 Include YAZ support (ANSI / NISO Z39.50).


In these cases, you can use the clearstatcache() function to clear the information that PHP caches about a file. 	 If you wish to force a new status check, for instance if the file is being checked many times and may change or disappear, use this function to clear the results of the last call from memory.


It is possible to cause the matching process to obey a subpattern conditionally or to choose between two alternative subpatterns, depending on the result of an assertion, orIt is possible to cause the matching process to obey a subpattern conditionally or to choose between two alternative subpatterns, depending on the result of an assertion, or whether a previous capturing subpattern matched or not. 	 It is possible to cause the matching process to obey a sub - pattern conditionally or to choose between two alternative subpatterns, depending on the result of an assertion, orIt is possible to cause the matching process to obey a sub - pattern conditionally or to choose between two alternative subpatterns, depending on the result of an assertion, or whether a previous capturing subpattern matched or not.


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


?php $foo = 1 + "10.5"; / / $foo is float (11.5) $foo = 1 + "-1.3e3"; / / $foo is float (-1299) $foo = 1 + "bob-1.3e3"; / / $foo is integer (1) $foo = 1 + "bob3"; / / $foo is integer (1) $foo = 1 + "10 Small Pigs"; / / $foo is integer (11) $foo = 4 + "10.2 Little Piggies"; / / $foo is float (14.2) $foo = "10.0 pigs" + 1; / / $foo is float (11) $foo = "10.0 pigs "+ 1.0; / / $foo is float (11)? 	 $foo = 1 + "10.5"; / / $foo is float (11.5) $foo = 1 + "-1.3e3"; / / $foo is float (-1299) $foo = 1 + "bob-1.3e3"; / / $foo is integer (1) $foo = 1 + "bob3"; / / $foo is integer (1) $foo = 1 + "10 Small Pigs"; / / $foo is integer (11) $foo = 1 + "10 Little Piggies"; / / $foo is integer (11) $foo = "10.0 pigs" + 1; / / $foo is integer (11) $foo = "10.0 pigs "+ 1.0; / / $foo is float (11)


Ora_Fetch 	 Ora_GetColumn


openssl_csr_export_to_file 	 openssl_csr_export


This extension has no configuration directives defined in php.ini. 	 An X.509 resource returned from openssl_x509_read


Analogous to the old $HTTP_SESSION_VARS array (which is still available, but deprecated). 	 מערך אסוציאטיבי המכיל את משתני ה-session המועברים לסקריפט הנוכחי.


Records in a result set are numbered 1, 2,... $hits where $hits is the count returned by yaz_hits(). 	 If this function is not invoked (only yaz_search()) start is set to 1 and number is set to 10.


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


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


Users of PHP / FI 2 and many other languages may be familiar with the notation of variable+ + and variable--. 	 דוגמא טובה נוספת להסבר צורת קריאת הביטויים: משתמשי PHP / FI 2 ושפות אחרות עשויים להכיר את קיומם של האופרטורים משנתה+ + ו משתנה--. אלו הם האופרטורים לקידום ולהחסרה. ב PHP / FI 2, המשפט '$a++' הוא חסר ערך (הוא אינו ביטוי), ולכן אין בו כל שימוש.


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


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


This modifier is available from PHP 4.1.0 or greater on Unix and from PHP 4.2.3 on win32. 	 This modifier is available from PHP 4.1.0 or greater.


You 'll only notice this in case of GET request though, because POST requests are usually hidden. 	 הערה: תהיה טעות לעשות urlencode() ל - $data, משום שזאת אחריות הדפדפן לעשות urlencode() למידע. כל הדפדפנים הפופולרים עושים זאת נכון. דבר זה קורה בלי קשר לצורת השליחה (כלומר, GET או POST). למרות זאת, רק באופן שליחה של GET תוכל להבחין בזה, משום שאופן שליחה של POST בדרך כלל מוסתר.


To get these functions to work, you have to configure PHP with --enable-dio. 	 This extension does not define any configuration directives.


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


?php header( "Location: http: / /www.example.com / "); / * Redirect browser * / exit; / * Make sure that code below does not get executed when we redirect. * /? 	 header( "Location: http: / /www.example.com / "); / * Redirect browser * / exit; / * Make sure that code below does not get executed when we redirect. * /


Returns FALSE if an error occurs. filetype() will also produce an E_NOTICE message if the stat call fails or if the file type is unknown. 	 Returns FALSE if an error occurs.


You can set cookies using the setcookie() function. 	 דוגמה 7-3. דוגמת SetCookie


The JVM is created using JNI, and everything runs in-process. 	 PHP 4 ext / java provides a simple and effective means for creating and invoking methods on Java objects from PHP.


pdf_close_pdi_page 	 pdf_close_image


pdf_close_pdi 	 pdf_clip


Access to initialization entries can also be handled with the macros shown in Table 39-1. 	 Access to initialization entries can also be handled with the macros shown in טבלה 40-1.


ini_get 	 ini_restore


?php echo (int) ((0.1+0.7) * 10); / / echoes 7!? 	 echo (int) ((0.1+0.7) * 10); / / echoes 7!


Enable the security check for internal server redirects. 	 DIR is the install directory, and if left out, PHP will try to find it on its own. [experimental].


The number of arguments which can be passed to your script is not limited by PHP (the shell has a certain size limit in the number of characters which can be passed; usually you won't hit this limit). 	 The number of arguments which can be passed to your script is not limited by PHP (the shell has a certain size limit in numbers of characters which can be passed; usually you won't hit this limit).


substr 	 trim


Change the address and port Change the address and port variables to suit your setup and execute. 	 Change the address and port variables to suit your setup and execute.


Once the user has filled in a username and a password, the URL containing the PHP script will be called again with the predefined variables PHP_AUTH_USER, PHP_AUTH_PW, and PHP_AUTH_TYPE Once the user has filled in a username and a password, the URL containing the PHP script will be called again with the predefined variables PHP_AUTH_USER, PHP_AUTH_PW, and PHP_AUTH_TYPE set to the user name, password and authentication type respectively. 	 Once the user has filled in a username and a password, the URL containing the PHP script will be called again with the variables, $PHP_AUTH_USER, $PHP_AUTH_PW and $PHP_AUTH_TYPE set to the user name, password and authentication type respectively.


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


US-ASCII, ISO-8859-1 and UTF-8. 	 Note that if you are using Apache-1.3.7 or later, you already have the required expat library.


openssl_pkey_export_to_file 	 openssl_pkcs7_verify


?php foreach ($colors as $key = $color) {/ / won't work: / /$color = strtoupper($color); / / works: $colors[$key] = strtoupper($color);} print_r($colors); / * output: 	 foreach ($colors as $key = $color) {/ / won't work: / /$color = strtoupper($color); / /works: $colors[$key] = strtoupper($color);} print_r($colors); / * output:


Returns TRUE on success or FALSE on failure. 	 Returns TRUE if successful; otherwise returns FALSE.


Note that SID is only defined if the client didn 't send the right cookie. 	 Note that SID is only defined if the client didn 't sent the right cookie.


SWFMovie 	 SWFShape


If you are still working with PHP 2, we strongly recommend you to upgrade straight to PHP 4. 	 אם עבודתך עדיין מתבצעת עם PHP 2, אנחנו מאוד ממליצים לעדכן ישירות ל-PHP 4.


The name of the class is B, and there is no function called B() in class B. 	 ב PHP 3, שום פונקציה בנאית לא נקרא בדוגמא הנ" ל. החוק ב PHP 3 הוא: 'הבנאי A הוא הפונקציה של אותו שם של המחלקה .'. השם של המחלקה הוא B, ואין שום פונקציה שנקראת B() במחלקה B. לכן כלום לא קורה.


openssl_x509_export_to_file 	 openssl_x509_checkpurpose


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


Example 2. mysql_query() 	 דוגמה 2. mysql_query()


odbc_result 	 odbc_rollback


Read the Security and chapter for more information. 	 This is supported by means of the safe_mode_gid This is supported by means of the safe_mode_gid switch.


This construction can of course contain arbitrarily complicated subpatterns, and it can be nested. 	 This construction can of course contain arbitrarily compli - cated subpatterns, and it can be nested.


The option argument is used to indicate what logging options will be used when generating a log message. 	 The option argument is used to indicate what loggin options will be used when generating a log message.


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


DomNode - child_nodes 	 DomNode - child-nodes


pg_get_notify 	 pg_get_result


For backwards compatibility reasons, the originial access methods are still available for use, although it is suggested to update. 	 דוגמה 1. imap_get_quota() example


When you want to restrict access to only the specified directory, end with a slash. 	 Safe mode limited functions


Converting to float 	 $var = 'ciao'; $arr = (array) $var; echo $arr[0]; / / outputs 'ciao'


Jan through Dec 	 M - month, textual, 3 letters; e.g. "Jan "


In PHP 4.3.0, getallheaders() became an alias for apache_request_headers(). 	 Use phpinfo() to see a list of all of the environment variables defined this way.


If this rule is broken and the closing identifier is not "clean" then it's not considered to be a closing identifier and PHP will continue looking for one. 	 Since Microsoft Windows uses the sequence \r\n as a line terminator, your heredoc may not work if you write your script in a Windows editor.


The behaviour of these functions is affected by settings in php.ini. 	 To be able to use the functions defined in this module you must compile your PHP interpreter using the configure line --with-iconv.


Note to Win32 Users: 	 This extension is only available if PHP was configured with --with-dom=[ DIR].


com_load 	 com_load_typelib


pdf_show_boxed 	 pdf_setrgbcolor_fill


Articles about PHP appeared in Dr. 	 מאמרים על PHP הופיעו ב:


This has been corrected in PHP 4.3. 	 session.entropy_length session.entropy_length specifies the number of bytes which will be read from the file specified above.


You will need at least libxslt-1.0.18. 	 Therefore, if you want to read an XML file and write a modified version use the DomDocument_create_element(), DomDocument_create_text_node(), set_attribute(), etc. and finally DomDocument_dump_mem() functions.


Most servers support F (for full records) and B (for brief records). 	 Most servers support F (full) and B (brief).


?php / / Here, we use unserialize() to load session data to the / / $session_data array from the string selected from a database. / / This example complements the one described with serialize(). $conn = odbc_connect ("webdb", "php", "chicken"); $stmt = odbc_prepare ($conn, "SELECT data FROM sessions WHERE id = ?"); $sqldata = array ($PHP_AUTH_USER); if (!odbc_execute ($stmt, $sqldata) _BAR_ _BAR_ !odbc_fetch_into ($stmt, $tmp)) {/ / if the execute or fetch fails, initialize to empty array $session_data = array();} else {/ / we should now have the serialized data in $tmp[0]. $session_data = unserialize ($tmp[0]); if (!is_array ($session_data)) {/ / something went wrong, initialize to empty array $session_data = array();}}? 	 / / Here, we use unserialize() to load session data to the / / $session_data array from the string selected from a database. / / This example complements the one described with serialize(). $conn = odbc_connect ("webdb", "php", "chicken"); $stmt = odbc_prepare ($conn, "SELECT data FROM sessions WHERE id = ?"); $sqldata = array ($PHP_AUTH_USER); if (!odbc_execute ($stmt, $sqldata) _BAR_ _BAR_ !odbc_fetch_into ($stmt, $tmp)) {/ / if the execute or fetch fails, initialize to empty array $session_data = array();} else {/ / we should now have the serialized data in $tmp[0]. $session_data = unserialize ($tmp[0]); if (!is_array ($session_data)) {/ / something went wrong, initialize to empty array $session_data = array();}}


You can also use the environment variable PHPRC for an additional path to search for a php.ini file. 	 This is equivalent to calling the PHP function flush() after each and every call to print() or echo() and each and every HTML block.


This function is an alias to imap_lsub() and is identical to it in every way. 	 This is almost identical to imap_listmailbox(), but will only return mailboxes the user you logged in as has subscribed.


In PHP 4.0.3, these functions were prefixed by shm rather than shmop. 	 To use shmop you will need to compile php with the --enable-shmop parameter in your configure line.


cn=John Smith,ou=Accounts,o=My Company,c=US 	 An example dn might be.


When safe mode is enabled, PHP checks whether the files or directories you are about to operate on have the same UID (owner) as the script that is being executed. 	 הערה: כאשר מצב safe-mode פעיל, PHP תבדוק האם הקבצים\ספריות שאתה מתכוון לבצע עליהם פעולות, הם בעלי הרשאת משתמש (UID) הזהה לזו של התוכנית המורצת.


session.use_cookies session.use_cookies specifies whether the module will use cookies to store the session id on the client side. 	 Alternatively, you can use the constant SID which is defined, if the client did not send the appropriate cookie.


domxml_parent() 	 satellite_exception_value()


str_word_count 	 str_rot13


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


In order to build the SAPI module (php4isapi.dll for integrating PHP with Microsoft IIS, set your active configuration to php4isapi-whatever-config and build the desired dll. 	 Repeat the above steps with php4isapi.dsp (which can be found in sapi\isapi) in order to build the code necessary for integrating PHP with Microsoft IIS.


It uses the Oracle8 Call-Interface (OCI8) 	 It uses the Oracle8 Call-Interface (OCI8).


A nice way to debug the existence of cookies is by simply calling print_r( $_COOKIE);. 	 דוגמה 2. setcookie() delete examples


?php $a = array( array('p', 'h'), array('p', 'r'), 'o'); if (in_array(array ('p', 'h'), $a)) echo "'ph 'was found\n"; if (in_array(array ('f', 'i'), $a)) echo "'fi' was found\n"; if (in_array('o', $a)) echo "'o 'was found\n";? / / This will output: 'ph' was found'o 'was found 	 ?php $a = array( array('p', 'h'), array('p', 'r'), 'o'); if (in_array(array ('p', 'h'), $a)) echo "'ph 'is found\n"; if (in_array(array ('f', 'i'), $a)) echo "'fi' is not found\n"; if (in_array('o', $a)) echo "'o 'is found\n";? / / This will output: 'ph' is found 'o 'is found


pdf_show_xy 	 pdf_setrgbcolor_stroke


They remember the last single character that is required for a match, and fail early if it is not present in the string.) If the pattern is changed to ((? \D+) _BAR_ \d + )*[!?] sequences of non-digits cannot be broken, and failure happens quickly. 	 They remember the last single character that is required for a match, and fail early if it is not present in the string.) If the pattern is changed to ((? \D+) _BAR_ \d + )*[!?] sequences of non-digits cannot be broken, and failure hap - pens quickly.


It should be in the "X-Y" format, where X or Y may be left out. 	 CURLOPT_RANGE: העבר את התחום המבוקש. הפורמט צריך להיות "X-Y", כאשר X או Y יכולים להיות ריקים. העברת HTTP תומכת גם במספר פרקי זמן, מופרדים בפסיק כגון:


SWFSprite - setframes 	 SWFShape - setRightFill


See also domnode_append_child(), domdocument_create_element(), domdocument_create_text(), domdocument_create_cdata_section(), 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_cdata_section(), DomDocument_create_processing_instruction(), DomDocument_create_entity_reference(), DomNode_insert_before().


swf_shapecurveto 	 swf_shapecurveto3


cpdf_finalize 	 cpdf_global_set_document_limits


mcve_void 	 mdecrypt_generic


nl2br 	 mt_srand


ereg 	 eregi


Consequently, the API is fully object-oriented. 	 Consequently the API is fully object oriented.


AM or PM 	 A - "AM" or "PM "


Note: 	 Include FrontBase support.


?php / / Get the first character of a string $str = 'This is a test .'; $first = $str{0}; / / Get the third character of a string $third = $str{2}; / / Get the last character of a string. $str = 'This is still a test .'; $last = $str{strlen($str)-1};? 	 This is fantastic echo "This square is {$square - width}00 centimeters broad ."; echo "This works: {$arr[4][3]}"; / / This is wrong for the same reason / / as $foo[bar] is wrong outside a string. echo "This is wrong: {$arr[foo][3]}"; echo "You should do it this way: {$arr['foo'][3]}"; echo "You can even write {$obj - values[3] - name}"; echo "This is the value of the var named $name: {${$name}}";


Not every PHP directive is documented below. 	 This value defaults to TRUE when operating under the CLI SAPI.


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


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


money_format 	 metaphone


fdf_add_doc_javascript 	 Forms Data Format functions


pdf_close_pdi 	 pdf_closepath


Pass a string containing the "user-agent" header to be used in an HTTP request. 	 CURLOPT_USERAGENT: העבר ערך מסוג מחרוזת המכיל את ה "user-agent" header לשימוש ב HTTP request.


substr_count 	 substr


You can count the number of items in an array using the count() function. 	 See array-functions for more information.


MySQL Functions 	 msql_affected_rows


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


It is not possible to use db versions starting from 4.1 with PHP prior to version 4.3.0. 	 To enable support for db3 add --with-db3[ =DIR].


ob_get_status 	 ob_get_level


Example: +0200 	 O - Difference to Greenwich time in hours; e.g. "+0200 "


Calling this PHP file in your Web browser should give you the output shown in Figure 29-1. 	 Calling this PHP file in your Web browser should give you the output shown in תרשים 30-1.


This extension has no resource types defined. 	 This extension does not define any resource types.


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


msession_get_array 	 msession_find


The following options expect a file descriptor that is obtained by using the fopen() function: 	 האפשרויות הבאות מצפות ל file descriptor שהושג תוך שימוש בפונקציית fopen():


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


Where can I obtain PHP? 	 1. היכן ניתן להשיג את PHP?


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


dbase_get_record_with_names 	 dbase_get_record


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


Arguably, this was the key to PHP 3.0 's tremendous success. 	 Hypertext Preprocessor '.


SWFGradient - addEntry 	 swffont - getwidth


Example 1. error_reporting() examples 	 Error Integer changes


The maximum number of persistent mSQL connections per process. 	 The default location is / usr / local / Hughes.


Returns the current directory or FALSE on error. 	 Returns the current directory, or FALSE on error.


?php $username = $_SERVER[ 'REMOTE_USER']; / / using an authentication mechanisim $homedir = "/ home / $username"; if (!ereg('^[^. / ][^ / ]*$', $userfile)) die('bad filename'); / /die, do not process if (!ereg('^[^. / ][^ / ]*$', $username)) die('bad username'); / /die, do not process / /etc...? 	 ?php $username = $HTTP_SERVER_VARS[ 'REMOTE_USER']; / / using an authentication mechanisim $homedir = "/ home / $username"; if (!ereg('^[^. / ][^ / ]*$', $userfile)) die('bad filename'); / /die, do not process if (!ereg('^[^. / ][^ / ]*$', $username)) die('bad username'); / /die, do not process / /etc...?


Pass a string formatted in the [username] :[password] format for connection to the HTTP proxy. 	 CURLOPT_PROXYUSERPWD: העבר ערך מסוג מחרוזת בפורמט [username] :[password], להתחברות ל HTTP proxy.


If register_globals is disabled, only members of the global associative array $_SESSION can be registered as session variables. 	 session.auto_start session.auto_start specifies whether the session module starts a session automatically on request startup.


From PHP version 4.2.3 you will atleast need CURL version 7.9.0 or higher. 	 על מנת להשתמש ב CURL functions עליך להתקין את חבילת ה CURL.


..the source code for the DNS name resolver used by PHP from http: / /www.php.net / extra / bindlib_w32.zip. 	 Get the source code for the DNS name resolver used by PHP at http: / /www.php.net / extra / bindlib_w32.zip.


Note that the access time is always modified, regardless of the number of parameters. 	 If the third option atime is present, the access time of the given filename is also modified.


If you want your data to be interpreted as one item, you must encode it with urlencode(). 	 כתובת אינטרנט (URL): כתובת אינטרנט מורכבת מכמה חלקים. אם ברצונך שהמידע יתורגם כפריט (item) אחד, חובה עליך לקודד אותו בעזרת הפונקציה urlencode().


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


image_type_to_mime_type 	 getimagesize


fwrite() writes the contents of string to the file stream pointed to by handle. 	 fwrite() writes the contents of string to the file stream pointed to by fp.


mkdir ("/ path / to / my / dir", 0700); 	 מחזיר TRUE במקרה של הצלחה או FALSE במקרה של כישלון.


If it evaluates to FALSE, the execution of the loop ends. 	 בתחילת כל איטרציה expr2 מוערך. אם ערכו שווה ל - TRUE, הלולאה תמשיך והפקודות שבלולאה יופעלו. אם הביטוי מוערך ל - FALSE, הלולאה מסתיימת.


Build PHP as thttpd module. 	 XML: external libexpat install dir.


You do not need to load any additional extension in order to use these functions. 	 Use of $_SESSION (or $HTTP_SESSION_VARS with PHP 4.0.6 or less) is recommended for security and code readablity.


If PHP is not working correctly, it is advisable to use php -i and see whether any error messages are printed out before or in place of the information tables. 	 If PHP is not working well, it is advisable to make a php -i and see if any error messages are printed out before or in place of the information tables.


See also for, str_pad(), and substr_count(). 	 See also: for, str_pad(), and substr_count().


What are the differences between PHP 3 and PHP 4? 	 5. מה ההבדלים בין PHP 3 ו-PHP 4?


This extension has no resource types defined. 	 SIGSTKFLT


Migrating from PHP3 to PHP4 	 1. איך עוברים מ-PHP 3 ל-PHP 4?


Backslashes should be escaped, for example: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script Map] ".php"="c:\\php\\php.exe "Now merge this registery file into your system; you may do this by double-clicking it. 	 Forward slashes should be escaped, for example: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script Map] ".php"="c:\\php\\php.exe "


If there are bugs in your scripts which do not allow the connections to shut down (such as infinite loops), the database with only 16 connections may be rapidly swamped. 	 If there are bugs in your scripts which do not allow the connections to shut down (such as infinite loops), a database with only 32 connections may be rapidly swamped.


Pass a string containing the content of the cookie to be set in the HTTP header. 	 CURLOPT_COOKIE: העבר ערך מסוג מחרוזת המכיל את תוכן ה cookie שתשלח ב HTTP header.


January through December 	 F - month, textual, long; e.g. "January "


(PHP 3 = 3.0.3, 4.0.5 - 4.3.0 only) 	 (PHP 3 = 3.0.3, PHP 4 = 4.0.5)


Include SAP DB support. 	 DIR is the MySQL base directory.


In passive mode, data connections are initiated by the client, rather than by the server. 	 ftp_pasv() turns on passive mode if the pasv parameter is TRUE (it turns off passive mode if pasv is FALSE.) In passive mode, data connections are initiated by the client, rather than by the server.


A static variable exists only in a local function scope, but it does not lose its value when program execution leaves this scope. 	 דרך נוספת לגשת טווח המשתנים הגלובלים היא בעזרת המערך המוגדר מראש - $GLOBALS. אפשר לכתוב את הדוגמה הקודמת גם בצורה הזו:


?php $db = pg_connect ('dbname=foo'); / / This is safe, since $_POST is converted automatically $res = pg_delete($db, 'post_log', $_POST); if ($res) {echo "POST data is deleted: $res\n";} else {echo "User must have sent wrong inputs\n";}? 	 ?php $db = pg_connect ('dbname=foo'); / / This is safe, since $_POST is converted autotmatically $res = pg_delete($db, 'post_log', $_POST); if ($res) {echo "POST data is deleted: $res\n";} else {echo "User must have sent wrong inputs\n";}?


mcrypt_generic 	 mcrypt_get_block_size


Table 2. possible values for options 	 טבלה 2. possible values for options


Set this option to a non-zero value and PHP will just list the names of an FTP directory. 	 CURLOPT_FTPLISTONLY: קבע את הערך לערך השונה מאפס אם ברצונך ש PHP תציג רק את שמות ספריית ה FTP.


SWFFont 	 SWFGradient


Use POSIX threads (default). 	 Enable japanese encoding translation.


cpdf_closepath_fill_stroke 	 cpdf_closepath


These functions allow you to access the mnoGoSearch (former UdmSearch) free search engine. mnoGoSearch is a full-featured search engine software for intranet and internet servers, distributed under the GNU license. mnoGoSearch has a number of unique features, which makes it appropriate for a wide range of applications from search within your site to a specialized search system such as cooking recipes or newspaper search, FTP archive search, news articles search, etc. 	 In order to have these functions available, you must compile php with mnogosearch support by using the --with-mnogosearch option.


But the truth is that there' s one additional value involved here, and that's the value of the assignment itself. 	 לפי שעה, משתמשים של PHP / FI 2 לא צריכים להרגיש כל שינוי. בכל מקרה, PHP לקחו את "הביטויים" רחוק יותר, ממש כפי שעשו שפות רבות אחרות.


max 	 log10


If locale is the empty string "", the locale names will be set from the values of environment variables with the same names as the above categories, or from "LANG ". 	 LC_NUMERIC for decimal separator (See also: localeconv())


The whole new language was released under a new name, that removed the implication of limited personal use that the PHP / FI 2.0 name held. 	 עד לסוף שנת 1998, PHP גדלה לכדי בסיס משתמשים שמוערך בעשרות אלפים ומאות אלפי שמות מתחם דיווחו על כך ש-PHP מותקנת אצלם, מה שמשתווה כלעשרה אחוזים מהאינטרנט.


pdf_add_outline 	 orbit_get_repository_id


See also register_tick_function() and unregister_tick_function(). 	 קראו גם על פונקציות register_tick_function() ו - unregister_tick_function().


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


This option allows you to set a custom value for any of the configuration directives allowed in php.ini. 	 This option allows to set a custom value for any of the configuration directives allowed in php.ini.


An alternative description is that a subpattern of this type matches the string of characters that an identical standalone pattern would match, if anchored at the current point in the subject string. 	 An alternative description is that a subpattern of this type matches the string of characters that an identical stan - dalone pattern would match, if anchored at the current point in the subject string.


substr() returns the portion of string specified by the start and length parameters. 	 Substr returns the portion of string specified by the start and length parameters.


Example 1. odbc_fetch_into() pre 4.0.6 example 	 דוגמה 1. odbc_fetch_into() pre 4.0.6 example


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


pg_result_seek 	 pg_result_error


vpopmail_add_domain_ex 	 vpopmail_add_alias_domain_ex


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


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


mb_ereg_replace 	 mb_ereg_search


Compile with remote debugging functions. 	 Enable the System V shared memory support.


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


SWFFill - moveTo 	 SWFDisplayItem - addColor


Hypertext Preprocessor "is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. 	 PHP, ראשי תיבות של "PHP:


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


mbstring.internal_encoding defines default internal character encoding. 	 Currently, the following character encoding is supported by mbstring Currently, the following character encoding is supported by mbstring module.


Pass an array of FTP commands to execute on the server, after the FTP request has been performed. 	 CURLOPT_POSTQUOTE: העבר מערך של פקודות FTP שיש לצע על השרת המרוחק אחרי ביצוע בקשת ה FTP.


$tmpfname = tempnam ("/ tmp", "FOO"); $handle = fopen($tmpfname, "w"); fwrite($handle, "writing to tempfile"); fclose($handle); / / do here something unlink($tmpfname); 	 $tmpfname = tempnam ("/ tmp", "FOO"); $fp = fopen($tmpfname, "w"); fwrite($fp, "writing to tempfile"); fclose($fp); / / do here something unlink($tmpfname);


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


mailparse_msg_parse 	 mailparse_rfc822_parse_addresses


The module startup and shutdown functions are called whenever a module is loaded and needs initialization; the request startup and shutdown functions are called every time a request is processed (meaning that a file is being executed). 	 Please note that they 're really only called once, not when a new Apache process is being created!


See also array_filter(), array_reduce(), and array_walk(). 	 See also array_filter() and array_reduce().


It provides a very good overview of what PDFlib is capable of doing and contains the most up-to-date documentation of all functions. 	 Please see the PDFlib installation section for more information about compiling PDF support into PHP.


If you 're really unsure about compatibility you should install PHP 4 in a test environment and run your scripts there. 	 PHP 4 עוצבה בכדי להיות תואמת לגירסאות קודמות של PHP במידת האפשר ורק פונקציות מסויימות מאוד שונו בזמן התהליך. אם באמת אינך בטוח בקשר לתאימות מומלץ להתקין את PHP 4 בסביבת בדיקה (test environment) ולנסות להריץ סקריפטים שבהם אינך בטוח בצורה הזו.


The cache limiter defines which cache control HTTP headers are sent to the client. 	 The cache limiter controls the cache control HTTP headers sent to the client.


Example 2. pdfclock example from PDFlib distribution 	 דוגמה 2. pdfclock example from PDFlib distribution


When specifying RESTRICT, an error is returned if there are dependent objects (e.g., VIEWs), while with CASCADE, dependent objects will be deleted along with the specified table. 	 Notes on the use of various SQL types:


This function invokes a CCL parser. 	 This function invokes the CCL parser.


bcpowmod 	 bcpow


13. cp php.ini-dist / usr / local / lib / php.ini You can edit your .ini file to set PHP options. 	 11. cp php.ini-dist / usr / local / lib / php.ini You can edit your .ini file to set PHP options.


In otherwords, you' ll most likely set this with the time() function plus the number of seconds before you want it to expire. 	 The secure indicates that the cookie should only be transmitted over a secure HTTPS connection.


gmp_div_r 	 gmp_com


Example 1. swfmovie - streammp3() example 	 דוגמה 1. swfmovie - streammp3() example


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


vpopmail.directory 	 tokenizer.global_string


The optional role parameter was added in PHP 4.0.0 and is functional only with InterBase 5 and up. 	 It is functional only with InterBase 5 and versions higher than that.


List of Resource Types 	 swf Predefined Constants


Using serialize to save an object will save all variables in an object. 	 serialize() מחזיר מחרוזת שמכילה "שטף בתים "שמייוצגות על ידי ערך כלשהו שיכול להיות שמור ב PHP. unserialize() משתמשים במחרוזת זו ליצירה מחדש של הערכים המקורים של משתנה. שימוש ב serialize לשמרית האובייקט תשמור תשמור את כל המשתנים שבאובייקט. הפונקציות שבאובייקט לא ישמרו, רק השם של המחלקה הוא זה שישמר.


(PHP 4.3) Before a new child is appended it is first duplicated. 	 The child can be created with e.g.


This function is identical to htmlspecialchars() in all ways, except with htmlentities(), all characters which have HTML character entity equivalents are translated into these entities. 	 This function is identical to htmlspecialchars() in all ways, except that all characters which have HTML character entity equivalents are translated into these entities.


If the last two examples above seem odd, see String conversion to numbers. 	 If the last two examples above seem odd, see String conversion.


'w+' - Open for reading and writing; place the file pointer at the beginning of the file and truncate the file to zero length. 	 mode may be any of the following:


The value parameter should be a string for the following values of the option parameter: 	 המשתנה value צריך להיות מסוג string בשביל הערכים הבאים של המשתנה option:


imap_listscan 	 imap_listmailbox


Generalized build process under UNIX 	 תהליך בנייה מוכלל תחת UNIX


Table 1. openssl_x509_checkpurpose() purposes 	 טבלה 1. openssl_x509_checkpurpose() purposes


readline 	 GNU Recode functions


Used under Windows only: 	 שם DNS או כתובת IP של שרת ה-SMPT בשפת PHP תחת ווינדוס יכול. דואר() לשמש לשליחת דואר בעזרת פונקציית ה


image_type_to_mime_type 	 image2wbmp


mssql_free_statement 	 mssql_get_last_message


?php / / this $a = array( 'color '= 'red', 'taste' = 'sweet', 'shape '= 'round', 'name' = 'apple', 4 / / key will be 0); / / is completely equivalent with $a['color'] = 'red'; $a['taste'] = 'sweet'; $a['shape'] = 'round'; $a['name'] = 'apple'; $a[] = 4; / / key will be 0 $b[] = 'a'; $b[] = 'b'; $b[] = 'c'; / / will result in the array array(0 = 'a ', 1 = 'b', 2 = 'c'), / / or simply array('a', 'b', 'c')? 	 / / Array as (property -)map $map = array ('version '= 4, 'OS' = 'Linux ', 'lang' = 'english ', 'short_tags' = true); / / strictly numerical keys $array = array (7, 8, 0, 156, -10); / / this is the same as array (0 = 7, 1 = 8,...) $switching = array (10 / / key = 0, 5 = 6, 3 = 7, 'a '= 4, 11 / / key = 6 (maximum of integer-indices was 5), '8' = 2 / / key = 8 (integer!), '02 '= 77 / / key = '02', 0 = 12 / / the value 10 will be overwritten by 12); / / empty array $empty = array();


The file to write the header part of the output into. 	 CURLOPT_WRITEHEADER: הקובץ אליו יש לרשום את חלק ה header של הפלט.


However, their value can be changed during runtime (which does not make sense for all of those directives, e.g. register_argc_argv). 	 ? / * Our simple test application * / echo getcwd(), "\n";?


/* foreach example 1: value only * / $a = array (1, 2, 3, 17); foreach ($a as $v) {print "Current value of \$a: $v.\n";} / * foreach example 2: value (with key printed for illustration) * / $a = array (1, 2, 3, 17); $i = 0; / * for illustrative purposes only * / foreach($a as $v) {print "\$a[$i] = $v.\n"; $i++;} / * foreach example 3: key and value * / $a = array ("one "= 1, "two" = 2, "three "= 3, "seventeen" = 17); foreach($a as $k = $v) {print "\$a[$k] = $v.\n";} / * foreach example 4: multi-dimensional arrays * / $a[0][0] = "a"; $a[0][1] = "b"; $a[1][0] = "y"; $a[1][1] = "z"; foreach($a as $v1) {foreach ($v1 as $v2) {print "$v2\n";}} / * foreach example 5: dynamic arrays * / foreach(array(1, 2, 3, 4, 5) as $v) {print "$v\n";} 	 /* foreach example 1: value only * / $a = array (1, 2, 3, 17); foreach ($a as $v) {print "Current value of \$a: $v.\n";} / * foreach example 2: value (with key printed for illustration) * / $a = array (1, 2, 3, 17); $i = 0; / * for illustrative purposes only * / foreach($a as $v) {print "\$a[$i] = $v.\n";} / * foreach example 3: key and value * / $a = array ("one "= 1, "two" = 2, "three "= 3, "seventeen" = 17); foreach($a as $k = $v) {print "\$a[$k] = $v.\n";} / * foreach example 4: multi-dimensional arrays * / $a[0][0] = "a"; $a[0][1] = "b"; $a[1][0] = "y"; $a[1][1] = "z"; foreach($a as $v1) {foreach ($v1 as $v2) {print "$v2\n";}} / * foreach example 5: dynamic arrays * / foreach(array(1, 2, 3, 4, 5) as $v) {print "$v\n";}


Returns a string containing a single character read from the file pointed to by handle. 	 Returns a string containing a single character read from the file pointed to by fp.


?php class Foo {function Var() {$name = 'Bar'; $this - $name(); / / This calls the Bar() method} function Bar() {echo "This is Bar";}} $foo = new Foo(); $funcname = "Var"; $foo - $varname(); / / This calls $foo - Var()? 	 ?php function foo() {echo "In foo() br \n";} function bar($arg = '') {echo "In bar(); argument was '$arg'. br \n";} $func = 'foo'; $func(); $func = 'bar'; $func('test');?


If you want to deliver thumbnails through this function you should send the mimetype information using header() If you want to deliver thumbnails through this function you should send the mimetype information using header() function. 	 It is possible that exif_thumbnail() cannot create an image but determine its size.


Where do I find the Browser Capabilities File? 	 6. היכן ניתן למצוא את קובץ היכולת של הדפדפן (Browser Capabilities File)?


This function removes user nick from the IRCG ignore list associated with connection. 	 This function remove user nick from your ignore list on the server connected to by connection.


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


To extract the downloaded files you need a extraction utilitiy (e.g.: 	 For starters, get the Cygwin toolkit from the closest cygwin mirror site.


xpath_eval 	 xpath_new_context


cpdf_save 	 cpdf_save_to_file


404 Not Found");? 	 404 Not Found");