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


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


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


Table 1. phpinfo() options 	 טבלה 1. phpinfo() options


?php $colors = array( 'red', 'blue', 'green', 'yellow'); foreach ($colors as $color) {echo "Do you like $color?\n";} / * output: 	 $colors = array( 'red' ,'blue' ,'green' ,'yellow'); foreach ($colors as $color) {echo "Do you like $color?\n";} / * output:


Returns the host name of the Internet host specified by ip_address or a string containing the unmodified ip_address on failure. 	 If an error occurs, returns ip_address.


SWFMorph - getshape2 	 SWFGradient - addEntry


If path is specified, the path to which data is saved will be changed. session_save_path() needs to be called before session_start() for that purpose. 	 If path is specified, the path to which data is saved will be changed.


filepro_rowcount 	 filePro functions


am or pm 	 a - "am" or "pm "


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


imap_lsub 	 imap_mail


Number of decimal digits for all bcmath functions. 	 This extension does not define any resource types.


odbc_field_precision 	 orbit_caught_exception


form enctype=" multipart / form-data "action="_URL_" method="post "input type="hidden" name="MAX_FILE_SIZE "value="30000" Send this file: input name="userfile "type="file" input type="submit "value="Send File" / form 	 הגדרת ה-MAX_FILE_SIZE היא בגדר ייעוץ לדפדפן. קל ביותר להערים על המקסימום הזה. כדאי לא לבנות על זה שהדפדפן מציית למשאלתך! על הגדרת ה-PHP עבור הגודל המקסימלי, מצד שני, לא ניתן לעבוד.


See also image_type_to_mime_type(), exif_imagetype(), exif_read_data() and exif_thumbnail(). 	 See also exif_imagetype(), exif_read_data() and exif_thumbnail().


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


For a full list of predefined classes in PHP, please see Predefined Classes. 	 הערה: זוהי ההגדרה של ה class Directory, שמשמעותו היא שלא ניתן להגדיר classes עם אותו שם. לרשימה מלאה של classes מוגדרים מראש ב PHP, ראה Predefined Classes.


28 through 31 	 t - number of days in the given month; i.e. "28 "to "31"


pdf_setgray_stroke 	 pdf_setfont


$user = "joecool@example.com"; $hash = ezmlm_hash ($user); $query = sprintf ("INSERT INTO sample VALUES (%s, '%s')", $hash, $user); $db - query($query); / / using PHPLIB db interface 	 $user = "joecool@example.com"; $hash = ezmlm_hash ($user); $query = sprintf ("INSERT INTO sample VALUES (%s, '%s')", $hash, $user); $db - query($query); / / PHPLIB db שימוש בממשק


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


01 to 31 	 d - day of the month, 2 digits with leading zeros; i.e. "01 "to "31"


?php $link = mysql_connect( "localhost", "mysql_user", "mysql_password") or die("Could not connect: ". mysql_error()); print ("Connected successfully"); mysql_close($link);? 	 ?php $link = mysql_connect( "localhost", "mysql_user", "mysql_password") or exit("Could not connect"); print ("Connected successfully"); mysql_close($link);?


swf_shapecurveto3 	 swf_shapearc


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


In the "include" directory there should be a folder named "curl "which should contain the easy.h and curl.h files. 	 PHP מחייבת אותך להשתמש ב CURL 7.0.2-beta ומעלה.


To be able to use the functions defined in this module you must compile your PHP interpreter using the --with-recode[ =DIR] option. 	 In order to do so, you must have GNU Recode 3.5 or higher installed on your system.


$barney = "A big purple dinosaur ."; session_register("barney"); $_SESSION["zim"] = "An invader from another planet ."; # The old way was to use $HTTP_SESSION_VARS $HTTP_SESSION_VARS["spongebob"] = "He's got square pants ."; 	 $barney = "A big purple dinosaur ."; session_register("barney"); $HTTP_SESSION_VARS["zim"] = "An invader from another planet ."; # the auto-global $_SESSION array was introduced in PHP 4.1.0 $_SESSION["spongebob"] = "He's got square pants .";


It may be any of the following: 	 If you need to update existing files over ftp, use ftp_connect().


mcrypt_module_is_block_algorithm 	 mcrypt_module_is_block_mode


The default config.m4 shown in Example 27-1 is a bit more complex: 	 The default config.m4 shown in דוגמה 28-2 '/ is a bit more complex:


See also rawurldecode(), urldecode(), urlencode() and RFC 1738 	 See also rawurldecode(), urldecode(), urlencode().


Disable GD support. 	 DIR is the cpdfllib install directory, defaults to / usr.


This function is an alias to imap_listscan() and is identical to it in every way. 	 This function is similar to imap_listmailbox(), but it will additionally check for the presence of the string content inside the mailbox data.


Set this option to a non-zero value if you want PHP to do a regular HTTP POST. 	 CURLOPT_POST: קבע את הערך לערך השונה מאפס אם ברצונך ש PHP תבצע HTTP POST רגיל.


Set this option to a non-zero value if you don 't want the body included with the output. 	 CURLOPT_NOBODY: קבע את הערך לערך השונה מאפס אם יש לאפשר ל body להכלל במידע הנשלח.


deaggregate 	 odbc_tables


The temporary filename of the file in which the uploaded file was stored on the server. 	 ב-PHP 4, ההתנהגות שונה במקצת, בכך שהמערך הגלובלי $HTTP_POST_FILES דואג להכיל מידע על הקובץ שהועלה. זה זמין רק אם track_vars מופעל, אבל track_vars תמיד מופעל בגירסאות PHP שבאו אחרי 4.0.2.


PEAR today includes a wide variety of infrastructure foundation classes for database access, content caching, mathematical calculations, eCommerce and much more. 	 מאז תחילת שנת 2000, PEAR הפך לפרוייקט גדול וחשוב שמפתחים רבים עובדים עליו על מנת לספק לקהילת מפתחי PHP תפקודיות נפוצה, שניתן לחזור עליה פעמים רבות. כיום PEAR כולל מספר רב של מחלקות בסיס לטיפול במסדי נתונים, חישובים מתמטיים, מסחר אלקטרוני ועוד.


The Zend IDE includes a debugger, and there are also some free debugger extensions like DBG at http: / /dd.cron.ru / dbg /, the Advanced PHP Debugger (APD) or Xdebug which even has a compatible debugger interface as PHP 3's debugging functionality as is described in this section. 	 The Zend IDE includes a debugger, and there are also some free debugger extensions like DBG at http: / /dd.cron.ru / dbg / or the Advanced PHP Debugger (APD).


See the description of PREG_SPLIT_OFFSET_CAPTURE. 	 This extension does not define any resource types.


If you are using $_SESSION (or $HTTP_SESSION_VARS), do not use session_register(), session_is_registered() and session_unregister(). 	 If you are using $HTTP_SESSION_VARS / $_SESSION, do not use session_register(), session_is_registered() and session_unregister().


When a parenthesized subpattern is quantified with a minimum repeat count that is greater than 1 or with a limited maximum, more store is required for the compiled pattern, in proportion to the size of the minimum or maximum. 	 When a parenthesized subpattern is quantified with a minimum repeat count that is greater than 1 or with a limited max - imum, more store is required for the compiled pattern, in proportion to the size of the minimum or maximum.


imagepolygon() creates a polygon in image id. points is a PHP array containing the polygon's vertices, ie. points[0] = x0, points[1] = y0, points[2] = x1, points[3] = y1, etc. num_points is the total number of points (vertices). 	 imagepolygon() creates a polygon in image id. points is a PHP array containing the polygon's vertices, ie. points[0] = x0, points[1] = y0, points[2] = x1, points[3] = y1, etc. num_points is the total number of vertices.


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


imap_qprint 	 imap_popen


For example, a true global variable imported inside a function scope with the global statement actually creates a reference to the global variable. 	 function Test () {$a = 0; echo $a; $a++;}


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


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


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


The file must be accessible to PHP, so you need to ensure that the file access permissions allow this access. 	 As of PHP 4.3.0 (not yet released), the header information can be retrieved using the file_get_wrapper_data().


?php / / Get a file into an array. 	 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.


get_html_translation_table 	 get_meta_tags


For our purposes here, a letter is a-z, A-Z, and the ASCII characters from 127 through 255 (0x7f-0xff). 	 ניתן להגדיר קבוע באמצעות שימוש בפונקציה define(). מהרגע שקבוע נוצר, לא ניתן לשנות את ערכו.


yaz_scan 	 yaz_search


pspell_new_config 	 pspell_new


For example, this code would display a is bigger than b if $a is bigger than $b, and would then assign the value of $a into $b: 	 לעיתים תהיו מעוניינים בהרצת מספר פקודות בתנאי מסויים. כמובן, אין צורך להתנות כל פקודה בנפרד במשפט if. אפשר פשוט ליצור קבוצת פקודות. לדוגמה, הסקריפט הבא ידפיס a is bigger than b אם $a גדול מ - $b, ויציב ערכו של $a לתוך המשתנה $b:


Some examples are: 	 form action=" foo.php "method="post" Name: input type="text "name="username" br input type="submit "/ form


mailparse_msg_get_part 	 mailparse_msg_get_part_data


This extension is not available on Windows platforms. 	 MCAL_RECUR_YEARLY


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


The file to write errors to instead of stderr. 	 CURLOPT_STDERR: הקובץ אליו יש לרשום את השגיאות במקום stderr.


If present, this function can reconstruct any resources that object may have. 	 ולהיפך, unserialize() בודק נוכחות של פונקציה עם מילת הקסם __wakeup. אם המילה נוכחת, פונקציה זו יכולה לבנות מחדש מקור כלשהו שיכול להיות לאובייקט.


The proper value can be retrieved by name by using getprotobyname(). 	 The two most common types are SOCK_DGRAM for UDP (connectionless) communication and SOCK_STREAM for TCP communication.


Build shared libraries [default=yes]. 	 Include mcrypt support.


Starting with PHP 4.3 you can also use fdf_open_string() which handles temporary file creation and cleanup for you. 	 A mechanism like for HTML form data where for each input field a variable is created does not exist.


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


PHP / Java Integration 	 Java


PHP supports eight primitive types. 	 PHP תומכת בשמונה סוגי נתונים.


fdf_header 	 fdf_get_value


h1 This is an ?php # echo "simple";? example. / h1 p The header above will say'This is an example '. 	 הערת ה "one-line" תכלול את כל הטקסט עד סוף השורה או עד תגית סגירה של PHP.


For long strings, this approach makes a significant difference to the processing time. 	 For long strings, this approach makes a significant difference to the process - ing time.


See also: iconv_get_encoding(), iconv_set_encoding(), and output-control functions. 	 See also: iconv_get_encoding() and iconv_set_encoding().


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. 	 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.


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


Use of undefined constant fruit - assumed 'fruit' in... print $arr[fruit]; / / apple / / Let's define a constant to demonstrate what's going on. 	 $error_descriptions[ 1] = "A fatal error has occured"; $error_descriptions[2] = "PHP issued a warning"; $error_descriptions[8] = "This is just an informal notice";


Home 	 Reference:


?php echo "a href=\"". htmlspecialchars(" / nextpage.php?stage=23 data= ". urlencode($data)). "\" \n";? 	 ?php echo "a href=\"". htmlspecialchars(" / nexpage.php?stage=23 data= ". urlencode($data)). "\" \n";?


The FDF toolkit library is available in binary form only, platforms supported by Adobe are Win32, Linux, Solaris and AIX. 	 You must download the FDF toolkit from http: / /partners.adobe.com / asn / developer / acrosdk / forms.html.


In PHP 4.0.3 and older, in order to use URL wrappers, you were required to configure PHP using the configure option --enable-url-fopen-wrapper. 	 הערה: לא ניתן להשתמש בקבצים מרוחקים בפקודות require() ו - include() תחת מערכת וינדוס.


The windows version of PHP The windows version of PHP has built in support for this extension. 	 These functions are available as part of the standard module, which is always available.


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. 	 SWFShape - setLeftFill - - Sets left rasterizing color.


In PHP 4.3.0 file() became binary safe. 	 As of PHP 4.3.0 you can use file_get_contents() to return the contents of a file as a string in a binary safe manner.


The mail command will not parse this properly while talking with the MTA. 	 הערה: וודא את זה שאין לך שום תו של שורה חדשה בפרמטר to או בפרמטר subject, אחרת הדואר לא ישלח היטב.


Session support is enabled in PHP by default. 	 Registering a variable with track_vars enabled


This might sound a bit confusing at first, but it' s not that complicated (see Figure 24-1). 	 This might sound a bit confusing at first, but it' s not that complicated (see תרשים 25-1).


In addition to providing end users with a solid infrastructure for lots of different databases, protocols and APIs, PHP 3.0 's extensibility features attracted dozens of developers to join in and submit new extension modules. 	 השפה החדשה שוחררה תחת שם חדש שהסיר את הרמיזה לכך שהשפה מוגבלת לשימוש פרטי בלבד. משמעותו של השם החדש, PHP הייתה ראשי תיבות רקורסיביים - 'PHP:


To enable Msession support configure PHP --with-msession[ =DIR], where DIR is the Msession install directory. 	 The session server software can be found at http: / /www.mohawksoft.com / phoenix /.


A list of predefined constants is available in the section Reserved predefined constants. 	 ?php function report_error( $file, $line, $message) {echo "An error occured in $file on line $line: $message .";} report_error(__FILE__, __LINE__, "Something went wrong !");?


(4.2.0 - 4.3.0 only) 	 (PHP 4 = 4.2.0)


Also note that foreach operates on a copy of the specified array, not the array itself, therefore the array pointer is not modified as with the each() construct and changes to the array element returned are not reflected in the original array. 	 הערה: שים לב גם לכך שלולאת foreach פועלת על שיכפול של המערך המסויים ולא על המערך עצמו ולכן ערכו של מצביע המערך אינו משתנה כמו בפקודת each().


imap_get_quotaroot 	 imap_get_quota


The current versions of PHP interpret the second assignment as a string offset identification, so $a becomes "f", the result of this automatic conversion however should be considered undefined. 	 Since PHP supports indexing into strings via offsets using the same syntax as array indexing, the example above leads to a problem: should $a become an array with its first element being "f", or should "f" become the first character of the string $a?


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


Setting the cache limiter to nocache disallows any client / proxy caching. 	 Setting the cache limiter to nocache, for example, would disallow any client-side caching.


pdf_setfont 	 pdf_setgray


5380 [1] = Threads: 	 5380 Threads:


Instead we call example() as a'class function ', that is, as a function of the class itself, not any object of that class. 	 הדוגמא שלמעלה קוראת לפונקציה example() שבתוך המחלקה A, אבל אין אובייקט למחלקה A, ולפיכך לא ניתן לכתוב $a - example() או משהו דומא. במקום זאת קראנו לפונקציה example() כ 'פונקצית מחלקה ', כלומר, היא משמשת כפונקציה של המחלקה עצמה, ללא אוביקט כלשהו של אותה מחלקה.


Returns TRUE on success or FALSE on failure. 	 It returns true on success and false if an error occurs.


cpdf_save_to_file 	 cpdf_rotate_text


Do not install PEAR. 	 Enable dmalloc.


The only way to test if cookies are accepted is to set one with setcookie(), reload, and check for the value. 	 Mozilla / 4.5 [en] (X11; U; Linux 2.2.9 i586) hr b browser_name_pattern: / b Mozilla / 4\.5.* br b parent: / b Netscape 4.0 br b platform: / b Unknown br b majorver: / b 4 br b minorver: / b 5 br b browser: / b Netscape br b version: / b 4 br b frames: / b 1 br b tables: / b 1 br b cookies: / b 1 br b backgroundsounds: / b br b vbscript: / b br b javascript: / b 1 br b javaapplets: / b 1 br b activexcontrols: / b br b beta: / b br b crawler: / b br b authenticodeupdate: / b br b msn: / b br


The file where the output of your transfer should be placed, the default is STDOUT. 	 CURLOPT_FILE: הקובץ אליו הפלט של ההעברה ינותב, ברירת המחדל היא STDOUT.


The first expression (expr1) is evaluated (executed) once unconditionally at the beginning of the loop. 	 הביטוי הראשון (expr1) מוערך (מורץ) פעם אחת בלבד וללא תנאים בתחילת הלולאה.


Logs in to the given FTP stream. 	 Logs in the given FTP stream.


Please do not forget the last backslash. ex: c:\php\extensions\ 	 You will need to change the 'extension_dir' setting to point to your php-install-dir, or where you have placed your php_*.dll files. ex: c:\php\extensions


The CURL handle, ch, is also deleted. 	 הפונקציה סוגרת CURL session ומשחררת את כל המשאבים. ה CURL handle, ch, נמחק אף הוא.


filepro_fieldcount 	 filepro


DomNode - set_namespace 	 DomNode - unlink_node


description 	 meaning


ini_get 	 ini_get_all


pdf_setrgbcolor_fill 	 pdf_setrgbcolor


The UDP protocol is based on this socket type. 	 AF_INET is typical used for internet based communication.


imap_mailboxmsginfo 	 imap_mail_compose


The Client Tools can be installed from the MS SQL Server CD or by copying ntwdblib.dll from \winnt\system32 on the server to \winnt\system32 on the PHP box. 	 You can use the Sybase extension to connect to MSSQL databases from other platforms.


gmp_com 	 gmp_div


cpdf_setgray 	 cpdf_setlinecap


For command line users, make sure that you either have the C+ + environment variables registered, or have run vcvars.bat, and then execute one of the following commands from the c:\work\php-4.x.x\win32 directory: 	 For command line users, make sure that you either have the C+ + environment variables registered, or have run vcvars.bat, and then execute one of the following:


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


This extension uses expat, which can be found at http: / /www.jclark.com / xml /. 	 The expat library should be installed somewhere your compiler can find it.


Returns TRUE on success or FALSE on failure. 	 define() returns TRUE on success and FALSE if an error occurs.


For example, $userfile_name will equal $_FILES[ 'userfile']['name'], $userfile_type will equal $_FILES['userfile']['type'], etc. 	 הגודל, ביחידות בייט (byte), של הקובץ שהועלה.


pg_fetch_assoc 	 pg_fetch_object


DomElement_get_attribute_node() 	 set_attribute_node


A common use for this socket type is to perform ICMP requests (like ping, traceroute, etc). 	 The type parameter selects the socket type.


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


This is a behavior similar to the include() This is a behavior similar to the include() statement, with the only difference being that if the code from a file has already been included, it will not be included again. 	 פקודת include_once() מספחת ומריצה או מעריכה קובץ מסויים. היתנהגותה זהה לפקודת include() עם הבדל יחיד שמתבטא בכך שאם קוד מקובץ מסויים כבר סופח במהלך הריצה של הסקריפט, הוא לא יסופח פעם נוספת. יש לעיין בתיעוד של פקודת include() למידע נוסף על אופן הפעולה של פקודה זו.


Warning: 	 copy()


See also is_null() and unset(). 	 $var = NULL;


If this flag is set, for every occuring match the appendant string offset will also be returned. 	 If order is not specified, it is assumed to be PREG_PATTERN_ORDER.


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


Example 3. ovrimos_result_all example 	 דוגמה 3. ovrimos_result_all example


The cookie file can be in Netscape format, or just plain HTTP-style headers dumped into a file. 	 CURLOPT_COOKIEFILE: העבר ערך מסוג מחרוזת המכיל את שם הקובץ המכיל את תוכן ה cookie. קובץ ה cookie יכול להיות בפורמט Netscapeת או ב HTTP-style headers רגילים שנשמרו בקובץ.


If a pattern starts with .* or .{ 0,} and the PCRE_DOTALL option (equivalent to Perl's / s) is set, thus allowing the. to match newlines, then the pattern is implicitly anchored, because whatever follows will be tried against every character position in the subject string, so there is no point in retrying the overall match at any position after the first. 	 If a pattern starts with .* or .{ 0,} and the PCRE_DOTALL option (equivalent to Perl's / s) is set, thus allowing the. to match newlines, then the pattern is implicitly anchored, because whatever follows will be tried against every charac - ter position in the subject string, so there is no point in retrying the overall match at any position after the first.


This feature requires IRCG 3. 	 This can be used to trigger a php script for example.


odbc_field_len() 	 satellite_caught_exception()


Appendix C. 	 נספח C.


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


Extending_Zend_Build.xml,v 1.8 2002 / 10 / 10 18:13:11 imajes Exp $dnl config.m4 for extension my_module dnl Comments in this file start with the string 'dnl'. dnl Remove where necessary. 	 Extending_Zend_Build.xml,v 1.6 2002 / 03 / 25 08:13:46 hholzgra Exp $dnl config.m4 for extension my_module dnl don' t forget to call PHP_EXTENSION(my_module) dnl If your extension references something external, use with:


Variables from outside PHP 	 משתנים מחוץ ל-PHP


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


pspell_new_personal 	 pspell_config_save_repl


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


The user must convert them in the script, if conversion is needed. 	 הערה: "Supported character encoding" does not mean that it works as internal character code.


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


PHP uses the presence of an AuthType directive to determine whether external authentication is in effect. 	 Remember to avoid this directive for the context where you want to use PHP authentication (otherwise each authentication attempt will fail).


C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32). 	 You must have iconv() function in standard C library or libiconv installed on your system. libiconv library is available from http: / /www.gnu.org / software / libiconv /.


This extension has no resource types defined. 	 MCAL_OCTOBER


session.use_trans_sid 	 extname.global_value


It works, because bar is due to its syntax expected to be a constant expression. 	 And, if these arguments don 't help: this syntax is simply deprecated, and it might stop working some day.


Servers-Apache 2.0 	 Servers-Caudium


See INSTALL for more information. 	 DIR is the recode install directory.


str_shuffle 	 strcasecmp


This does not indicate whether the user accepted the cookie. 	 This requires you to place calls to this function before any html or head tags.


So in the end, you don 't need to do any urlencoding / urldecoding yourself, everything is handled automagically. 	 בזמן שליחה, או דרך GET או דרך POST, המידע יומר לצורת urlencoded אוטומטית לפי הדפדפן בכדי להשלח, וגם אוטומטית יעבור urldecoded על-ידי PHP. כך שבסופו של דבר, אין לך צורך לבצע אף urldecoded או urldecoding בעצמך, הכל מתנהל בצורה אוטומטית.


Returns TRUE on success or FALSE on failure. socket_getsockname() may also return FALSE if the socket type is not any of AF_INET or AF_UNIX, in which case the last socket error code is not updated. 	 מחזיר TRUE במקרה של הצלחה או FALSE במקרה של כישלון. socket_getsockname() may also return FALSE if the socket type is not any of AF_INET or AF_UNIX, in which case the last socket error code is not updated.


PHP 5 is experimental. 	 PHP 4 היא הדור האחרון של PHP, שמשתמשת ב מנוע של Zend.


You can avoid this problem by using private_no_expire mode. 	 You can avoid this problem with private_no_expire mode.


We urge you to use the provided installation script. 	 IRCG-Library from Sascha Schumann.


socket_read() returns the data as a string on success, or FALSE on error. 	 Returns the data as string on success, FALSE on error.


imap_list 	 imap_listmailbox


When the whole pattern matches, that portion of the subject string that matched the subpattern is passed back to the caller via the ovector argument of pcre_exec(). 	 When the whole pattern matches, that por - tion of the subject string that matched the subpattern is passed back to the caller via the ovector argument of pcre_exec().


The former is provided by a SAPI module that interfaces with the Servlet server, the latter by this Java extension. 	 The former is provided by a SAPI module that interfaces with the Servlet server, the latter by the Java extension.


By convention constant identifiers are always uppercase. 	 השם של הקבוע מציית לאותם הכללים של כל תג בphp. שם קבוע תקין מתחיל באות לועזית או קו תחתית ההמשך יכול להיות מספר בלתי מוגבל של אותיות לועזיות, מספרים, או קווים תחתיים. כביטוי רגולרי, זה יכתב כך: [a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff ]*


For a simple test procedure, you can copy it to your htdocs directory and try it with the source in Example 29-1. 	 For a simple test procedure, you can copy it to your htdocs directory and try it with the source in דוגמה 30-1.


2 [2] = Questions: 	 1 Questions:


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


odbc_data_source 	 odbc_do


imagecreatefromgd 	 imagecreatefromgif


Sends a query to the connected server connection to ask for information about the specified user nick. 	 Sends a query to the connected server connection to send information for the specified user nick.


?php / / removes a file from the hard drive that / / the PHP user has access to. $username = $_SERVER[ 'REMOTE_USER']; / / using an authentication mechanisim $homedir = "/ home / $username"; $file_to_delete = basename("$userfile"); / / strip paths unlink ($homedir / $file_to_delete); $fp = fopen(" / home / logging / filedelete.log" ,"+a"); / /log the deletion $logstring = "$username $homedir $file_to_delete"; fputs ($fp, $logstring); fclose($fp); echo "$file_to_delete has been deleted !";? 	 ?php / / removes a file from the hard drive that / / the PHP user has access to. $username = $HTTP_SERVER_VARS[ 'REMOTE_USER']; / / using an authentication mechanisim $homedir = "/ home / $username"; $file_to_delete = basename("$userfile"); / / strip paths unlink ($homedir / $file_to_delete); $fp = fopen(" / home / logging / filedelete.log" ,"+a"); / /log the deletion $logstring = "$username $homedir $file_to_delete"; fputs ($fp, $logstring); fclose($fp); echo "$file_to_delete has been deleted !";?


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


(4.1.0 - 4.3.0 only) 	 (PHP 4 = 4.1.0)


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


'w' - Open for writing only; place the file pointer at the beginning of the file and truncate the file to zero length. 	 If filename begins with anything else, the file will be opened from the filesystem, and a file pointer to the file opened is returned.


array( [key =] value,...) / / key is either string or nonnegative integer / / value can be anything 	 For more information about those structures, we refer you to external literature about this broad topic.


Example 1. modifying an attribute 	 דוגמה 1. modifying an attribute


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


SWFText - addString 	 SWFSprite - add


You 're supposed to know what T_SR means. 	 You 're supposed to know that T_SR means.


ldap_bind() does a bind operation on the directory. bind_rdn and bind_password are optional. 	 Binds to the LDAP directory with specified RDN and password. מחזיר TRUE במקרה של הצלחה או FALSE במקרה של כישלון.


From the users point of view it would be more straight forward if the URL http: / /your.hostname / name_of_object From the users point of view it would be more straight forward if the URL http: / /your.hostname / name_of_object would return the object. 	 The URL http: / /your.hostname / Hyperwave / name_of_object The URL http: / /your.hostname / Hyperwave / name_of_object would than return the Hyperwave object with the name 'name_of_object'.


class_exists 	 get_class


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


Where the sendmail program can be found, usually / usr / sbin / sendmail or / usr / lib / sendmail. configure does an honest attempt of locating this one for you and set a default, but if it fails, you can set it here. 	 כשהפרמטר sendmail הוא תוכנה שיכולה להמצא לרוב ב - / usr / sbin / sendmail או / usr / lib / sendmail עושה נסיון אמיתי של חיפוש תוכנה זו וקובעת ברירת מחדל, אבל אם היא לא מצליחה אתה יכול לקבוע זאת כאן.


cpdf_continue_text 	 cpdf_closepath_fill_stroke


aspell_check 	 aspell_new


PHP_INI_SYSTEM allows a change only directly in the php.ini file; PHP_INI_USER allows a change to be overridden by a user at runtime using additional configuration files, such as .htaccess; and PHP_INI_ALL PHP_INI_SYSTEM allows a change only directly in the php.ini file; PHP_INI_USER allows a change to be overridden by a user at runtime using additional configuration files, such as .htaccess; and PHP_INI_ALL allows changes to be made without restrictions. 	 PHP_INI_SYSTEM allows a change only directly in the php3.ini file; PHP_INI_USER allows a change to be overridden by a user at runtime using additional configuration files, such as .htaccess; and PHP_INI_ALL PHP_INI_SYSTEM allows a change only directly in the php3.ini file; PHP_INI_USER allows a change to be overridden by a user at runtime using additional configuration files, such as .htaccess; and PHP_INI_ALL allows changes to be made without restrictions.


Servers-Sambar 	 שרתים-Xitami


filePro functions 	 filepro


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


; This is a sample configuration file; Comments start with ';', as in php.ini [first_section] one = 1 five = 5 animal = BIRD [second_section] path = / usr / local / bin URL = "http: / /www.example.com / ~username " 	 ; This is a sample configuration file; Comments start with ';', as in php.ini [first_section] one = 1 five = 5 [second_section] path = / usr / local / bin


?php $a = array ('test '= 1, 'hello' = NULL); var_dump (isset ($a['test'])); / / TRUE var_dump (isset ($a['foo'])); / / FALSE var_dump (isset ($a['hello'])); / / FALSE / / The key'hello 'equals NULL so is considered unset / / If you want to check for NULL key values then try: var_dump (array_key_exists('hello', $a)); / / TRUE? 	 ?php $a = array ('test '= 1, 'hello' = null); echo isset ($a['test']); / / TRUE echo isset ($a['foo']); / / FALSE echo isset ($a['hello']); / / FALSE echo array_key_exists('hello', $a); / / TRUE?


parent 	 orbit_exception_value


The parameters must be UTF-8 encoded and their values will be interpreted as strings by the Sablotron processor. 	 Finally, the last argument to the xslt_process() function is any parameters that you want to pass to the XSLT document.


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


The libiconv library is available from http: / /www.gnu.org / software / libiconv /. 	 Note that iconv() function in some system is not work well as you expect.


eregi 	 split


Legendary PHP 1.0, PHP / FI, PHP 3.0 and PHP 4.0. 	 PHP 1.0, PHP / FI, PHP 3.0 ו-PHP 4.0.


?php function show_Spanish( $n, $m) {return "The number $n is called $m in Spanish";} function map_Spanish($n, $m) {return array ($n = $m);} $a = array(1, 2, 3, 4, 5); $b = array("uno", "dos", "tres", "cuatro", "cinco"); $c = array_map("show_Spanish", $a, $b); print_r($c); $d = array_map("map_Spanish", $a, $b); print_r($d);? 	 function show_Spanish( $n, $m) {return "The number $n is called $m in Spanish";} function map_Spanish($n, $m) {return array ($n = $m);} $a = array(1, 2, 3, 4, 5); $b = array("uno", "dos", "tres", "cuatro", "cinco"); $c = array_map("show_Spanish", $a, $b); print_r($c); $d = array_map("map_Spanish", $a, $b); print_r($d);


Example 1. gettext() -check 	 דוגמה 1. gettext() -check


file 	 file_register_wrapper


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


Character encoding is converted using output buffer. 	 Make sure to use character encoding works with PHP mbstring.internal_encoding = UTF-8; Set internal encoding to UTF-8;; Set default HTTP input character encoding;; Note:


SWFAction 	 SWFBitmap


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


assert_options 	 PHP Options Information


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


If you then assign an integer value to $var, it becomes an integer. 	 If you then assign an integer value to var, it becomes an integer.


This extension has no configuration directives defined in php.ini. 	 Note that ClibPDF has a slightly different API compared to PDFlib.


recode 	 recode_string


mhash 	 Microsoft SQL Server functions


PEAR, the PHP Extension and Application Repository (originally, PHP Extension and Add-on Repository) is PHP's version of foundation classes, and may grow in the future to be one of the key ways to distribute both PHP and C-based PHP extensions among developers. 	 PEAR, ראשי תיבות של 'PHP Extension and Application Repository',מאגר ההרחבות והיישומים של PHP (במקור, ראשי התיבות היו: 'PHP Extension and Add-On Repository', מאגר ההרחבות והתוספים של PHP) הוא פרוייקט של PHP שמטרתו לשמש כמאגר מחלקות בסיס, בעתיד הוא עשוי להיות אחד המקורות החשובים להפצת הרחבות מבוססות C ומבוססות PHP בין המפתחים.


This extension has no configuration directives defined in php.ini. 	 This will not be the case if you just unpack the FdfTk distribution.


"Extending PHP" is easier said than done. 	 What Is Zend? and What Is PHP?


Example 12-9. include_once() is case sensitive 	 דוגמה לשימוש ב - require_once() ו - include_once() ניתן למצוא בקוד של PEAR שמצורף לגרסת PHP האחרונה.


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. 	 Returns a result identifier containing the information.


call_user_method_array 	 call_user_method


An object with name parent / my_object could be the child of my_object in the Hyperwave hierarchy, though in a web namespace it appears to be just the opposite and the user might get confused. 	 An object with name 'parent / my_object' could be the child of 'my_object 'in the Hyperwave hierarchy, though in a web namespace it appears to be just the opposite and the user might get confused.


pdf_set_text_matrix 	 pdf_set_text_pos


?php / / prints something like: 	 דוגמה 3. date() and mktime() example


yaz_search() prepares for a search on the connection given by id. 	 yaz_search() prepares for a search on the target with given id.


PHP (recursive acronym for "PHP: 	 PHP (נוטריקון רקורסיבי ל "PHP:


Include vpopmail support. 	 DIR is the LDAP base install directory.


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


hw_api_content 	 hw_api - object


Example 2. test_script.php 	 דוגמה 2. test_script.php


hw_api - userlist 	 icap_store_event


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


Call a user defined function given by the function parameter. 	 Call a user defined function given by the function_name parameter.


Sorting type flags: used by various sort functions 	 CASE_UPPER and CASE_LOWER are used with the array_change_key_case() CASE_UPPER and CASE_LOWER are used with the array_change_key_case() function.


00 through 23 	 H - hour, 24-hour format; i.e. "00 "to "23"


Returns TRUE on success or FALSE on failure. 	 It is useful for error recovery. מחזיר TRUE במקרה של הצלחה או FALSE במקרה של כישלון.


See also: require(), include(), include_once(), get_required_files(), get_included_files(), readfile(), and virtual(). 	 מידע נוסף ניתן למצוא בפרקים: require(), include(), include_once(), get_required_files(), get_included_files(), readfile(), ו - virtual().


The following example would display a is bigger than b if $a is bigger than $b: 	 הדוגמה הבאה תדפיס a is bigger than b אם $a גדול מ - $b:


pdf_setgray 	 pdf_setlinecap


1321299 [3] = Slow queries: 	 1321299 Slow queries:


PHP functions that return a resource are identified by having a return type of resource in their function definition. 	 PHP functions that return a resource are identified by having a return type of resource in their function definitions.


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


Do this by passing an associative array as ctcp_messages. 	 Currently ircg_pconnect() always returns a valid handle, even if the connection failed.


You can find a browscap.ini file at http: / /www.garykeith.com / browsers / downloads.asp. 	 ניתן למצוא את הקובץ browscap.ini ב - http: / /www.cyscape.com / asp / browscap /.


Using error handling in a script 	 Fore more Information see the section Error Handling.


cpdf_save 	 cpdf_scale


Example 1. eval() example - simple text merge 	 דוגמה 1. eval() example - simple text merge


mb_regex_set_options 	 mb_regex_encoding


Call this function before yaz_search() or yaz_present() to specify the element set name for records to be retrieved. 	 This function is used in conjunction with yaz_search() and yaz_present() to specify the element set name for records to be retrieved.


If the variable being unserialized is an object, after successfully reconstructing the object PHP will automatically attempt to call the __wakeup() member function (if it exists). 	 דוגמה 1. unserialize_callback_func example


pdf_setpolydash 	 pdf_setrgbcolor


get_declared_classes 	 get_class_methods


Do you like yellow? * /? 	 Do you like yellow? * /


Write A::example() to do this (in fact, you should be writing parent::example(), as shown in the next section). 	 בדוגמא שמעל, המחלקה B מגדירה מחדש את הפונקציה example(). ההגדרה המקורית בתוך המחלקה A "מוצללת "ולא מתקיימת למעשה, עד אשר מייחסים ספציפית למימוש של example() שבתוך המחלקה A תוך שימוש באופרטור::. הכתיבה של A::example() עושה זאת (למעשה, רצוי לכתוב: parent::example(), כפי שיודגם בחלק הבא).


If you prefer this file in another location, use --with-config-file-path= / path in step 10. 	 If you prefer this file in another location, use --with-config-file-path= / path in step 8.


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


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


So, you 'd access these variables like any other described within the section on retrieving variables from outside of PHP. 	 מאחר ש-$foo.x ו-$foo.y אינם משתנים שמתקבלים על-ידי PHP, שמותיהם מומרים אוטומטית ל-$foo_x ו-$foo_y. מה שבעצם קורה הוא שהנקודות במשתנים מוחלפות בקוים תחתונים.


Using $_FILES is preferred. 	 $userfile - שם הקובץ הזמני שבו אוחסן הקובץ שהועלה לשרת.


17 [7] = Queries per second avg: 	 17 Queries per second avg:


It can be either TRUE or FALSE. 	 הסוג הבוליאני הוא הסוג הפשוט ביותר. הוא מבטא ערך של אמת או שקר. הערך שלו יכול להיות TRUE או FALSE.


The type represents the query type - only "rpn" is supported now in which case the third argument specifies a Type-1 query in prefix query notation. 	 The type represents the query type - only "rpn" is supported now in which case the third argument specifies a Type-1 query (RPN).


atan 	 atanh


DomElement - get_attribute_node 	 DomDocumentType - system_id


Like htmlspecialchars(), it takes an optional third argument which defines character set used in conversion. 	 Here is an example of how to do this.


Example 1. swfdisplayitem - rotateto() example 	 דוגמה 1. swfdisplayitem - rotateto() example


Use of this function is recommended instead of addslashes(). 	 Use of this functon is recommended instead of addslashes().


PHP includes several functions which find out what type a variable is, such as: gettype(), is_array(), is_float(), is_int(), is_object(), and is_string(). 	 ב - PHP אין הפרדה בין סוגי משתנים ובדרך-כלל התבצעות המרות לפי הצורך ולכן לא תמיד ברור מהו סוג המשתנה בכל זמן נתון. ב - PHP מספר פונקציות למציאת סוג המשתנה: gettype(), is_long(), is_double(), is_string(), is_array(), ו - is_object().


See the Session handling functions section for more information. 	 מערך אסוציאטיבי הממזג את כל המידע ממשתני GET, POST ו-Cookie. במילים אחרות, הוא מכיל את כל המידע המגיע מהמשתמש ומבחינת אבטחת מידע אינו מומלץ לשימוש כי לא ניתן לבטוח במידע זה. נוסף ל-PHP החל מגרסה 4.1.0.


The complex syntax was introduced in PHP 4, and can be recognised by the curly braces surrounding the expression. 	 The complex syntax was introduced in PHP 4, and can by recognised by the curly braces surrounding the expression.


In order to use variable variables with arrays, you have to resolve an ambiguity problem. 	 שתי הדוגמאות ידפיסו: hello world.


cpdf_closepath 	 cpdf_closepath_stroke


Example 1. getimagesize (file) 	 דוגמה 1. getimagesize (file)


Using UDP connection 	 דוגמה 1. fsockopen() Example


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


For a list of all directives, please read your well commented php.ini file. 	 The format is like the system 's PATH environment variable: a list of directories separated with a colon in UNIX or semicolon in Windows.


array_reduce() applies iteratively the function function to the elements of the array input, so as to reduce the array to a single value. 	 array_reduce() applies iteratively the callback function to the elements of the array input, so as to reduce the array to a single value.


$fields[ "ti"] = "1=4"; $fields["au"] = "1=1"; $fields["isbn"] = "1=7"; yaz_ccl_conf($id,$fields); 	 $field[ "ti"] = "1=4"; $field["au"] = "1=1"; $field["isbn"] = "1=7"; yaz_ccl_conf($id,$field);


You can prevent a recognized character in the format string from being expanded by escaping it with a preceding backslash. 	 echo date( "l \\t\h\e jS"); / / prints something like 'Saturday the 8th '


Everytime an undefined class should be instantiated, it 'll be called. 	 It' s possible to set a callback-function which will be called, if an undefined class should be instanciated during unserializing. (to prevent getting an incomplete object "__PHP_Incomplete_Class".) Use your php.ini, ini_set() or .htaccess-file to define 'unserialize_callback_func '.


internal_encoding and output_encoding should be defined by iconv_set_encoding() or in the configuration file php.ini. 	 internal_encoding and output_encoding should be defined by iconv_set_encoding() or in configuration file.


1 to 31 	 j - day of the month without leading zeros; i.e. "1 "to "31"


shm_remove_var 	 shm_remove


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


cpdf_setlinecap 	 cpdf_setgray_fill


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


As an Apache module, open_basedir paths from parent directories are now automatically inherited. 	 For practical reasons it 's currently not allowed to have.. components in the path to the executable.


xmlrpc_encode_request 	 xmlrpc_decode_request


PHP 4 is currently the latest released version of PHP. 	 PHP 4 היא הגרסה האחרונה של PHP. העבודה על שיפור מנוע Zend לקראת PHP 5.0 כבר החלה.


Consider unresolved documents (the document() function) non-lethal. 	 If you need support for the old extension, please ask your questions on the php-general@lists.php.net mailing list.


See the recode extension for more information. 	 The behaviour of the MySQL functions is affected by settings in the global configuration file php.ini.


This is accomplished via MIME-encoding - for more information, see this Zend article or the PEAR Mime Classes. 	 RFC 1896, RFC 2045, RFC 2046, RFC 2047, RFC 2048, ו RFC 2049.


See also: ircg_register_format_messages(). 	 See also: ircg_register_format_messages() and ircg_lookup_format_messages().


Please read the section on Booleans for more information. 	 פונקציה זו עשוייה להחזיר FALSE אך כמו כן, עשוייה להחזיר ערך זהה ל FALSE במשפט התנייה פשוט. יש להשתמש ב אופרטור === בבדיקת הערך המוחזר מפונקציה זו.


The parameter list of this declaration is very important; you should keep these parameters in mind (see Table 31-1 for descriptions). 	 The parameter list of this declaration is very important; you should keep these parameters in mind (see טבלה 32-1 for descriptions).


pg_ping 	 pg_pconnect


MYSQL_BOTH 	 MYSQL_USE_RESULT


Your entries should look like this: 	 For Windows NT, mkdir %SystemDrive%\tmp.


File is in wrong directory in / docroot / script.php on line 2 	 In safe mode, headers beginning with 'authorization' (case-insensitive) will not be returned.


mime_content_type 	 mhash_keygen_s2k


See also htmlspecialchars(), htmlentities(), wordwrap(), and str_replace(). 	 See also htmlspecialchars(), htmlentities() and wordwrap().


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


This extension has no configuration directives defined in php.ini. 	 thttpd webserver


1 [6] = Open tables: 	 1 Open tables:


Since PHP 4.3.0, the year parameter is optional and defaults to the current year according to the localtime if ommited. 	 If no year is specified, the current year is assumed.


Beginning with PHP 4.3, getimagesize() also returns an additional parameter, mime, that corresponds with the MIME type of the image. 	 Currently this will return the different JPG APP markers in an associative Array.


See also NULL, is_bool(), is_numeric(), is_float(), is_int(), is_string(), is_object(), is_array(), is_integer(), and is_real() 	 See also is_bool(), is_numeric(), is_float(), is_int(), is_string(), is_object(), is_array(), is_integer(), and is_real()


Set this option to a non-zero value if you want CURL to report everything that is happening. 	 CURLOPT_VERBOSE: קבע את הערך לערך השונה מאפס אם יש לאפשר ל CURL לדווח על כל אשר קורה.


cpdf_finalize 	 cpdf_finalize_page


mysql_client_encoding() returns the default character set name for the current connection. 	 mysql_character_set_name() returns the default character set name for the current connection.


mailparse_msg_extract_part 	 mailparse_msg_free


PHP defines a set of macros that can be used in this process, the most useful of which are described in Table 41-1. 	 PHP defines a set of macros that can be used in this process, the most useful of which are described in טבלה 42-1.


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


Give the name of the HTTP proxy to tunnel requests through. 	 CURLOPT_PROXY: ציין את שם ה HTTP proxy שהבקשות יועברו דרכו.


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


Secondly, the function names follow the PHP naming convention. 	 First, all class attributes are implemented as functions with the same name and secondly the function names follow the PHP naming convention.


PHP programmers should be familiar with processing instructions (PIs) already. ?php? is a processing instruction, where php is called the "PI target ". 	 PHP programmers should be familiar with processing instructions (PIs) already. ?php? is a processing instruction, where php PHP programmers should be familiar with processing instructions (PIs) already. ?php? is a processing instruction, where php is called the "PI target ".


Then, start writing code and repeat the last two steps as often as necessary. 	 You could also specify build instructions for other files if your module is built from multiple source files.


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


?php $a = array( 1 = 'one', 2 = 'two', 3 = 'three'); unset($a[2]); / * will produce an array that would have been defined as $a = array(1 = 'one', 3 = 'three'); and NOT $a = array(1 = 'one', 2 = 'three'); * / $b = array_values($a); / / Now b is array(1 = 'one', 2 = 'three')? 	 $a = array( 1 = 'one', 2 = 'two', 3 = 'three '); unset ($a[2]); / * will produce an array that would have been defined as $a = array (1= 'one', 3= 'three'); and NOT $a = array (1 = 'one', 2 = 'three'); * /


Deprecated. 	 (PHP 3 = 3.0.7, PHP 4)


Returns the newly created directory name on success or FALSE on error. 	 Returns the newly created directory name on success, FALSE on error.


?php / / Turn off all error reporting error_reporting( 0); / / Report simple running errors error_reporting (E_ERROR _BAR_ E_WARNING _BAR_ E_PARSE); / / Reporting E_NOTICE can be good too (to report uninitialized / / variables or catch variable name misspellings...) error_reporting (E_ERROR _BAR_ E_WARNING _BAR_ E_PARSE _BAR_ E_NOTICE); / / Report all errors except E_NOTICE / / This is the default value set in php.ini error_reporting (E_ALL ^ E_NOTICE); / / Report all PHP errors (bitwise 63 may be used in PHP 3) error_reporting (E_ALL); / / Same as error_reporting(E_ALL); ini_set ('error_reporting', E_ALL);? 	 error_reporting (55); / / PHP 3 equivalent to E_ALL ^ E_NOTICE / * ...in PHP 4, '55 'would mean (E_ERROR _BAR_ E_WARNING _BAR_ E_PARSE _BAR_ E_CORE_ERROR _BAR_ E_CORE_WARNING) * / error_reporting (2039); / / PHP 4 equivalent to E_ALL ^ E_NOTICE error_reporting (E_ALL ^ E_NOTICE); / / The same in both PHP 3 and 4


The original name of the file on the client machine. 	 $userfile_size - הגודל של הקובץ ביחידות של בייט (byte)


?php $rest = substr( "abcdef", 1); / / returns "bcdef "$rest = substr("abcdef", 1, 3); / / returns "bcd" $rest = substr("abcdef", 0, 4); / / returns "abcd "$rest = substr("abcdef", 0, 8); / / returns "abcdef" / / Accessing via curly braces is another option $string = 'abcdef'; echo $string{0}; / / returns a echo $string{3}; / / returns d? 	 $rest = substr( "abcdef", 1); / / returns "bcdef "$rest = substr("abcdef", 1, 3); / / returns "bcd" $rest = substr("abcdef", 0, 4); / / returns "abcd "$rest = substr("abcdef", 0, 8); / / returns "abcdef"


If you choose the default files handler, this is the path where the files are created. 	 Since PHP must know which global variables are registered as session variables, users must register variables with session_register() function while $HTTP_SESSION_VARS / $_SESSION does not need to use session_register().


There are still some things to do: 	 There are still some things todo:


pdf_set_text_pos 	 pdf_set_value


To use them, you need to know about objects. 	 SWFTextField - setMargins - - Sets the margins width of the text field.


Pass a string formatted in the [username] :[password] manner, for PHP to use for the connection. 	 CURLOPT_USERPWD: העבר ערך מסוג מחרוזת בפורמט [username] :[password], כדי ש PHP תשתמש בו עבור ההתחברות.


openssl_pkey_export 	 openssl_pkey_new


php $result = mysql_query( "SELECT * WHERE 1=1") or die("Invalid query: ". mysql_error());? 	 php $result = mysql_query( "SELECT * WHERE 1=1") or die("Invalid query");?


com_load_typelib 	 com_load


As always you can calculate the logarithm in base b of a number n, but using the mathematical identity: log b (n) = log(n) / log(b), where log is the neperian (or natural) logarithm. 	 Returns the natural logarithm of arg.


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


If your email address was joeblow@example.com, you can send your subscription request to php-general-subscribe-joeblow=example.com@lists.php.net, or your unsubscription request to php-general-unsubscribe-joeblow=example.com@lists.php.net. 	 אם נוצרות בעיות ברישום או בהסרת רישום מרשימת התפוצה php-general, כנראה שדבר זה קורה בגלל שתוכנת רשימות התפוצה לא מצליחה לזהות את כתובת האי-מייל הנחוצה לשימוש ברשימה. לדוגמא, אם כתובת הדואר שלך הייתה joeblow@example.com, יש באפשרותך לשלוח את בקשת ההרשמה ל php-general-subscribe-joeblow=example.com@lists.php.net, או לשלוח את בקשת המחיקה מהרשימה ל php-general-unsubscribe-joeblow=example.com@lists.php.net. השתמש באותה צורת כתובת לרשימות התפוצה האחרות.


By doing this, you avoid using the name of your base class in more than one place. 	 במקום להשתמש בשם המילולי (ליטרלי) של המחלקת הבסיס של הקוד, רצוי לבצע שימוש ב שם המיוחד parent, שלמעשה מצביע על השם של מחלקת הבסיס כפי שנכתבה תוך שימוש בהכרזה extends במחלקה שלך. בעזרת שימוש גזה, נמנעים משימוש בשם של מחלקת הבסיס ביותר ממקום אחד. ככה, כשעושים שינוי במימוש של ההורשות, מספיק לשנות את השם המוכרז extends שנמצא בהכרזה על המחלקה.


msession_get_array 	 msession_get


1 through 12 	 n - month without leading zeros; i.e. "1 "to "12"


For example: 	 unlink()


Make sure to take daylight saving time and leap years into consideration when working with these functions. 	 Especially consider daylight saving time settings and leap years.


For related information on this change, read the configuration entry for register_globals, the security chapter on Using Register Globals, as well as the PHP 4.1.0 and 4.2.0 Release Announcements. 	 תכולת כותר ה - Accept: בפנייה הנוכחית, אם קיים כותר כזה.


In this case, $_FILES[ 'userfile']['name'][0] would contain the value review.html, and $_FILES['userfile']['name'][1] would contain the value xwp.out. 	 לדוגמה, בהנחה שהקבצים / home / test / review.html ו - / home / test / xwp.out נשלחו. במקרה הזה, $userfile_name[ 0] יכיל את הערך review.html, ו - $userfile_name[1] יכיל את הערך xwp.out. באותו האופן, $userfile_size[0] יכיל את גודל הקובץ review.html וכיוצא בזה.


For command line users, make sure that you either have the C+ + environment variables registered, or have run vcvars.bat, and then execute one of the following commands: 	 Make another directory and unzip bindlib_w32.zip into it.


If you would like to force a variable to be converted to a certain type, you may either cast the variable or use the settype() function on it. 	 בשביל לשנות סוג של משתנה, ניתן להשתמש ב המרה (cast) או להשתמש בפונקציית settype().


The main goal of the language is to allow web developers to write dynamically generated webpages quickly, but you can do much more with PHP. 	 Hypertext Preprocessor ", היא שפת סקריפט בעלת קוד פתוח לשימוש כללי ומותאמת במיוחד לפיתוח באינטרנט ויכולה להשתלב בעמודי HTML. התחביר שאוב משפת C, JAVA ופרל והשפה קלה ללמידה. המטרה העיקרית של השפה היא לאפשר למפתחים ברשת לכתוב עמודים הנוצרים בצורה דינאמית ובמהירות אך אפשר לעשות עוד המון דברים בעזרת PHP.


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


fdf_set_target_frame 	 fdf_set_value


Analogous to the old $HTTP_SERVER_VARS array (which is still available, but deprecated). 	 כתובת ה-URI המשמשת לגישה לעמוד הנוכחי. לדוגמה: / index.html '.


With this extension you can easily implement a Z39.50 origin (client) that searches or scans Z39.50 targets (servers) in parallel. 	 This extension offers a PHP interface to the YAZ toolkit that implements the Z39.50 protocol for information retrieval.


Can I run several versions of PHP at the same time? 	 4. האם ניתן להריץ כמה גירסאות של PHP בעת ובעונה אחת?


Before the replacement newnode is copied if it has a parent to make sure a node which is already in the document will not be inserted a second time. 	 This function replaces an existing node with the passed new node.


Publications about PHP 	 פרסומים על PHP


This means that you do not need to call reset() before a foreach loop. 	 הערה: כאשר מתחיל ביצוע לולאת foreach, ערכו של המצביע הפנימי מאותחל לאבר הראשון במערך. כלומר, אין צורך לבצע קריאה לפונקציה reset() לפני לולאת foreach.


The first is an indexing mechanism (indexer). 	 If you installed mnogosearch at other path you should specify it: --with-mnogosearch=DIR.


openssl_csr_export 	 openssl_csr_export_to_file


The syntax of declare is similar to the syntax of other flow control constructs: 	 מבנה ה - declare משמש לקביעת הוראת הפעלה לגבי בלוק מסויים. התחביר דומה לתחביר של מבני-בקרה אחרים:


If this directive is empty, PHP will let the user modify ANY environment variable! 	 sql_safe_mode restrictions, (!= safe mode)


Example 3. swfaction() example 	 דוגמה 3. swfaction() example


See also session_start(), session_set_save_handler(), and session.save_handler. 	 See also session_start().


Example 3. mysql_fetch_array with MYSQL_ASSOC 	 דוגמה 3. mysql_fetch_array with MYSQL_ASSOC


Simple cases such as the above example can be thought of as a maximizingSimple cases such as the above example can be thought of as a maximizing repeat that must swallow everything it can. 	 Simple cases such as the above example can be thought of as a max-Simple cases such as the above example can be thought of as a max - imizing repeat that must swallow everything it can.


The behaviour of these functions is affected by settings in php.ini. 	 They have been added in PHP 4 (4.0.4).


If you want to output some binary data such as image from PHP script with PHP 4.2.x or earlier, you must set output encoding to "pass" using mb_http_output(). 	 If you want to output some binary data such as image from PHP script, you must set output encoding to "pass" using mb_http_output().


Next month followed a German book authored by Egon Schmid, Christian Cartus and Richard Blume. 	 ככל הידוע לנו, הספר הראשון שנכתב על PHP היה 'php-dynamische webauftritte professionell realisieren', ספר בגרמנית שיצא לאור בשנת 1999 ונכתב על ידי אגון שמיד, כריסטיאן קרטוס וריצ'רד בלום (Egon Schmid,Christian Cartus,Richard Blume). הספר הראשון על PHP בשפה האנגלית יצא לאור זמן קצר לאחר מכן ונקרא 'Core PHP Programming' מאת לאון אטקינסון (Leon Atkinson). שני הספרים נכתבו על PHP 3.0.


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


Prev 	 מדריך PHP


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


It is your responsibility to propagate the call to constructors upstream where appropriate. 	 לא PHP 3 ולא PHP 4 קוראים לבנאי של מחלקת הבסיס אוטומטית מבנאי של מחלקה נגזרת. זה באחריות המשתמש לקורא לפונקציה הבנאית של מחלקת הבסיס במקרה כזה.


cpdf_setrgbcolor 	 cpdf_show


See the manual section about building PHP from source on Windows. 	 דבר ראשון, חובה עליך שתהיה ברשותך תוכנת Microsoft Visual C+ + בגירסה 6 (5 גם יכולה לעבוד, אבל אנחנו עושים זאת בגירסה 6), וצריכים להמצא גם כמה קבצי תמיכה. ניתן לבדוק זאת במדריך תחת מדור בניית PHP מקוד המקור תחת חלונות.


Configuration directives 	 Configuration


You can also write to files on an FTP server (provided that you have connected as a user with the correct access rights). 	 ?php $file = fopen ("http: / /www.php.net / ", "r"); if (!$file) {echo" p Unable to open remote file.\n"; exit;} while (!feof ($file)) {$line = fgets ($file, 1024); / * This only works if the title and its tags are on one line * / if (eregi ("title (.*) / title", $line, $out)) {$title = $out[1]; break;}} fclose($file);?


A full numeric representation of a year, 4 digits 	 y - year, 2 digits; e.g. "99 "


?php preg_match_all ("_BAR_ [^] + (.*) / [^] + _BAR_U"," b example: / b div align=left this is a test / div ", $out, PREG_PATTERN_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_PATTERN_ORDER); print $out[0][0] .", ".$out[0][1] ."\n"; print $out[1][0] .", ".$out[1][1] ."\n";


md5_file 	 ltrim


In an effort to cooperate and start building upon PHP / FI 's existing user-base, Andi, Rasmus and Zeev decided to cooperate and announce PHP 3.0 as the official successor of PHP / FI 2.0, and development of PHP / FI 2.0 was mostly halted. 	 אחת מהיתרונות הגדולים ביותר של PHP 3.0 היה יכולות ההרחבה שלה. בנוסף לתמיכה במסדי נתונים, פרוטוקולים וממשקי תכנות (APIs), יכולות ההרחבה של PHP 3.0 משכו מתכנתים רבים להצטרף לשלוח רכיבי הרחבה חדשים. זה היה אחד מהגורמים להצלחה המסחררת של PHP 3.0. בין התכונות האחרות שהוצגו ב-PHP 3.0 ניתן למצוא את המעבר לתחביר של תכנות מונחה עצמים והפיכתו של התחביר ליותר עקבי.


See also list(), foreach, each(), and call_user_func_array(). 	 See also each() and list().


pdf_open 	 pdf_open_tiff


Example 3. getimagesize() and MIME types 	 Some Programs use these APP markers to embedd text information in images.


dba_list 	 dba_insert


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


mailparse_msg_get_part_data 	 mailparse_msg_free


0 [4] = Opens: 	 1 Opens:


cpdf_setrgbcolor_fill 	 cpdf_setrgbcolor


mb_eregi 	 mb_get_info


msession_get 	 msession_get_array


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


Note that ZZIPlib only provides a subset of functions provided in a full implementation of the ZIP compression algorithm and can only read ZIP file archives. 	 Please note that ZZIPlib only provides a subset of functions provided in a full implementation of the ZIP compression algorithm and can only read ZIP file archives.


ovrimos_result 	 ovrimos_rollback


__LINE__ 	 הסתכל בסוג null).


php4 / TSRM 	 TSRM


fprintf 	 get_html_translation_table


odbc_result_all 	 odbc_procedures


swffont - getwidth 	 SWFFill - moveTo


This setting cannot be empty but you can specify a list of encodings supported by mbstring. 	 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.


Example 12-3. 	 דוגמה 11-3. דוגמה בסיסית ל - include()


This extension has no configuration directives defined in php.ini. 	 This extension does not define any configuration directives.


mode specifies the type of access you require to the stream. 	 If the remote file already exists on the ftp server and you attempt to open it for writing, this will fail.


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


An expanded mysql_fetch_assoc() example 	 דוגמה 1. mysql_fetch_assoc()


It is also important that you do not use an older libpq than the PostgreSQL Server to which you will be connecting. 	 It is also important that you use newer libpq than PostgreSQL Server to be connected.


xml_parser_create 	 xml_parser_free


Constants may also be parsed in the ini file so if you define a constant as an ini value before running parse_ini_file(), it will be integrated into the results. 	 If the ini file you are trying to parse is malformed, PHP will exit.


vpopmail_alias_del_domain 	 vpopmail_alias_add


The timeout can be changed and queried at any time with ftp_set_option() and ftp_get_option(). 	 The timeout can be changed and queried anytime with ftp_set_option() and ftp_get_option().


substr 	 substr_replace


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


This is the same restriction as for the header() function. 	 $Count++; setcookie("Count", $Count, time()+3600); setcookie("Cart[$Count]", $item, time()+3600);


If the string does not match one of these, then 'private' is used. 	 CURLOPT_KRB4LEVEL: העבר את רמת האבטחה KRB4 (Kerberos 4). הערך יכול להיות כל אחד מהערכים הבאים (מהחלשה מבין האפשרויות, לחזקה מביניהם): 'clear', 'safe', 'confidential', 'private'. אם הערך אינו תואם את אחד מהערכים האילו, אזי 'private 'תהיה בשימוש. אם הערך נקבע ל NULL, אבטחת KRB4 תהיה מנוטרלת. אבטחת KRB4 עובדת כרגע רק עם העברות FTP.


A hidden HTML form element 	 דוגמה 51-1. פריט מוסתר (hidden) בטופס HTML


openssl_x509_export 	 openssl_x509_export_to_file


This is available since PHP 4.3.0 for compatibility with the deprecated dbm extension only and should be avoided. 	 The actually available list of handlers is displayed by invoking phpinfo().


This section holds the most general questions about PHP: what it is and what it does. 	 מדור זה כולל את השאלות הכלליות ביותר על PHP: מה היא ומה היא עושה.


number_format 	 nl2br


DIR is the cybercash mck build directory, defaults to / usr / src / mck-3.2.0.3-linux for help look in extra / cyberlib. 	 Set DIR to shared to build as a dl, or shared,DIR to build as a dl and still specify DIR.


get_elements_by_tagname 	 DomElement_set_attribute_node()


The first way, ?php...?, is the preferred method, as it allows the use of PHP in XML-conformant code such as XHTML. 	 הדרך הראשונה תפעל רק אם התמיכה בתגיות קצרות הופעלה. כדי אפשר להפעיל תמיכה זו( ב PHP 3) על-ידי שימוש בפונקציה short_tags(), תוך הפעלת האפשרות short_open_tag בקובץ ההגדרות של PHP, או על-ידי הידור של PHP עם האופציה --enable-short-tags בהרצת ה configure.


With PHP you are not limited to output HTML. 	 ב-PHP אין הגבלה לפלט של HTML בלבד.


pdf_show 	 pdf_show_xy


Example 1. swfdisplayitem - setname() example 	 דוגמה 1. swfdisplayitem - setname() example


cpdf_closepath 	 cpdf_continue_text


The main package you need to install is php4-core-4.2.3.tgz, which contains the basic engine (plus gettext and iconv). 	 To use this method, ensure that you have a recent ports tree.


References in PHP are a means to access the same variable content by different names. 	 References are a means in PHP to access the same variable content by different names.


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


fileatime 	 file_exists


After calling this function, you can no longer use the FTP connection and must create a new one with ftp_connect(). 	 This function is only available in CVS.


cpdf_show 	 cpdf_show_xy


stream_set_write_buffer 	 socket_writev


However, if a once-only subpattern is not used, the match runs for a very long time indeed because there are so many different ways the + and * repeats can carve up the subject, and all have to be tested before failure can be reported. 	 However, if a once-only sub - pattern is not used, the match runs for a very long time indeed because there are so many different ways the + and * repeats can carve up the subject, and all have to be tested before failure can be reported.


Note: 	 SIGALRM


What 's next? 	 מה PHP יודעת לעשות?


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


Takes the filepointer, handle, and truncates the file to length, size. 	 Takes the filepointer, fp, and truncates the file to length, size.


vpopmail_add_alias_domain_ex 	 vpopmail functions


Like with the if statement, you can group multiple statements within the same while loop by surrounding a group of statements with curly braces, or by using the alternate syntax: 	 בדומה לפקודת ה - if, ניתן לאגד מספר פקודות לבלוק אחד בלולאת while אחת בעזרת סוגריים מסולסלים או תוך שימוש בתחביר האלטרנטיבי:


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


cpdf_fill 	 cpdf_finalize


filepro 	 filepro_rowcount


C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32) 	 There a quite some functions which do not fit into the DOM standard and should not be used anymore as listed in the following table.


The default location of php.ini is a compile time option (see the FAQ entry), but can be changed for the CGI and CLI version with the -c command line switch, see the chapter about using PHP from the command line. 	 Setting this to "GP", for example, will cause PHP to completely ignore environment variables, cookies and server variables, and to overwrite any GET method variables with POST-method variables of the same name.


TIFF support was added in PHP 4.2. 	 JPEG2000 support will be added in PHP 4.3.


Note: 	 popen()


function scan_titles( $id, $startterm) {yaz_scan($id ,"rpn", "@attr 1=4 ". $startterm); yaz_wait(); $errno = yaz_errno($id); if ($errno == 0) {$ar = yaz_scan_result($id, $options); echo'Scan ok; '; while(list($key,$val)=each($options)) {echo "$key = $val nbsp ;";} echo' br table tr td '; while(list($key,list($k, $term, $tcount))=each($ar)) {if (empty($k)) continue; echo" tr td $term / td td "; echo $tcount; echo" / td / tr ";} echo' / table ';} else {echo "Scan failed. 	 function scan_titles( $id, $starterm) {yaz_scan($id ,"rpn", "@attr 1=4 ". $starterm); yaz_wait(); $errno = yaz_errno($id); if ($errno == 0) {$ar = yaz_scan_result($id, $options); echo 'Scan ok; '; $ar = yaz_scan_result($id, $options); while(list($key,$val)=each($options)) {echo "$key = $val nbsp ;";} echo' br table tr td '; while(list($key,list($k, $term, $tcount))=each($ar)) {if (empty($k)) continue; echo" tr td $term / td td "; echo $tcount; echo" / td / tr ";} echo' / table ';} else {echo "Scan failed.


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


In PHP global variables must be declared global inside a function if they are going to be used in that function. 	 $a = 1; / * global scope * / function Test() {echo $a; / * reference to local scope variable * /} Test();


These predefined variables are found in the $_SERVER and $HTTP_SERVER_VARS These predefined variables are found in the $_SERVER and $HTTP_SERVER_VARS arrays. 	 Only "Basic" authentication is supported at this point.


To compile PHP with Ingres support, you need the Open API library and header files included with Ingres II. 	 You need the Open API library and header files included with Ingres II.


Table 1. openlog() Options 	 טבלה 1. openlog() Options


getopt 	 getrusage


For example, to get DOCUMENT_ROOT you' ll use $_SERVER['DOCUMENT_ROOT'] instead of $DOCUMENT_ROOT, or $_GET['id'] from the URL http: / /www.example.com / test.php?id=3 instead of $id, or $_ENV['HOME'] instead of $HOME. 	 מחרוזת הפנייה (query string) שדרכה התבצעה גישה לעמוד.


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


Table 33-1, Table 33-2 and Table 33-3 describe these functions. 	 To add new elements to the array, you can use numerous functions, depending on what you want to do. טבלה 34-1, טבלה 34-2 and טבלה 34-3 describe these functions.


01 through 12 	 m - month; i.e. "01 "to "12"


PHP 4.0, based on this engine, and coupled with a wide range of additional new features, was officially released in May 2000, almost two years after its predecessor, PHP 3.0. 	 PHP 4.0 המבוססת על מנוע זה, והכוללת מגוון רחב של תכונות חדשות שוחררה רשמית במאי 2000, כמעט שנתיים אחרי PHP 3.0. בנוסף לביצועים המשופרים, PHP 4.0 כללה תכונות מפתח אחרות, כגון תמיכה בשרתי Web מרובים, HTTP Sessions, חציצת פלט (output buffering), דרכים בטוחות יותר לטיפול בקלט מן המשתמש וגם כמה חלקים חדשים בשפה עצמה.


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


Example 1. pack() format string 	 דוגמה 1. pack() format string


Enable transparent session id propagation. 	 DIR is the base install directory for the JDK.


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


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


dbx_escape_string 	 dbx_error


If you don 't want these, simply strip them out: 	 שים לב כי הפונקציה readdir() תחזיר את הערך. ו את... אם אינך רוצה בהם, פשוט הסר אותם:


For example, the pattern (a_BAR_b\1)+For example, the pattern (a_BAR_b\1) + matches any number of "a"s and also "aba", "ababaa "etc. 	 For example, the pat - tern (a_BAR_b\1)+For example, the pat - tern (a_BAR_b\1) + matches any number of "a"s and also "aba", "ababaa "etc.


imagecreatefromgd2 	 imagecreatefromgd


The length parameter must be greater than the longest line to be found in the CSV file (allowing for trailing line-end characters). 	 Length must be greater than the longest line to be found in the CSV file (allowing for trailing line-end characters).


Set this option to a non-zero value if you don 't want PHP to display a progress meter for CURL transfers. 	 CURLOPT_NOPROGRESS: קבע את הערך לערך השונה מאפס אם אין אתם רוצים ש PHP תציג progress meter עבור CURL transfers


These macros automatically set the correspondent type and value, as described in Table 35-1 and Table 35-2. 	 These macros automatically set the correspondent type and value, as described in טבלה 36-1 and טבלה 36-2.


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


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


file 	 file_get_wrapper_data


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


This function forces a write of all buffered output to the resource pointed to by the file handle handle. 	 This function forces a write of all buffered output to the to the resource pointed to by the file handle fp.


mailparse_msg_parse_file 	 mailparse_msg_parse


It provides an easy way to traverse an array. 	 The foreach control structure exists specificly for arrays.


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


By putting engine off in the appropriate places in the httpd.conf file, PHP can be enabled or disabled. 	 These functions are only available when running PHP as an Apache module.


However, in most cases you do not need to use the cast, since a value will be automatically converted if an operator, function or control structure requires a boolean argument. 	 כדי להמיר ערך של משתנה במפורש לבוליאני, יש להשתמש בהמרת (bool) או בהמרת (boolean. עף על פי כן, ברוב המקרים אין צורך להמיר את המשתנה ידנית, משום שהערך יומר אוטומטית אם אופרטור, פונקציה או מבנה בקרה דורשים ארגומנט בוליאני.


Table 3. 	 protocol sets the protocol which is either SOL_UDP or SOL_TCP.


Include experimental php streams. 	 Enable support for calendar conversion.


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


Instructions are separated the same as in C or Perl - terminate each statement with a semicolon. 	 הפרדת הוראות ב PHP מתבצעת בצורה זהה לזו שקיימת בשפת C או פרל - כל הוראה מסתיימת בסמיקולון;.


PHP 3.0 was the first version that closely resembles PHP as we know it today. 	 PHP 3.0 הייתה הגרסא הראשונה שמזכירה את PHP של היום. היא נכתבה על ידי אנדי גוטמנס (Andi Gutmans) וזאב סורסקי (Zeev Suraski) בשנת 1997 כמנוע חדש לחלוטין, אחרי שהם מצאו את PHP / FI 2.0 חלשה מדי לבניית יישום ה-eCommerce שלהם. במאמץ לשיתוף פעולה, אנדי,זאב ורסמוס החליטו להכריז על PHP 3.0 כיורשת הרשמית של PHP / FI 2.0 והפיתוח של PHP / FI 2.0 הופסק ברובו.


000 through 999 	 B - Swatch Internet time


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


For example, after (tweedle[dume]{3}\s*) + has matched "tweedledum tweedledee "the value of the capturedFor example, after (tweedle[dume]{3}\s*) + has matched "tweedledum tweedledee" the value of the captured substring is "tweedledee ". 	 For exam - ple, after (tweedle[dume]{3}\s*) + has matched "tweedledum tweedledee "the value of the cap-For exam - ple, after (tweedle[dume]{3}\s*) + has matched "tweedledum tweedledee" the value of the cap - tured substring is "tweedledee ".


Ticks are well suited for debugging, implementing simple multitasking, backgrounded I / O and many other tasks. 	 הוראת ticks מיועדת לניפוי שגיאות, ישום ריבוי משימות פשוט, ביצוע מטלות פלט\קלט ברקע ועוד המון משימות אחרות.


E_ALL 	 דוגמה 2. error_reporting() examples


See also mysql_fetch_row(), mysql_fetch_array(), mysql_query(), and mysql_error(). 	 For further details, see also mysql_fetch_row(), mysql_fetch_array() and mysql_query().


If an error occurs, returns 0, otherwise it returns 1. 	 If an error occurs, returns 0.


Appendix E. 	 נספח E.


Set this option to a non-zero value to follow any "Location:" header that the server sends as a part of the HTTP header (note this is recursive, PHP will follow as many "Location: "headers that it is sent.) 	 CURLOPT_FOLLOWLOCATION: קבע את הערך לערך השונה מאפס אם ברצונך לעקוב אחר כל "Location:" header שהשרת שולח כחלק מה HTTP header (המעקב הינו רקורסיבי, ו PHP תעקוב אחר כל "Location: "headers שישלחו.).


The goal of the language is to allow web developers to write dynamically generated pages quickly. 	 PHP היא שפת תיכנות משובצת בשפת HTML. רוב צורת התחביר שלה מושאלת משפות C, Java ו-Perl בתוספת כמה מאפיינים יחודיים משלה. מטרת השפה היא לאפשר למפתחי אתרים באינטרנט לכתוב עמודי אינטרנט דינמיים במהירות.


The library recognises or produces nearly 150 different character sets and is able to convert files between almost any pair. 	 To be able to use the functions defined in this module you must compile you PHP interpreter using the --with-recode option.


You can also output easily any text, such as XHTML and any other XML file. 	 PHP מסוגלת ליצור פלט גרפי של תמונה, קובץ PDF ואפילו קבצי פלאש (בעזרת הרחבות libswf ו Ming). אפשר בקלות להחזיר פלט של כל פורמט טקסט, כמו XHTML או כל קובץ XML אחר.


DomDocument - create_element_ns 	 DomDocument - create_element


In this case all array elements will be stored as a value array. 	 The fdf_set_value() function sets the value of a field.


openssl_csr_export 	 openssl_csr_new


The solution here is to implement SSL on your server and make it mandatory for users. 	 Not like $HTTP_SESSION_VARS, $_SESSION is always global.


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


Read on, and see more in the What can PHP do? section. 	 למרות שפיתוח PHP מתרכז באפליקציות לצד שרת, אפשר לבצע עוד המון משימות נוספות העזרתה. למידע נוסף יש לעיין בסעיף מה PHP יודעת לעשות?.


Array ([0] = RED [1] = BLUE [2] = GREEN [3] = YELLOW) * /? 	 Array ([0] = RED [1] = BLUE [2] = GREEN [3] = YELLOW) * /


See also print(), sprintf(), sscanf(), fscanf(), and flush(). 	 See also: print(), sprintf(), sscanf(), fscanf(), and flush().


It' s worth mentioning that CLI and CGI are different SAPI's although they do share many of the same behaviors. 	 There are quite some differences between the CLI SAPI and other SAPI s which are further explained throughout this chapter.


The code generator is a PHP program that reads a set of .defs file containing the Gtk + classes, constants, and methods information and generates C code that interfaces PHP with them. 	 כתיבה ידנית של ממשק לכל פונקציות Gtk + לא באה בחשבון, אז נדבקתי לרעיון של מחולל-קוד, בדומה לדרך שבה נכתב ממשק PyGtk. מחולל הקוד הוא תכנית PHP אשר קוראת קבצי def. שמכילים אינפורמציה על מחלקות +Gtk, קבועים ומתודות ומחולל קוד C אשר ממשק את PHP איתם. מה שלא היה ניתן לחולל באופן אוטומטי, נכתב ידנית.


The list of supported protocols can be found in Appendix I. 	 You can open files for either reading or writing via ftp (but not both simultaneously).


Pseudo-types used in this documentation 	 Type Juggling


Read the faq on cgi.force_redirect for important details. 	 רשימה זו מסבירה כיצד להגדיר CGI בינארי של PHP לעבודה עם Xitami על סביבת חלונות


mysql_list_fields() retrieves information about the given table name. 	 mysql_list_fields() retrieves information about the given tablename.


Servers-Apache 2.0 	 Servers-Apache


Example 1. dir() example 	 דוגמה 1. dir() דוגמא


This extension has no constants defined. 	 This extension does not define any constants.


This particular example pattern contains nested unlimited repeats, and so the use of a once-only subpattern for matching strings of non-parentheses is important when applyingThis particular example pattern contains nested unlimited repeats, and so the use of a once-only subpattern for matching strings of non-parentheses is important when applying the pattern to strings that do not match. 	 This particular example pattern contains nested unlimited repeats, and so the use of a once-only subpattern for match - ing strings of non-parentheses is important when applyingThis particular example pattern contains nested unlimited repeats, and so the use of a once-only subpattern for match - ing strings of non-parentheses is important when applying the pattern to strings that do not match.


iconv functions 	 iconv


(PHP 4.3) This function replaces the child oldnode with the passed newnode, even if the new node already is a child of the DomNode. 	 If the old node cannot be found the function returns false.


configuration variable: ifx.blobinfile 	 The Informix shared libraries should also be available to the loader (check LD_LINBRARY_PATH or ld.so.conf / ldconfig).


Table 23-2. 	 When using the CGI version, the output is


When called with a string argument they will check every character in the string and will only return TRUE if every character in the string matches the requested criteria. 	 When called with an integer argument these functions behave exactly like their C counterparts from "ctype.h".


Example 4. swfaction() example 	 דוגמה 4. swfaction() example


pg_unescape_bytea 	 pg_untrace


Example 38-1 shows a small demonstration of calling a user function. 	 דוגמה 39-1 shows a small demonstration of calling a user function.


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


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


hw_api - object 	 hw_api_object - value


If you' re interested in getting the last modification time of a different file, consider using filemtime(). 	 March 04 1998 20:43:59 .' echo "Last modified: ". date ("F d Y H:i:s .", getlastmod());


swffont - getwidth 	 SWFFill - skewYTo


Many of these variables, however, cannot be fully documented as they are dependent upon which server is running, the version and setup of the server, and other factors. 	 לקבלת רשימה מלאה של כל המוגדרים מראש הזמינים לשימוש (והמון מידע שימושי נוסף), יש לעיין ולהשתמש בפונקציה phpinfo().


Example 2. swfbutton - addaction() example 	 דוגמה 2. swfbutton - addaction() example


SWFShape - addFill 	 SWFMovie - add


pdf_set_leading 	 pdf_set_info_author


Appendix B. 	 נספח B.


Argument id specifies connection. 	 Argument id specifies target ID.


This extension has no configuration directives defined in php.ini. 	 You need at least 3.1.10 version of mnoGoSearch installed to use these functions.


A possible use for extract() is to import into the symbol table variables contained in an associative array returned by wddx_deserialize(). 	 A possible use for extract is to import into the symbol table variables contained in an associative array returned by wddx_deserialize().


mb_eregi_replace 	 mb_ereg_search_setpos


Pass a string containing the filename of PEM formatted certificate. 	 CURLOPT_SSLCERT: העבר ערך מסוג מחרוזת המכיל את שם קובץ ה PEM formatted certificate.


See also apache_request_headers(). 	 This example will display all the request headers for the current request.


A very clever implementation of this can be found in the code handling PHP' s fsockopen() located in ext / standard / fsock.c, as shown in Example 32-1. 	 A very clever implementation of this can be found in the code handling PHP' s fsockopen() located in ext / standard / fsock.c, as shown in דוגמה 33-1.


Example 2. getimagesize (URL) 	 דוגמה 2. getimagesize (URL)


Returns TRUE on success or FALSE on failure. 	 Sets retval to the value of the specified option. מחזיר TRUE במקרה של הצלחה או FALSE במקרה של כישלון.


Examples follow how to delete cookies sent in previous example: 	 setcookie ("cookie[three]", "cookiethree"); setcookie ("cookie[two]", "cookietwo"); setcookie ("cookie[one]", "cookieone"); if (isset ($cookie)) {while (list ($name, $value) = each ($cookie)) {echo "$name == $value br \n";}}


?php function authenticate() {header( 'WWW-Authenticate: 	 ?php function authenticate() {header ("WWW-Authenticate:


PostgreSQL supports many character encoding including multibyte character encoding. 	 PostgreSQL 7.0 or later to enable all PostgreSQL module feature.


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


Example 52-1. 	 Not yet.


The imagick extension has been moved to PECL in PEAR and can be found here. 	 DIR is the pdflib base install directory, defaults to / usr / local.


The keys are the attribute names. 	 The key is the attribute name.


Therefore, this statement: 	 בנקודה זו מוגדרים שני משתנים בטבלת הסמלים של PHP. המשתנה $a שערכו "hello" והמשתנה $hello שערכו "world ". כפועל יוצא, הפקודה:


lcg_value 	 log


There would be some very weird behaviour otherwise. 	 There would be some very weird behaviour oth - erwise.


List of Supported Protocols / Wrappers 	 List of Parser Tokens


Enable mailparse support. 	 DIR is the Kerberos install dir.


odbc_close 	 odbc_columnprivileges


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


Example 2. lists each field 's name and type 	 דוגמה 2. lists each field 's name and type


The behaviour of these functions is affected by settings in php.ini. 	 The behaviour of the ODBC functions is affected by settings in the global configuration file php.ini.


Example 36-1 Example 36-1 shows a source example and its output. 	 As arguments, both take the number of columns (as integers) and the column contents (as strings). דוגמה 37-1 As arguments, both take the number of columns (as integers) and the column contents (as strings). דוגמה 37-1 shows a source example and its output.


?php $handle = popen ("/ bin / ls", "r");? 	 $fp = popen ("/ bin / ls", "r");


mailparse_msg_parse_file 	 mailparse_msg_get_structure


E.g. operator mode is granted by '+o' and revoked by '-o ', as passed as mode_spec. 	 E.g. operator mode is granted by '+o' and revoked by '-o 'passed as mode_spec.


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


Query may be canceled by calling pg_cancel_query(). 	 Use pg_connection_busy() to check connection is busy (i.e. query is executing) Query may be canceled by calling pg_cancel_query().


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


You will need to use the --with-bz2[ =DIR] configuration option when compiling PHP to enable bzip2 support. 	 You will need to use the --with-bz2 configuration option when compiling PHP to enable bzip2 support.


pg_get_pid 	 pg_free_result


The function returns FALSE if an error occurs. 	 The function returns -1 if a error occurs.


If you want to register a session variable from within a function, you need to make sure to make it global using the global keyword or the $GLOBALS[] array, or use the special session arrays as noted below. 	 If you are using $HTTP_SESSION_VARS / $_SESSION, do not use session_register(), session_is_registered() and session_unregister().


?php $link = mysql_connect( 'localhost', "mysql_user", "mysql_password"); $status = explode( '', mysql_stat($link)); print_r($status);? 	 ?php $link = mysql_connect( 'localhost', "mysql_user", "mysql_password"); printf("%s\n", mysql_stat($link));?


It had Perl-like variables, automatic interpretation of form variables and HTML embedded syntax. 	 PHP / FI, ראשי תיבות של 'Personal Home Page / Forms Interpreter', כללה כמה מן התכונות שקיימות ב-PHP כיום. המשתנים בה היו דומים למשתנים בפרל, הי א כללה אוטומציה של עיבוד משתני טפסים ותחביר מוטבע HTML. התחביר עצמו היה דומה לזה של פרל, אבל הרבה יותר מוגבל, פשוט ולעיתים לא עקבי.


zval *new_array, *new_element; char *key = "element_key"; MAKE_STD_ZVAL(new_array); MAKE_STD_ZVAL(new_element); array_init(new_array); ZVAL_LONG(new_element, 10); if(zend_hash_update(new_array - value.ht, key, strlen(key) + 1, (void *) new_element, sizeof(zval *), NULL) == FAILURE) {/ / do error handling here} 	 zval *new_array, *new_element; char *key = "element_key"; MAKE_STD_ZVAL(new_array); MAKE_STD_ZVAL(new_element); if(array_init(new_array) == FAILURE) {/ / do error handling here} ZVAL_LONG(new_element, 10); if(zend_hash_update(new_array - value.ht, key, strlen(key) + 1, (void *) new_element, sizeof(zval *), NULL) == FAILURE) {/ / do error handling here}


money_format 	 nl_langinfo


?php / / tick use required as of PHP 4.3.0 declare (ticks = 1); / / signal handler function function sig_handler($signo) {switch($signo) {case SIGTERM: / / handle shutdown tasks exit; break; case SIGHUP: / / handle restart tasks break; case SIGUSR1: print "Caught SIGUSR1...\n"; break; default: / / handle all other signals}} print "Installing signal handler...\n"; / / setup signal handlers pcntl_signal(SIGTERM, "sig_handler"); pcntl_signal(SIGHUP, "sig_handler"); pcntl_signal(SIGUSR1, "sig_handler"); / / or use an object, available as of PHP 4.3.0 / / pcntl_signal(SIGUSR1, array($obj, "do_something"); print "Generating signal SIGTERM to self...\n"; / / send SIGUSR1 to current process id posix_kill(posix_getpid(), SIGUSR1); print "Done\n "? 	 ?php / / signal handler function function sig_handler( $signo) {switch($signo) {case SIGTERM: / / handle shutdown tasks exit; break; case SIGHUP: / / handle restart tasks break; case SIGUSR1: print "Caught SIGUSR1...\n"; break; default: / / handle all other signals}} print "Installing signal handler...\n"; / / setup signal handlers pcntl_signal(SIGTERM, "sig_handler"); pcntl_signal(SIGHUP, "sig_handler"); pcntl_signal(SIGUSR1, "sig_handler"); print "Generating signal SIGTERM to self...\n"; / / send SIGUSR1 to current process id posix_kill(posix_getpid(), SIGUSR1); print "Done\n "?


See also imagecopyresized(). 	 This function was added in PHP 4.0.6 and requires GD 2.0.1 or later


C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32) 	 They should be in fdftk-dir / include and fdftk-dir / lib.


cpdf_show_xy 	 cpdf_setrgbcolor_fill


Example 1. session_cache_limiter() example 	 דוגמה 1. session_cache_limiter() examples


log 	 max


Another, more complex, one: 	 For the query


This is an alias for openssl_pkey_get_private(). 	 The optional parameter passphrase must be used if the specified key is encrypted (protected by a passphrase).


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


array_merge_recursive 	 array_merge


$HTTP_COOKIE_VARS contains the same initial information, but is not an autoglobal. (Note that HTTP_COOKIE_VARS and $_COOKIE are different variables and that PHP handles them as such) 	 $HTTP_COOKIE_VARS contains the same information, but is not an autoglobal.


These scripts can also be used for simple text processing tasks. 	 תוכנית מערכת לשימוש משורת הפקודה. אפשר להריץ סקריפט PHP ללא שימוש בשרת ודפדפן. על מנת להריץ PHP באופן זה, יש צורך במפרש PHP בלבד. צורת שימוש זו היא אידיאלית לסקריפטים אשר מורצים באורח קבע על-ידי cron (windows:task sheduler) או משימות פשוטות לעיבוד טקסט. יש לעיין בסעיף תוכניות מערכת ב-PHP למידע נוסף.


Note: 	 sql_safe_mode restrictions, (!= safe mode)


?php $foo = 10; / / $foo is an integer $str = "$foo"; / / $str is a string $fst = (string) $foo; / / $fst is also a string / / This prints out that "they are the same "if ($fst === $str) {echo "they are the same";}? 	 When casting or forcing a conversion from array to string, the result will be the word Array.


It offers full-text indexing and searching for HTML, PDF, and text documents. mnoGoSearch consists of two parts. 	 If you use this option without specifying the path to mnogosearch, php will look for mnogosearch under / usr / local / mnogosearch path by default.


So even if your URL is not dynamic, you need to htmlspecialchars() the URL. 	 ניתן לשים לב שסימן בשדה הכתובת מוחלף בסימן amp;. למרות שרוב הדפדפנים יצליחו להמשיך אם דבר זה לא נעשה, זה לא תמיד אפשרי. לכן, אפילו אם כתובתך אינה דינמית, חובה עליך לעשות htmlspecialchars() לכתובת.


php4 / pear 	 Directory for the PHP class repository.


This will build libming.so and install it into / usr / lib /, and copy ming.h into / usr / include /. 	 SWFMovie - setdimension - - Sets the movie 's width and height.


@and @or a b @not @or c d e 	 "donald knuth"


hw_api_attribute 	 hw_api - checkin


Include Easysoft OOB support. 	 Include Sybase-DB support.


On versions older than PHP 4.0.6, you will have to pass the user agent in via the optional user_agent parameter if the PHP directive register_globals is off. 	 In order for this to work, your browscap configuration file setting must point to the correct location of the browscap.ini file.


If a directory is specified, then it must be a correctly formed hashed directory as the openssl command would use. 	 When calling a function that will verify a signature / certificate, the cainfo parameter is an array containing file and directory names the specify the locations of trusted CA files.


gmp_div_q 	 gmp_div


For up to date SWF support take a look at the MING functions. 	 Once you have libswf all you need to do is to configure --with-swf[ =DIR] where DIR is a location containing the directories include and lib.


xmlrpc_encode 	 xmlrpc_encode_request


The default timeout is 90 seconds. 	 Changes the timeout in seconds used for all network related functions.


Returns a directory handle to be used in subsequent closedir(), readdir(), and rewinddir() calls. 	 מחזירה מצביע לספריה לשימוש בקריאות לפונקציות closedir(), readdir(), ו rewinddir().


2.? echo ("this is the simplest, an SGML processing instruction\n");? ?= expression? 	 3. script language=" php "echo ("some editors (like FrontPage) don't like processing instructions"); / script 4.% echo ("You may optionally use ASP-style tags");% %= $variable; # This is a shortcut for"% echo... "%


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


Therefore the new child is a completely new copy which can be modified without changing the node which was passed to this function. 	 DomDocument_create_element(), DomDocument_create_text() etc. or simply by using any other node.


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


?php $link = mysql_connect( "localhost", "mysql_user", "mysql_password") or die("Could not connect: ". mysql_error()); print ("Connected successfully"); mysql_close($link);? 	 ?php $link = mysql_connect( "localhost", "mysql_user", "mysql_password") or die("Could not connect"); print ("Connected successfully"); mysql_close($link);?


Your systems standard C library must provide the iconv() function or you must have libiconv installed on your system. 	 The supported character sets depend on iconv() implementation on your system.


Fatal compile-time errors. 	 PHP 4 only.


Passing the key and userdata to function was added in 4.0.0 	 If func needs to be working with the actual values of the array, specify that the first parameter of func should be passed by reference.


1 if Daylight Savings Time, 0 otherwise. 	 I (capital i) - "1 "if Daylight Savings Time, "0" otherwise.


?php $error_descriptions[ E_ERROR] = "A fatal error has occured"; $error_descriptions[E_WARNING] = "PHP issued a warning"; $error_descriptions[E_NOTICE] = "This is just an informal notice";? 	 At some point in the future, the PHP team might want to add another constant or keyword, and then you get in trouble.


mb_regex_set_options 	 mb_send_mail


Table 2. iconv constants 	 This extension does not define any resource types.


You can see the internal definition of this module in Example 31-2. 	 You can see the internal definition of this module in דוגמה 32-2.


Returns TRUE on success or FALSE on failure. 	 Checks the list of defined functions, both built-in (internal) and user-defined, for function_name. מחזיר TRUE במקרה של הצלחה או FALSE במקרה של כישלון.


hw_api - content 	 hw_api - copy


crack.default_dictionary 	 This extension does not define any resource types.


In versions after PHP 4.2.0, the key will be assigned with a NULL value. 	 If variables declared in the class of which the obj is an instance, have not been assigned a value, those will not be returned in the array.


Afterwards, IRCG will suppress all messages from this user through the associated connection. 	 By doing so you will suppress all messages from this user from being send to you.


mcrypt_enc_is_block_algorithm_mode 	 mcrypt_enc_is_block_algorithm


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


imagecreatefromgd 	 imagecreatefromgd2part


SWFBitmap 	 SWFbutton


Include ASPELL support. 	 Include CyberMut (French Credit Mutuel telepaiement).


After I showed PHP-GTK to Frank Kromann, he got interested and started helping me out with code generator work and Win32 implementation. 	 כתיבת מחולל הקוד לקחה זמן משום שלא היה לי הרבה זמן פנוי במהלך סתיו 2000. אחרי שהראתי את PHP-GTK לפרנק קרומן (Frank Kromann) הוא החל התעניין ועזר לי עם מחולל הקוד ויישומו במערכת חלונות. כשכתבנו את תוכנית ה'שלום עולם 'הראשונה והרצנו אותה, זה היה מרגש ביותר. נדרשו עוד מספר חודשים על מנת להפוך את הפרוייקט לבר-הצגה והגרסה הראשונית שוחררה בתאריך הראשון למרץ, 2001. הסיפור פורסם מיידית באתר SlashDot.


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


?php / / get contents of a file into a string $filename = "/ usr / local / something.txt"; $handle = fopen ($filename, "r"); $contents = fread ($handle, filesize ($filename)); fclose ($handle);? 	 / / get contents of a file into a string $filename = "/ usr / local / something.txt"; $fd = fopen ($filename, "r"); $contents = fread ($fd, filesize ($filename)); fclose ($fd);


For more information about PEAR and the installer read the documantation at the PEAR website. 	 At this point, you should have a usable php.exe in either your Debug_TS or Release_TS subdirectories.


msql 	 MySQL Functions


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


Resets the directory stream indicated by dir_handle to the beginning of the directory. 	 מציבה את מצביע הספריה המיוצג על ידי dir_handle להתחלת הספריה.


swf_ortho2 	 swf_openfile


With this option only the certificates specified in the extracerts parameter of openssl_pkcs7_verify() are used. 	 With this option only the certificates specified in the extracerts parameter of openssl_pkcs7_verify() With this option only the certificates specified in the extracerts parameter of openssl_pkcs7_verify() are used.


For a list of available types, see Table 32-4. 	 For a list of available types, see טבלה 33-4.


Heredoc string quoting example 	 Here doc string quoting example


Here' s some debugging info:\n"; print_r($_FILES);}? 	 הערה: זה לא יעבוד בגירסאות של PHP שגדולות מ-4.0.2. זה תלוי בתפקודיות הפנימית של PHP ששונתה אחרי הגירסה הזו.


CASE_UPPER is used with array_change_key_case() and is used to convert array keys to upper case. 	 This extension does not define any configuration directives.


PHP_INI_ALL 	 area=href


If it is switched off, PHP will emit a warning and the fopen call will fail. 	 If the server does not support passive mode ftp, this will fail.


Prev 	 Description void mssql_min_error_severity (int severity)


This is because the string can be divided between the two repeats in a large number of ways, and all have to be tried. (The example used [!?] rather than a single character at the end, because both PCRE and Perl have an optimization that allowsThis is because the string can be divided between the two repeats in a large number of ways, and all have to be tried. (The example used [!?] rather than a single character at the end, because both PCRE and Perl have an optimization that allows for fast failure when a single character is used. 	 This is because the string can be divided between the two repeats in a large number of ways, and all have to be tried. (The exam - ple used [!?] rather than a single character at the end, because both PCRE and Perl have an optimization that allowsThis is because the string can be divided between the two repeats in a large number of ways, and all have to be tried. (The exam - ple used [!?] rather than a single character at the end, because both PCRE and Perl have an optimization that allows for fast failure when a single character is used.


iconv_set_encoding 	 iconv functions


Ways of escaping from HTML 	 This is a shortcut for "? echo expression?" 2. ?php echo("if you want to serve XHTML or XML documents, do like this\n");?


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


Copyright © 1997, 1998, 1999, 2000, 2001, 2002, 2003 the PHP Documentation Group 	 Duplicating Variable Contents: