Print Design Templates Take a look at these creative Graphic Design templates for brochures, flyers, newsletters, stationery, postcards, ads, menus and posters for a variety of businesses.
Invoicing 4 Freelancers A complete, secure, online billing application that maintains hourly service billing, flat fee billing and recurring charges. Integration with Authorize.Net and other leading payment gateways provides hands-free recurring billing with a sophisticated CRM system.
Free Design Magazines Browse through our extensive list of free Graphic Design, Web Design, Business, Computer, and Computer Graphics magazines, white papers, downloads and podcasts to find the titles that best match your skills and interests; topics include management, marketing, operations, sales, and technology. Simply complete the application form and submit it. All are absolutely free to freelance professionals who qualify.
Suggested Links Photoshop Tutorials
Logo Designer's Logos
Web Design Tools List
Layouts & Templates Directory
Web Design & Graphic Design Blog
Photoshop, Flash, 3D Studio Max Tutorials
Web Designers & Developers
Crafts for Kids
Photoshop Tutorial Man
Tutorial Guide -- Free Webmaster Tutorials
Design Contests
How to Draw
Work From Home Job Search
OTHER SITES WE OWN
AllFreelance
Graphic Design Resources Directory
Graphics Tutorials Directory
Social Networking Articles
Design Sites Up
All Freelance Work & Portfolios
Graphic Design Community
Education & Learning Directory
![]() |
home > Web Design Tutorials > Programming Tutorials > PHP TUTORIALS AND PHP RESOURCES
POST and GET functions - You will learn how to use the POST and GET functions to transfer data from a form and display it!
File Creation and Editing with Filesystem Functions
This tutorial is intended for PHP programmers that wish to use the Filesystem Functions of PHP to create files on their webserver via PHP…
Creating a function
Just a tutorial on how to create a function, and how to avoid error messages if the function is included more than one time in a file.
Understanding recursive functions and recursion
The first thing you need to do in order to create a recursive function is to create a recursive function unless you already have a recursive function, in which case, just use your recursive function.
PHP Functions Tutorial - Spoono - Include/SSI
Learn how to use the include() function using the power of PHP…
![]() |
![]() |
![]() |
||
![]() |
![]() |
![]() |
||
PHP Functions Tutorial - Phpdeveloper - The Mail() Function
The purpose of this little tutorial is to tell you all about a spiffy little function. The mail() function is extremely useful when you want to provide that little extra something to your website's users…
The PHP mail() Function
Learn abouth the mail() function in PHP, and how to specialize the parameters. The mail() function enables you to send an email from a browser.
Functions and Variable Scope
This tutorial covers the basics of writing and using your own functions as well as how variable scope works in PHP.
Database Functions: SQL Dump Import Script
A CLI (command-line) PHP script designed to import data from an SQL dump file. (Created by mysqldump, and including phpMyAdmin)…
Database Functions: Simple MySQL Class
Runs basic commands thru a class to access MySQL. Automatically connects and disconnects from the database.
Database Functions: Stor Image MySql Database
You can directly stor ur image to database…
Database Functions: DB-Drill
This script allows you to "drill" down through a MySQL server with relative ease and speed and display database, table and field attributes…
Database Functions: Count Rows From 2 Tables
This code will allow you to select a field from one table and get how many rows are affected by the query in the second table…
Database Functions: Insert/Update/Delete functions
How many times have your cursed PHP because you have to explicitly name each field and value when inserting and updating your database fields? So long as your form field names are named the same as your DB fields, this script will update, insert, and delete upon command. It's wonderfully commented, too!!!
Database Functions: menu in MySQL
This will make a simple menu for you in MySQL…
Database Functions: mssql_escape_string
This is a real simple one. Was on IRC the other day and someone was trying to use mysql_escape_string() when trying to submit to a mssql database. So I wrote up this quick function so he could use it. although it's probably just easier to do this without a function, it's easier for some people to have it work just like mysql_escape_string().
Database Functions: Edit data in a database table
This code displays an HTML form, lets the user search for records, edit hte records and update the changes into the database.
Database Functions: MySQL error notice via e-mail
When the SQL text has errors (often due to bad data, see $u) you should be notified. Write a function errorLog() that e-ails the sql text to you. I did this and have peace of mind now!
Database Functions: Anti SQL Injection Login Filter
This function will help to prevent an SQL injection attack from being carried out against your website's login form. It probably won't stop EVERY variation of such an attack, but it'll give you some measure of security.
Database Functions: Get field list from a MySQL table.
Given a database name and a table name, this function returns an array containing the names of all fields in the table…
Database Functions: MySQL PHP recordset navigation
Uses a function to provide recordset navigation…
Cell Phone Email Addresses
A simple class with 4 functions one provides an associative array with each of the cell phone companies emails. Another provides a switch function, the third you put in the phone number and the cell service and it sends back the full email address. The final fucntion is just a filter for a full address returning the proper carrier based on full email address.
Redirect
Redirect to another or refresh the same page with this simple php function.
Superglobals Addslashes
A simple function that allows you to easily specify what superglobal arrays you want to Addslashes…
Convert a number to words in spanish
This function returns a string in spanish from a numeric value…
authorize referer
For use with the list_dir_pages function I posted before…
ASCII to Binary to ASCII Conversion Functions
A few people have asked how to turn an ASCII string into it's binary representation. These functions will do it both ways - as long as the binary input string is not corrupted.
Debug objects, arrays, and unknowns
You can use these functions (ss_object_as_string, ss_array_as_string, ss_as_string) to echo the contents of many variables. It's probably best to do this is HTML comments too, as it makes a mess of your page…
chopSent
chopSent is very simplistic script/function intended to limit the character output of a given string and emphasize that the string does indeed continue, however input source is NOT limited, so use your imagination…
colorfade
First var is the start color (in hex - FFFFFF). Second is the finishing fade color (same hex format). Third var is the string. So if you want to fade from red to green "PHPFreaks Rocks!" you would put...
String Insertion Functions
The following functions are used to insert a string into another string.
PHP Functions Tutorial - W3schools - PHP Functions
The real power of PHP comes from its functions…
PHP Functions Tutorial - W3schools - PHP More Functions
This section describes file handling in PHP…
Object Aggregation Function: aggregate
Aggregates methods and properties defined in a class to an existing object…
Object Aggregation Function: aggregate_info
Returns an associative array of the methods and properties from each class that has been aggregated to the object…
Object Aggregation Function: aggregate_methods
Aggregates all methods defined in a class to an existing object, except for the class constructor, or methods whose names start with an underscore character (_) which are considered private to the aggregated class.
Object Aggregation Function: aggregate_methods_by_list
Aggregates methods from a class to an existing object using a list of method names…
Object Aggregation Function: aggregate_methods_by_regexp
Aggregates methods from a class to an existing object using a regular expression to match method names.
Object Aggregation Function: aggregate_properties
Aggregates all properties defined in a class to an existing object, except for properties whose names start with an underscore character (_) which are considered private to the aggregated class.
Object Aggregation Function: aggregate_properties_by_list
Aggregates properties from a class to an existing object using a list of property names. The optional parameter exclude is used to decide whether the list contains the names of class properties to include in the aggregation (i.e. exclude is FALSE, which is the default value), or to exclude from the aggregation (exclude is TRUE).
Object Aggregation Function: aggregate_properties_by_regexp
Aggregates properties from a class to an existing object using a regular expression to match their names. The optional parameter exclude is used to decide whether the regular expression will select the names of class properties to include in the aggregation (i.e. exclude is FALSE, which is the default value), or to exclude from the aggregation (exclude is TRUE).
Object Aggregation Function: deaggregate
Removes the methods and properties from classes that were aggregated to an object. If the optional class_name parameters is passed, only those methods and properties defined in that class are removed, otherwise all aggregated methods and properties are eliminated.
Math Function: abs
Returns the absolute value of number…
Math Function: acos
Returns the arc cosine of arg in radians…
Math Function: acosh
Returns the inverse hyperbolic cosine of arg, i.e. the value whose hyperbolic cosine is arg…
Math Function: asin
Returns the arc sine of arg in radians.
Math Function: asinh
Returns the inverse hyperbolic sine of arg, i.e. the value whose hyperbolic sine is arg.
Math Function: atan2
This function calculates the arc tangent of the two variables x and y. It is similar to calculating the arc tangent of y / x, except that the signs of both arguments are used to determine the quadrant of the result.
Math Function: atan
Returns the arc tangent of arg in radians…
Math Function: atanh
Returns the inverse hyperbolic tangent of arg, i.e. the value whose hyperbolic tangent is arg.
Math Function: base_convert
Returns a string containing number represented in base tobase…
Math Function: bindec
Returns the decimal equivalent of the binary number represented by the binary_string argument.
Math Function: ceil
Returns the next highest integer value by rounding up value if necessary…
Math Function: cos
cos() returns the cosine of the arg parameter. The arg parameter is in radians.
Math Function: cosh
Returns the hyperbolic cosine of arg…
Math Function: decbin
Returns a string containing a binary representation of the given number argument…
Math Function: dechex
Returns a string containing a hexadecimal representation of the given number argument…
Math Function: decoct
Returns a string containing an octal representation of the given number argument…
Math Function: deg2rad
This function converts number from degrees to the radian equivalent.
Math Function: exp
Returns e raised to the power of arg…
Math Function: expm1
expm1() returns the equivalent to 'exp(number) - 1' computed in a way that is accurate even if the value of number is near zero, a case where 'exp (number) - 1' would be inaccurate due to subtraction of two numbers that are nearly equal.
Math Function: floor
Returns the next lowest integer value by rounding down value if necessary. The return value of floor() is still of type float because the value range of float is usually bigger than that of integer.
Math Function: fmod
Returns the floating point remainder of dividing the dividend (x) by the divisor (y)…
Math Function: getrandmax
Returns the maximum value that can be returned by a call to rand().
Math Function: hexdec
Returns the decimal equivalent of the hexadecimal number represented by the hex_string argument…
Math Function: hypot
hypot() returns the length of the hypotenuse of a right-angle triangle with sides of length x and y, or the distance of the point (x, y) from the origin. This is equivalent to sqrt(x*x + y*y).
Math Function: is_finite
Returns TRUE if val is a legal finite number within the allowed range for a PHP float on this platform.
Math Function: is_infinite
Returns TRUE if val is infinite (positive or negative), like the result of log(0) or any value too big to fit into a float on this platform.
Math Function: is_nan
Returns TRUE if val is 'not a number…
Math Function: lcg_value
lcg_value() returns a pseudo random number in the range of (0, 1)…
Math Function: log10
Returns the base-10 logarithm of arg…
Math Function: log1p
log1p() returns log(1 + number) computed in a way that is accurante even when the value of number is close to zero…
Math Function: log
If the optional base parameter is specified, log() returns logbase arg, otherwise log() returns the natural logarithm of arg…
Math Function: max
max() returns the numerically highest of the parameter values…
Math Function: min
min() returns the numerically lowest of the parameter values…
Math Function: mt_getrandmax
Returns the maximum value that can be returned by a call to mt_rand()…
Math Function: mt_rand
If called without the optional min, max arguments mt_rand() returns a pseudo-random value between 0 and RAND_MAX. If you want a random number between 5 and 15 (inclusive), for example, use mt_rand (5, 15).
Math Function: mt_srand
Seeds the random number generator with seed. Since PHP 4.2.0, the seed becomes optional and defaults to a random value if omitted…
Math Function: octdec
Returns the decimal equivalent of the octal number represented by the octal_string argument…
Math Function: pi
Returns an approximation of pi…
Math Function: pow
Returns base raised to the power of exp. If possible, this function will return an integer.
Math Function: rad2deg
This function converts number from radian to degrees…
Math Function: rand
If called without the optional min, max arguments rand() returns a pseudo-random integer between 0 and RAND_MAX. If you want a random number between 5 and 15 (inclusive), for example, use rand (5, 15).
Math Function: round
Returns the rounded value of val to specified precision (number of digits after the decimal point). precision can also be negative or zero (default)…
Math Function: sin
sin() returns the sine of the arg parameter. The arg parameter is in radians.
Math Function: sinh
Returns the hyperbolic sine of arg…
Math Function: sqrt
Returns the square root of arg…
Math Function: srand
Seeds the random number generator with seed. Since PHP 4.2.0, the seed becomes optional and defaults to a random value if omitted…
Math Function: tan
tan() returns the tangent of the arg parameter. The arg parameter is in radians…
Math Function: tanh
Returns the hyperbolic tangent of arg…
Apache Function: apache_child_terminate
Returns TRUE if PHP is running as an Apache 1 module, the Apache version is non-multithreaded, and the child_terminate PHP directive is enabled (disabled by default). If these conditions are not met, FALSE is returned and an error of level E_WARNING is generated.
Apache Function: apache_get_modules
An array of loaded Apache modules…
Apache Function: apache_get_version
Returns the Apache version on success, or FALSE on failure…
Apache Function: apache_getenv
Get an Apache environment variable as specified by variable…
Apache Function: apache_lookup_uri
This performs a partial request for a URI. It goes just far enough to obtain all the important information about the given resource…
Apache Function: apache_note
apache_note() is an Apache-specific function which gets and sets values in a request's notes table.
Apache Function: apache_request_headers
Fetches all HTTP requests from the current request…
Apache Function: apache_reset_timeout
apache_reset_timeout() resets the Apache write timer, which defaults to 300 seconds. With set_time_limit(0); ignore_user_abort(true) and periodic apache_reset_timeout() calls, Apache can theoretically run forever.
Apache Function: apache_response_headers
Fetch all HTTP response headers…
Apache Function: apache_setenv
apache_setenv() sets the value of the Apache environment variable specified by variable…
Apache Function: ascii2ebcdic
ascii2ebcdic() is an Apache-specific function which is available only on EBCDIC based operating systems (OS/390, BS2000). It translates the ASCII encoded string ascii_str to its equivalent EBCDIC representation (binary safe), and returns the result…
Apache Function: ebcdic2ascii
ebcdic2ascii() is an Apache-specific function which is available only on EBCDIC based operating systems (OS/390, BS2000). It translates the EBCDIC encoded string ebcdic_str to its equivalent ASCII representation (binary safe), and returns the result.
Apache Function: getallheaders
This function is an alias for apache_request_headers(). Please read the apache_request_headers() documentation for more information on how this function works…
Apache Function: virtual
virtual() is an Apache-specific function which is similar to in mod_include. It performs an Apache sub-request. It is useful for including CGI scripts or .shtml files, or anything else that you would parse through Apache. Note that for a CGI script, the script must generate valid CGI headers. At the minimum that means it must generate a Content-type header.
APC Function: apc_cache_info
Retrieves cached information (and meta-data) from APC's data store…
APC Function: apc_clear_cache
Clears the APC cache…
APC Function: apc_define_constants
Defines a set of constants for later retrieval and mass-definition…
APC Function: apc_delete
Removes a stored variable from the cache…
APC Function: apc_fetch
Fetch a stored variable from the cache…
APC Function: apc_load_constants
Loads a set of constants from the cache…
APC Function: apc_sma_info
Retrieves APC's Shared Memory Allocation information…
APC Function: apc_store
Cache a variable in the data store…
APD Function: apd_breakpoint
Stops the interpreter and waits on a CR from the socket…
APD Function: apd_callstack
Returns the current call stack as an array…
APD Function: apd_clunk
Throw a warning and a callstack…
APD Function: apd_continue
Restarts the interpreter…
APD Function: apd_croak
Throw an error, a callstack and then exit…
APD Function: apd_dump_function_table
Outputs the current function table…
APD Function: apd_dump_persistent_resources
Return all persistent resources as an array…
APD Function: apd_dump_regular_resources
Return all current regular resources as an array…
APD Function: apd_echo
Echo to the debugging socket…
APD Function: apd_get_active_symbols
Get an array of the current variables names in the local scope…
APD Function: apd_set_pprof_trace
Starts the session debugging…
APD Function: apd_set_session
Changes or sets the current debugging level…
APD Function: apd_set_session_trace
Starts the session debugging…
APD Function: apd_set_socket_session_trace
Starts the remote session debugging…
APD Function: override_function
Overrides built-in functions…
APD Function: rename_function
Renames orig_name to new_name in the global function_table…
Strings Function: addcslashes
Returns a string with backslashes before characters that are listed in charlist parameter. If charlist contains characters \n, \r etc., they are converted in C-like style, while other non-alphanumeric characters with ASCII codes lower than 32 and higher than 126 converted to octal representation.
Strings Function: addslashes
Returns a string with backslashes before characters that need to be quoted in database queries etc. These characters are single quote ('), double quote ("), backslash (\) and NUL (the NULL byte)…
Strings Function: bin2hex
Convert binary data into hexadecimal representation…
Strings Function: chop
This function is an alias of: rtrim()…
Strings Function: chr
Return a specific character…
Strings Function: chunk_split
Split a string into smaller chunks…
Strings Function: convert_cyr_string
This function returns the given string converted from one Cyrillic character set to another. The from and to arguments are single characters that represent the source and target Cyrillic character sets.
Strings Function: convert_uudecode
Decode a uuencoded string…
Strings Function: convert_uuencode
Uuencode a string …
Strings Function: count_chars
Return information about characters used in a string…
Strings Function: crc32
Generates the cyclic redundancy checksum polynomial of 32-bit lengths of the str. This is usually used to validate the integrity of data being transmitted.
Strings Function: crypt
crypt() will return an encrypted string using the standard Unix DES-based encryption algorithm or alternative algorithms that may be available on the system. Arguments are a string to be encrypted and an optional salt string to base the encryption on. See the Unix man page for your crypt function for more information.
Strings Function: echo
echo() is not actually a function (it is a language construct), so you are not required to use parentheses with it. echo() (unlike some other language constructs) does not behave like a function, so it cannot always be used in the context of a function. Additionally, if you want to pass more than one parameter to echo(), the parameters must not be enclosed within parentheses.
Strings Function: explode
Split a string by string…
Strings Function: fprintf
Write a formatted string to a stream…
Strings Function: get_html_translation_table
Returns the translation table used by htmlspecialchars() and htmlentities()…
Strings Function: hebrev
Convert logical Hebrew text to visual text…
Strings Function: hebrevc
Convert logical Hebrew text to visual text with newline conversion…
Strings Function: html_entity_decode
Convert all HTML entities to their applicable characters…
Strings Function: htmlentities
Convert all applicable characters to HTML entities…
Strings Function: htmlspecialchars_decode
Convert special HTML entities back to characters…
Strings Function: htmlspecialchars
Convert special characters to HTML entities…
Strings Function: implode
Join array elements with a string…
Strings Function: join
This function is an alias of: implode()…
Strings Function: levenshtein
Calculate Levenshtein distance between two strings…
Strings Function: localeconv
Get numeric formatting information…
Strings Function: ltrim
Strip whitespace (or other characters) from the beginning of a string…
Strings Function: md5_file
Calculates the md5 hash of a given file…
Strings Function: md5
Calculate the md5 hash of a string…
Strings Function: metaphone
Calculate the metaphone key of a string…
Strings Function: money_format
Formats a number as a currency string…
Strings Function: nl_langinfo
Query language and locale information…
Strings Function: nl2br
Inserts HTML line breaks before all newlines in a string…
Strings Function: number_format
Format a number with grouped thousands…
Strings Function: ord
Return ASCII value of character…
Strings Function: parse_str
Parses the string into variables…
Strings Function: print
Output a string…
Strings Function: printf
Output a formatted string…
Strings Function: quoted_printable_decode
Convert a quoted-printable string to an 8 bit string…
Strings Function: quotemeta
Quote meta characters…
Strings Function: rtrim
Strip whitespace (or other characters) from the end of a string…
Strings Function: setlocale
Set locale information…
Strings Function: sha1_file
Calculate the sha1 hash of a file…
Strings Function: sha1
Calculate the sha1 hash of a string…
Strings Function: similar_text
Calculate the similarity between two strings…
Strings Function: soundex
Calculate the soundex key of a string…
Strings Function: sprintf
Return a formatted string…
Strings Function: sscanf
Parses input from a string according to a format…
Strings Function: str_ireplace
This function returns a string or an array with all occurrences of search in subject (ignoring case) replaced with the given replace value. If you don't need fancy replacing rules, you should generally use this function instead of eregi_replace() or preg_replace() with the i modifier.
Strings Function: str_pad
Pad a string to a certain length with another string…
Strings Function: str_repeat
Returns input_str repeated multiplier times. multiplier has to be greater than or equal to 0. If the multiplier is set to 0, the function will return an empty string.
Strings Function: str_replace
Replace all occurrences of the search string with the replacement string…
Strings Function: str_rot13
Perform the rot13 transform on a string…
Strings Function: str_shuffle
Randomly shuffles a string…
Strings Function: str_split
Convert a string to an array…
Strings Function: str_word_count
Return information about words used in a string…
Strings Function: strcasecmp
Binary safe case-insensitive string comparison…
Strings Function: strchr
This function is an alias of: strstr()…
Strings Function: strcmp
Binary safe string comparison…
Strings Function: strcoll
Locale based string comparison…
Strings Function: strcspn
Find length of initial segment not matching mask…
Strings Function: strip_tags
Strip HTML and PHP tags from a string…
Strings Function: stripcslashes
Un-quote string quoted with addcslashes()…
Strings Function: stripos
Find position of first occurrence of a case-insensitive string…
Strings Function: stripslashes
Returns a string with backslashes stripped off. (\' becomes ' and so on.) Double backslashes (\\) are made into a single backslash (\).
Strings Function: stristr
Returns all of haystack from the first occurrence of needle to the end. needle and haystack are examined in a case-insensitive manner.
Strings Function: strlen
Get string length…
Strings Function: strnatcasecmp
insensitive string comparisons using a "natural order" algorithm…
Strings Function: strnatcmp
String comparisons using a "natural order" algorithm…
Strings Function: strncasecmp
Binary safe case-insensitive string comparison of the first n characters…
Strings Function: strncmp
Binary safe string comparison of the first n characters…
Strings Function: strpbrk
Search a string for any of a set of characters…
Strings Function: strpos
Find position of first occurrence of a string…
Strings Function: strrchr
Find the last occurrence of a character in a string…
Strings Function: strrev
Reverse a string…
Strings Function: strripos
Find position of last occurrence of a case-insensitive string in a string…
Strings Function: strrpos
Find position of last occurrence of a char in a string..
Strings Function: strspn
Find length of initial segment matching mask…
Strings Function: strstr
Find first occurrence of a string…
Strings Function: strtok
strtok() splits a string (str) into smaller strings (tokens), with each token being delimited by any character from token. That is, if you have a string like "This is an example string" you could tokenize this string into its individual words by using the space character as the token.
Strings Function: strtolower
Make a string lowercase…
Strings Function: strtoupper
Make a string uppercase…
Strings Function: strtr
Translate certain characters…
Strings Function: substr_compare
Binary safe optionally case insensitive comparison of 2 strings from an offset, up to length characters…
Strings Function: substr_count
Count the number of substring occurrences…
Strings Function: substr_replace
Replace text within a portion of a string…
Strings Function: substr
Return part of a string…
Strings Function: trim
Strip whitespace (or other characters) from the beginning and end of a string…
Strings Function: ucfirst
Make a string's first character uppercase…
Strings Function: ucwords
Uppercase the first character of each word in a string…
Strings Function: vfprintf
Write a formatted string to a stream
Strings Function: vprintf
Output a formatted string…
Strings Function: vsprintf
Return a formatted string….
Strings Function: wordwrap
Wraps a string to a given number of characters using a string break character…
Arrays Function: array_change_key_case
Returns an array with all string keys lowercased or uppercased…
Arrays Function: array_chunk
array_chunk() splits the array into several arrays with size values in them. You may also have an array with less values at the end. You get the arrays as members of a multidimensional array indexed with numbers starting from zero.
Arrays Function: array_combine
Creates an array by using one array for keys and another for its values…
Arrays Function: array_count_values
Counts all the values of an array…
Arrays Function: array_diff_assoc
Computes the difference of arrays with additional index check…
Arrays Function: array_diff_key
Computes the difference of arrays using keys for comparison…
Arrays Function: array_diff_ukey
Computes the difference of arrays using a callback function on the keys for comparison…
Arrays Function: array_diff_uassoc
Computes the difference of arrays with additional index check which is performed by a user supplied callback function…
Arrays Function: array_diff
Computes the difference of arrays…
Arrays Function: array_fill
Fill an array with values…
Arrays Function: array_filter
Filters elements of an array using a callback function…
Arrays Function: array_flip
Exchanges all keys with their associated values in an array…
Arrays Function: array_intersect_assoc
Computes the intersection of arrays with additional index check…
Arrays Function: array_intersect_key
Computes the intersection of arrays using keys for comparison…
Arrays Function: array_intersect_uassoc
Computes the intersection of arrays with additional index check, compares indexes by a callback function…
Arrays Function: array_intersect_ukey
Computes the intersection of arrays using a callback function on the keys for comparison…
Arrays Function: array_intersect
Computes the intersection of arrays…
Arrays Function: array_key_exists
Checks if the given key or index exists in the array…
Arrays Function: array_keys
Return all the keys of an array…
Arrays Function: array_map
Applies the callback to the elements of the given arrays…
Arrays Function: array_merge_recursive
Merge two or more arrays recursively…
Arrays Function: array_merge
Merge one or more arrays…
Arrays Function: array_multisort
Sort multiple or multi-dimensional arrays…
Arrays Function: array_pad
Pad array to the specified length with a value…
Arrays Function: array_pop
Pop the element off the end of array…
Arrays Function: array_product
Calculate the product of values in an array…
Arrays Function: array_push
Push one or more elements onto the end of array…
Arrays Function: array_rand
Pick one or more random entries out of an array…
Arrays Function: array_reduce
Iteratively reduce the array to a single value using a callback function…
Arrays Function: array_reverse
Return an array with elements in reverse order…
Arrays Function: array_search
Searches the array for a given value and returns the corresponding key if successful…
Arrays Function: array_shift
Shift an element off the beginning of array…
Arrays Function: array_slice
Extract a slice of the array…
Arrays Function: array_splice
Remove a portion of the array and replace it with something else…
Arrays Function: array_sum
Calculate the sum of values in an array…
Arrays Function: array_udiff_assoc
Computes the difference of arrays with additional index check, compares data by a callback function…
Arrays Function: array_udiff_uassoc
Computes the difference of arrays with additional index check, compares data and indexes by a callback function
Arrays Function: array_udiff
Computes the difference of arrays by using a callback function for data comparison…
Arrays Function: array_uintersect_assoc
Computes the intersection of arrays with additional index check, compares data by a callback function…
Arrays Function: array_uintersect_uassoc
Computes the intersection of arrays with additional index check, compares data and indexes by a callback functions…
Arrays Function: array_uintersect
Computes the intersection of arrays, compares data by a callback function…
Arrays Function: array_unique
Removes duplicate values from an array…
Arrays Function: array_unshift
Prepend one or more elements to the beginning of an array…
Arrays Function: array_values
Return all the values of an array…
Arrays Function: array_walk_recursive
Apply a user function recursively to every member of an array…
Arrays Function: array_walk
Apply a user function to every member of an array…
Arrays Function: array
Create an array…
Arrays Function: arsort
Sort an array in reverse order and maintain index association…
Arrays Function: asort
Sort an array and maintain index association…
Arrays Function: compact
Create array containing variables and their values…
Arrays Function: count
Count elements in an array, or properties in an object…
Arrays Function: current
Return the current element in an array…
Arrays Function: each
Return the current key and value pair from an array and advance the array cursor…
Arrays Function: end
Set the internal pointer of an array to its last element…
Arrays Function: extract
Import variables into the current symbol table from an array…
Arrays Function: in_array
Checks if a value exists in an array…
Arrays Function: key
Fetch a key from an associative array…
Arrays Function: krsort
Sort an array by key in reverse order…
Arrays Function: ksort
Sort an array by key…
Arrays Function: list
Assign variables as if they were an array…
Arrays Function: natcasesort
Sort an array using a case insensitive "natural order" algorithm…
Arrays Function: natsort
Sort an array using a "natural order" algorithm…
Arrays Function: next
Advance the internal array pointer of an array…
Arrays Function: prev
Rewind the internal array pointer…
Arrays Function: range
Create an array containing a range of elements…
Arrays Function: reset
Set the internal pointer of an array to its first element…
Arrays Function: rsort
Sort an array in reverse order…
Arrays Function: shuffle
Shuffle an array…
Arrays Function: sizeof
This function is an alias of: count()…
Arrays Function: sort
Sort an array…
Arrays Function: uasort
Sort an array with a user-defined comparison function and maintain index association…
Arrays Function: uksort
Sort an array by keys using a user-defined comparison function…
Arrays Function: usort
Sort an array by values using a user-defined comparison function…
Aspell Function: aspell_check_raw
aspell_check_raw() checks the spelling of a word, without changing its case or trying to trim it in any way and returns TRUE if the spelling is correct, FALSE if not.
Aspell Function: aspell_check
aspell_check() checks the spelling of a word and returns TRUE if the spelling is correct, FALSE if not.
Aspell Function: aspell_new
aspell_new() opens up a new dictionary and returns the dictionary link identifier for use in other aspell functions. Returns FALSE on error.
Aspell Function: aspell_suggest
aspell_suggest() returns an array of possible spellings for the given word.
Bcompiler Function: bcompiler_load_exe
Reads and creates classes from a bcompiler exe file…
Bcompiler Function: bcompiler_load
Reads and creates classes from a bz compressed file…
Bcompiler Function: bcompiler_parse_class
Reads the bytecodes of a class and calls back to a user function…
Bcompiler Function: bcompiler_read
Reads and creates classes from a filehandle…
Bcompiler Function: bcompiler_write_class
Writes an defined class as bytecodes…
Bcompiler Function: bcompiler_write_constant
Writes a defined constant as bytecodes…
Bcompiler Function: bcompiler_write_exe_footer
Writes the start pos, and sig to the end of a exe type file…
Bcompiler Function: Writes a php source file as bytecodes
Writes a php source file as bytecodes…
Bcompiler Function: bcompiler_write_footer
Writes the single character \x00 to indicate End of compiled data…
Bcompiler Function: bcompiler_write_function
Writes an defined function as bytecodes…
Bcompiler Function: bcompiler_write_functions_from_file
Writes all functions defined in a file as bytecodes…
Bcompiler Function: bcompiler_write_header
Writes the bcompiler header…
BC mathr Function: bcadd
Add two arbitrary precision numbers…
BC math Function: bccomp
Compare two arbitrary precision numbers..
BC math Function: bcdiv
Divide two arbitrary precision numbers…
BC math Function: bcmod
Get modulus of an arbitrary precision number…
BC math Function: bcmul
Multiply two arbitrary precision number…
BC math Function: bcpow
Raise an arbitrary precision number to another…
BC math Function: bcpowmod
Raise an arbitrary precision number to another, reduced by a specified modulus…
BC math Function: bcscale
Set default scale parameter for all bc math functions…
BC math Function: bcsqrt
Get the square root of an arbitrary precision number…
BC math Function: bcsub
Subtract one arbitrary precision number from another…
gettext Function: bind_textdomain_codeset
Specify the character encoding in which the messages from the DOMAIN message catalog will be returned…
gettext Function: bindtextdomain
Sets the path for a domain…
gettext Function: dcgettext
Overrides the domain for a single lookup…
gettext Function: dcngettext
Plural version of dcgettext…
gettext Function: dgettext
Override the current domain…
gettext Function: dngettext
Plural version of dgettext…
gettext Function: gettext
Lookup a message in the current domain…
gettext Function: ngettext
ngettext() returns correct plural form of message identified by msgid1 and msgid2 for count n. Some languages have more than one form for plural messages dependent on the count.
gettext Function: textdomain
This function sets the domain to search within when calls are made to gettext(), usually the named after an application.
Bzip2 Function: bzclose
Close a bzip2 file…
Bzip2 Function: bzcompress
Compress a string into bzip2 encoded data…
Bzip2 Function: bzdecompress
Decompresses bzip2 encoded data…
Bzip2 Function: bzerrno
Returns a bzip2 error number…
Bzip2 Function: bzerror
Returns the bzip2 error number and error string in an array…
Bzip2 Function: bzerrstr
Returns a bzip2 error string…
Bzip2 Function: bzflush
Force a write of all buffered data…
Bzip2 Function: bzopen
Opens a bzip2 compressed file…
Bzip2 Function: bzread
Binary safe bzip2 file read…
Bzip2 Function: bzwrite
Binary safe bzip2 file write…
Spl Function: ArrayIterator::current
Return current array entry…
Spl Function: ArrayIterator::key
Return current array key…
Spl Function: ArrayIterator::next
Move to next entry…
Spl Function: ArrayIterator::rewind
Rewind array back to the start…
Spl Function: ArrayIterator::seek
Seek to position…
Spl Function: ArrayIterator::valid
Check whether array contains more entries…
Spl Function: ArrayObject::append
Appends the value…
Spl Function: ArrayObject::__construct
Construct a new array object…
Spl Function: ArrayObject::count
Return the number of elements in the Iterator…
Spl Function: ArrayObject::getIterator
Create a new iterator from an ArrayObject instance…
Spl Function: ArrayObject::offsetExists
Returns whether the requested $index exists…
Spl Function: ArrayObject::offsetGet
Returns the value at the specified $index…
Spl Function: ArrayObject::offsetSet
Sets the value at the specified $index to $newval…
Spl Function: ArrayObject::offsetUnset
Unsets the value at the specified $index…
Spl Function: CachingIterator::hasNext
Check whether the inner iterator has a valid next element…
Spl Function: CachingIterator::next
Move the iterator forward…
Spl Function: CachingIterator::rewind
Rewind the iterator…
Spl Function: CachingIterator::__toString
Return the string representation of the current element…
Spl Function: CachingIterator::valid
Check whether the current element is valid…
Spl Function: CachingRecursiveIterator::getChildren
Return the inner iterator's children as a CachingRecursiveIterator…
Spl Function: CachingRecursiveIterator::hasChildren
Check whether the current element of the inner iterator has children…
Spl Function: DirectoryIterator::__construct
Constructs a new dir iterator from a path…
Spl Function: DirectoryIterator::current
Return this (needed for Iterator interface)…
Spl Function: DirectoryIterator::getATime
Get last access time of file…
Spl Function: DirectoryIterator::getCTime
Get inode modification time of file…
Spl Function: DirectoryIterator::getChildren
Returns an iterator for the current entry if it is a directory…
Spl Function: DirectoryIterator::getFilename
Return filename of current dir entry…
Spl Function: DirectoryIterator::getGroup
Get file group…
Spl Function: DirectoryIterator::getInode
Get file inode…
Spl Function: DirectoryIterator::getMTime
Get last modification time of file…
Spl Function: DirectoryIterator::getOwner
Get file owner…
Spl Function: DirectoryIterator::getPath
Return directory path…
Spl Function: DirectoryIterator::getPathname
Return path and filename of current dir entry…
Spl Function: DirectoryIterator::getPerms
Get file permissions…
Spl Function: DirectoryIterator::getSize
This function is to Get file size…
Spl Function: DirectoryIterator::getType
This function is to Get file type…
Spl Function: DirectoryIterator::isDir
Returns true if file is directory…
Spl Function: DirectoryIterator::isDot
Returns true if current entry is '.' or '..'
Spl Function: DirectoryIterator::isExecutable
Returns true if file is executable…
Spl Function: DirectoryIterator::isFile
Returns true if file is a regular file…
Spl Function: DirectoryIterator::isLink
Returns true if file is symbolic link…
Spl Function: DirectoryIterator::isReadable
Returns true if file can be read…
Spl Function: DirectoryIterator::isWritable
Returns true if file can be written…
Spl Function: DirectoryIterator::key
Return current dir entry…
Spl Function: DirectoryIterator::next
Move to next entry…
Spl Function: DirectoryIterator::rewind
Rewind dir back to the start…
Spl Function: DirectoryIterator::valid
Check whether dir contains more entries…
Spl Function: FilterIterator::current
Get the current element value…
Spl Function: FilterIterator::getInnerIterator
Get the inner iterator…
Spl Function: FilterIterator::key
Get the current key…
Spl Function: FilterIterator::next
Move the iterator forward…
Spl Function: FilterIterator::rewind
Rewind the iterator…
Spl Function: FilterIterator::valid
Check whether the current element is valid…
Spl Function: LimitIterator::getPosition
Return the current position…
Spl Function: LimitIterator::next
Move the iterator forward…
Spl Function: LimitIterator::rewind
Rewind the iterator to the specified starting offset…
Spl Function: LimitIterator::seek
Seek to the given position…
Spl Function: LimitIterator::valid
Check whether the current element is valid…
Spl Function: ParentIterator::getChildren
Return the inner iterator's children contained in a ParentIterator…
Spl Function: ParentIterator::hasChildren
Check whether the inner iterator's current element has children…
Spl Function: ParentIterator::next
Move the iterator forward…
Spl Function: ParentIterator::rewind
Rewind the iterator…
Spl Function: RecursiveDirectoryIterator::getChildren
Returns an iterator for the current entry if it is a directory…
Spl Function: RecursiveDirectoryIterator::hasChildren
Returns whether current entry is a directory and not '.' or '..'
Spl Function: RecursiveDirectoryIterator::key
Return path and filename of current dir entry…
Spl Function: RecursiveDirectoryIterator::next
Move to next entry…
Spl Function: RecursiveDirectoryIterator::rewind
Rewind dir back to the start…
Spl Function: RecursiveIteratorIterator::current
Access the current element value…
Spl Function: RecursiveIteratorIterator::getDepth
Get the current depth of the recursive iteration…
Spl Function: RecursiveIteratorIterator::getSubIterator
The current active sub iterator…
Spl Function: RecursiveIteratorIterator::key
Access the current key…
Spl Function: RecursiveIteratorIterator::valid
Check whether the current position is valid…
Spl Function: SimpleXMLIterator::current
Return current SimpleXML entry…
Spl Function: SimpleXMLIterator::getChildren
Returns an iterator for the current entry if it is a SimpleXML object…
Spl Function: SimpleXMLIterator::hasChildren
Returns whether current entry is a SimpleXML object…
Spl Function: SimpleXMLIterator::key
Return current SimpleXML key…
Spl Function: SimpleXMLIterator::next
Move to next entry…
Spl Function: SimpleXMLIterator::rewind
Rewind SimpleXML back to the start…
Spl Function: SimpleXMLIterator::valid
Check whether SimpleXML contains…
Spl Function: class_implements
Return the interfaces which are implemented by the given class…
Spl Function: class_parents
Return the parent classes of the given class…
Spl Function: iterator_count
Count the elements in an iterator…
Spl Function: iterator_to_array
Copy the iterator into an array…
Spl Function: spl_classes
Return available SPL classes…
Calendar Function: cal_days_in_month
Return the number of days in a month for a given year and calendar…
Calendar Function: cal_from_jd
Converts from Julian Day Count to a supported calendar…
Calendar Function: cal_info
Returns information about a particular calendar…
Calendar Function: cal_to_jd
Converts from a supported calendar to Julian Day Count…
Calendar Function: easter_date
Get Unix timestamp for midnight on Easter of a given year…
Calendar Function: easter_days
Get number of days after March 21 on which Easter falls for a given year…
Calendar Function: FrenchToJD
Converts a date from the French Republican Calendar to a Julian Day Count…
Calendar Function: GregorianToJD
Converts a Gregorian date to Julian Day Count…
Calendar Function: JDDayOfWeek
Returns the day of the week…
Calendar Function: JDMonthName
Returns a month name…
Calendar Function: JDToFrench
Converts a Julian Day Count to the French Republican Calendar…
Calendar Function: JDToGregorian
Converts Julian Day Count to Gregorian date…
Calendar Function: jdtojewish
Converts a Julian day count to a Jewish calendar date…
Calendar Function: JDToJulian
Converts a Julian Day Count to a Julian Calendar Date…
Calendar Function: jdtounix
Convert Julian Day to Unix timestamp…
Calendar Function: JewishToJD
Converts a date in the Jewish Calendar to Julian Day Count…
Calendar Function: JulianToJD
Converts a Julian Calendar date to Julian Day Count…
Calendar Function: unixtojd
Convert Unix timestamp to Julian Day…
CCVS Function: ccvs_add
Add data to a transaction…
CCVS Function: ccvs_auth
Perform credit authorization test on a transaction…
CCVS Function: ccvs_command
Performs a command which is peculiar to a single protocol, and thus is not available in the general CCVS API…
CCVS Function: ccvs_count
Find out how many transactions of a given type are stored in the system…
CCVS Function: ccvs_delete
Delete a transaction…
CCVS Function: ccvs_done
Terminate CCVS engine and do cleanup work…
CCVS Function: ccvs_init
Initialize CCVS for use…
CCVS Function: ccvs_lookup
Look up an item of a particular type in the database #...
CCVS Function: ccvs_new
Create a new, blank transaction…
CCVS Function: ccvs_report
Return the status of the background communication process…
CCVS Function: ccvs_return
Transfer funds from the merchant to the credit card holder…
CCVS Function: ccvs_reverse
Perform a full reversal on an already-processed authorization…
CCVS Function: ccvs_sale
Transfer funds from the credit card holder to the merchant…
CCVS Function: ccvs_status
Check the status of an invoice…
CCVS Function: ccvs_textvalue
Get text return value for previous function call…
CCVS Function: ccvs_void
Perform a full reversal on a completed transaction…
Directories Function: chdir
Change directory…
Directories Function: chroot
Change the root directory…
Directories Function: dir
A pseudo-object oriented mechanism for reading a directory. The given directory is opened. Two properties are available once the directory has been opened. The handle property can be used with other directory functions such as readdir(), rewinddir() and closedir(). The path property is set to path the directory that was opened. Three methods are available: read, rewind and close.
Directories Function: closedir
Closes the directory stream indicated by dir_handle. The stream must have previously been opened by opendir().
Directories Function: getcwd
Gets the current working directory…
Directories Function: opendir
Open directory handle…
Directories Function: readdir
Returns the filename of the next file from the directory. The filenames are returned in the order in which they are stored by the filesystem.
Directories Function: rewinddir
Resets the directory stream indicated by dir_handle to the beginning of the directory.
Directories Function: scandir
List files and directories inside the specified path…
Date/Time Function: checkdate
Returns TRUE if the date given is valid; otherwise returns FALSE. Checks the validity of the date formed by the arguments. A date is considered valid if…
Date/Time Function: date_default_timezone_get
Gets the default timezone used by all date/time functions in a script…
Date/Time Function: date_default_timezone_set
Sets the default timezone used by all date/time functions in a script…
Date/Time Function: date_sunrise
Returns time of sunrise for a given day and location…
Date/Time Function: date_sunset
Returns time of sunset for a given day and location…
Date/Time Function: date
Returns a string formatted according to the given format string using the given integer timestamp or the current local time if no timestamp is given. In other words, timestamp is optional and defaults to the value of time().
Date/Time Function: getdate
Returns an associative array containing the date information of the timestamp, or the current local time if no timestamp is given, as the following associative array elements…
Date/Time Function: gettimeofday
Get current time…
Date/Time Function: gmdate
Format a GMT/UTC date/time…
Date/Time Function: gmmktime
Get Unix timestamp for a GMT date…
Date/Time Function: gmstrftime
Format a GMT/UTC time/date according to locale settings…
Date/Time Function: idate
Format a local time/date as integer…
Date/Time Function: localtime
The localtime() function returns an array identical to that of the structure returned by the C function call. The first argument to localtime() is the timestamp, if this is not given the current time as returned from time() is used…
Date/Time Function: microtime
Return current Unix timestamp with microseconds…
Date/Time Function: mktime
Get Unix timestamp for a date…
Date/Time Function: strftime
Returns a string formatted according to the given format string using the given timestamp or the current local time if no timestamp is given. Month and weekday names and other language dependent strings respect the current locale set with setlocale().
Date/Time Function: strptime
Parse a time/date generated with strftime()…
Date/Time Function: strtotime
Parse about any English textual datetime description into a Unix timestamp
Date/Time Function: time
Return current Unix timestamp…
Filesystem Function: basename
Returns filename component of path…
Filesystem Function: chgrp
Attempts to change the group of the file filename to group (specified by name or number). Only the superuser may change the group of a file arbitrarily; other users may change the group of a file to any group of which that user is a member.
Filesystem Function: chmod
Attempts to change the mode of the file specified by filename to that given in mode…
Filesystem Function: chown
Attempts to change the owner of the file filename to user user (specified by name or number). Only the superuser may change the owner of a file.
Filesystem Function: clearstatcache
Clears file status cache…
Filesystem Function: copy
Makes a copy of the file source to dest. Returns TRUE on success or FALSE on failure.
Filesystem Function: delete
This is a dummy manual entry to satisfy those people who are looking for unlink() or unset() in the wrong place.
Filesystem Function: dirname
Returns directory name component of path…
Filesystem Function: disk_free_space
Given a string containing a directory, this function will return the number of bytes available on the corresponding filesystem or disk partition…
Filesystem Function: disk_total_space
Given a string containing a directory, this function will return the total number of bytes on the corresponding filesystem or disk partition.
Filesystem Function: diskfreespace
This function is an alias of: disk_free_space()…
Filesystem Function: fclose
Closes an open file pointer…
Filesystem Function: feof
Tests for end-of-file on a file pointer…
Filesystem Function: fflush
This function forces a write of all buffered output to the resource pointed to by the file handle handle. Returns TRUE on success or FALSE on failure.
Filesystem Function: fgetc
Returns a string containing a single character read from the file pointed to by handle. Returns FALSE on EOF.
Filesystem Function: fgetcsv
Gets line from file pointer and parse for CSV fields…
Filesystem Function: fgets
Gets line from file pointer…
Filesystem Function: fgetss
Gets line from file pointer and strip HTML tags…
Filesystem Function: file_exists
Checks whether a file or directory exists…
Filesystem Function: file_get_contents
file_get_contents() is the preferred way to read the contents of a file into a string. It will use memory mapping techniques if supported by your OS to enhance performance.
Filesystem Function: file_put_contents
Write a string to a file…
Filesystem Function: file
Reads entire file into an array…
Filesystem Function: fileatime
Returns the time the file was last accessed, or FALSE in case of an error. The time is returned as a Unix timestamp.
Filesystem Function: filectime
Returns the time the file was last changed, or FALSE in case of an error. The time is returned as a Unix timestamp.
Filesystem Function: filegroup
Returns the group ID of the file, or FALSE in case of an error. The group ID is returned in numerical format, use posix_getgrgid() to resolve it to a group name. Upon failure, FALSE is returned along with an error of level E_WARNING.
Filesystem Function: fileinode
Returns the inode number of the file, or FALSE in case of an error.
Filesystem Function: filemtime
Returns the time the file was last modified, or FALSE in case of an error. The time is returned as a Unix timestamp, which is suitable for the date() function.
Filesystem Function: fileowner
Returns the user ID of the owner of the file, or FALSE in case of an error. The user ID is returned in numerical format, use posix_getpwuid() to resolve it to a username.
Filesystem Function: fileperms
Returns the permissions on the file, or FALSE in case of an error.
Filesystem Function: filesize
Returns the size of the file in bytes, or FALSE (and generates an error of level E_WARNING) in case of an error.
Filesystem Function: filetype
Returns the type of the file. Possible values are fifo, char, dir, block, link, file, and unknown.
Filesystem Function: flock
flock() operates on handle which must be an open file pointer. operation is one of the following values…
Filesystem Function: fnmatch
fnmatch() checks if the passed string would match the given shell wildcard pattern.
Filesystem Function: fopen
fopen() binds a named resource, specified by filename, to a stream…
Filesystem Function: fpassthru
Output all remaining data on a file pointer…
Filesystem Function: fputcsv
Format line as CSV and write to file pointer…
Filesystem Function: fputs
This function is an alias of: fwrite()…
Filesystem Function: fread
fread() reads up to length bytes from the file pointer referenced by handle. Reading stops when up to length bytes have been read, EOF (end of file) is reached, or (for network streams) when a packet becomes available, whichever comes first.
Filesystem Function: fscanf
The function fscanf() is similar to sscanf(), but it takes its input from a file associated with handle and interprets the input according to the specified format, which is described in the documentation for sprintf()…
Filesystem Function: fseek
Sets the file position indicator for the file referenced by handle. The new position, measured in bytes from the beginning of the file, is obtained by adding offset to the position specified by whence, whose values are defined as follows…
Filesystem Function: fstat
Gets information about a file using an open file pointer…
Filesystem Function: ftell
Tells file pointer read/write position…
Filesystem Function: ftruncate
Takes the filepointer, handle, and truncates the file to length, size. Returns TRUE on success or FALSE on failure.
Filesystem Function: fwrite
fwrite() writes the contents of string to the file stream pointed to by handle. If the length argument is given, writing will stop after length bytes have been written or the end of string is reached, whichever comes first.
Filesystem Function: glob
The glob() function searches for all the pathnames matching pattern according to the rules used by the libc glob() function, which is similar to the rules used by common shells. No tilde expansion or parameter substitution is done…
PHP Functions Tutorial - Php - Filesystem Function: is_dir
Returns TRUE if the filename exists and is a directory. If filename is a relative filename, it will be checked relative to the current working directory.
PHP Functions Tutorial - Php - Filesystem Function: is_executable
Returns TRUE if the filename exists and is executable…
PHP Functions Tutorial - Php - Filesystem Function: is_file
Returns TRUE if the filename exists and is a regular file…
PHP Functions Tutorial - Php - Filesystem Function: is_link
Returns TRUE if the filename exists and is a symbolic link…
PHP Functions Tutorial - Php - Filesystem Function: is_readable
Returns TRUE if the file or directory specified by filename exists and is readable…
PHP Functions Tutorial - Php - Filesystem Function: is_uploaded_file
Tells whether the file was uploaded via HTTP POST…
PHP Functions Tutorial - Php - Filesystem Function: is_writable
Returns TRUE if the filename exists and is writable. The filename argument may be a directory name allowing you to check if a directory is writeable.
PHP Functions Tutorial - Php - Filesystem Function: is_writeable
This function is an alias of: is_writable()…
PHP Functions Tutorial - Php - Filesystem Function: link
link() creates a hard link. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - Filesystem Function: linkinfo
linkinfo() returns the st_dev field of the Unix C stat structure returned by the lstat system call. This function is used to verify if a link (pointed to by path) really exists (using the same method as the S_ISLNK macro defined in stat.h). Returns 0 or FALSE in case of error.
PHP Functions Tutorial - Php - Filesystem Function: lstat
Gives information about a file or symbolic link…
PHP Functions Tutorial - Php - Filesystem Function: mkdir
Attempts to create the directory specified by pathname.
PHP Functions Tutorial - Php - Filesystem Function: move_uploaded_file
This function checks to ensure that the file designated by filename is a valid upload file (meaning that it was uploaded via PHP's HTTP POST upload mechanism). If the file is valid, it will be moved to the filename given by destination.
PHP Functions Tutorial - Php - Filesystem Function: parse_ini_file
parse_ini_file() loads in the ini file specified in filename, and returns the settings in it in an associative array. By setting the last process_sections parameter to TRUE, you get a multidimensional array, with the section names and settings included. The default for process_sections is FALSE...
PHP Functions Tutorial - Php - Filesystem Function: pathinfo
pathinfo() returns an associative array containing information about path. The following array elements are returned: dirname, basename and extension.
PHP Functions Tutorial - Php - Filesystem Function: pclose
Closes a file pointer to a pipe opened by popen()…
PHP Functions Tutorial - Php - Filesystem Function: popen
Opens a pipe to a process executed by forking the command given by command…
PHP Functions Tutorial - Php - Filesystem Function: readfile
Reads a file and writes it to the output buffer…
PHP Functions Tutorial - Php - Filesystem Function: readlink
readlink() does the same as the readlink C function and returns the contents of the symbolic link path or FALSE in case of error…
PHP Functions Tutorial - Php - Filesystem Function: realpath
Returns canonicalized absolute pathname…
PHP Functions Tutorial - Php - Filesystem Function: rename
Attempts to rename oldname to newname…
PHP Functions Tutorial - Php - Filesystem Function: rewind
Rewind the position of a file pointer…
PHP Functions Tutorial - Php - Filesystem Function: rmdir
Attempts to remove the directory named by dirname. The directory must be empty, and the relevant permissions must permit this. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - Filesystem Function: set_file_buffer
This function is an alias of: stream_set_write_buffer()…
PHP Functions Tutorial - Php - Filesystem Function: stat
Gathers the statistics of the file named by filename. If filename is a symbolic link, statistics are from the file itself, not the symlink. lstat() is identical to stat() except it would instead be based off the symlinks status.
PHP Functions Tutorial - Php - Filesystem Function: symlink
symlink() creates a symbolic link from the existing target with the specified name link…
PHP Functions Tutorial - Php - Filesystem Function: tempnam
Creates a file with a unique filename in the specified directory. If the directory does not exist, tempnam() may generate a file in the system's temporary directory, and return the name of that.
PHP Functions Tutorial - Php - Filesystem Function: tmpfile
Creates a temporary file with a unique name in read-write (w+) mode, returning a file handle similar to the one returned by fopen(). The file is automatically removed when closed (using fclose()), or when the script ends.
PHP Functions Tutorial - Php - Filesystem Function: touch
Attempts to set the access and modification time of the file named by filename to the value given by time. If the parameter time is not given, uses the present time. This is equivalent to what utime (sometimes referred to as utimes) does. If the third parameter atime...
PHP Functions Tutorial - Php - Filesystem Function: umask
umask() sets PHP's umask to mask & 0777 and returns the old umask. When PHP is being used as a server module, the umask is restored when each request is finished.
PHP Functions Tutorial - Php - Filesystem Function: unlink
Deletes filename. Similar to the Unix C unlink() function. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - Network Function: checkdnsrr
Check DNS records corresponding to a given Internet host name or IP address…
PHP Functions Tutorial - Php - Network Function: closelog
closelog() closes the descriptor being used to write to the system logger. The use of closelog() is optional…
PHP Functions Tutorial - Php - Network Function: debugger_off
Disables the internal PHP debugger. This function is only available in PHP 3…
PHP Functions Tutorial - Php - Network Function: debugger_on
Enables the internal PHP debugger, connecting it to address. This function is only available in PHP 3…
PHP Functions Tutorial - Php - Network Function: define_syslog_variables
Initializes all constants used in the syslog functions…
PHP Functions Tutorial - Php - Network Function: dns_check_record
Check DNS records corresponding to a given Internet host name or IP address…
PHP Functions Tutorial - Php - Network Function: dns_get_mx
Get MX records corresponding to a given Internet host name…
PHP Functions Tutorial - Php - Network Function: dns_get_record
This function returns an array of associative arrays. Each associative array contains at minimum the following keys…
PHP Functions Tutorial - Php - Network Function: fsockopen
Open Internet or Unix domain socket connection…
PHP Functions Tutorial - Php - Network Function: gethostbyaddr
Get the Internet host name corresponding to a given IP address…
PHP Functions Tutorial - Php - Network Function: gethostbyname
Get the IP address corresponding to a given Internet host name…
PHP Functions Tutorial - Php - Network Function: gethostbynamel
Get a list of IP addresses corresponding to a given Internet host name…
PHP Functions Tutorial - Php - Network Function: getmxrr
Get MX records corresponding to a given Internet host name…
PHP Functions Tutorial - Php - Network Function: getprotobyname
Get protocol number associated with protocol name…
PHP Functions Tutorial - Php - Network Function: getprotobynumber
Get protocol name associated with protocol number…
PHP Functions Tutorial - Php - Network Function: getservbyname
Get port number associated with an Internet service and protocol…
PHP Functions Tutorial - Php - Network Function: getservbyport
Get Internet service which corresponds to port and protocol…
PHP Functions Tutorial - Php - Network Function: inet_ntop
Converts a packed internet address to a human readable representation…
PHP Functions Tutorial - Php - Network Function: inet_pton
Converts a human readable IP address to its packed in_addr representation…
PHP Functions Tutorial - Php - Network Function: ip2long
Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address…
PHP Functions Tutorial - Php - Network Function: long2ip
Converts an (IPv4) Internet network address into a string in Internet standard dotted format…
PHP Functions Tutorial - Php - Network Function: openlog
Open connection to system logger…
PHP Functions Tutorial - Php - Network Function: pfsockopen
Open persistent Internet or Unix domain socket connection…
PHP Functions Tutorial - Php - Network Function: socket_get_status
This function is an alias of: stream_get_meta_data()…
PHP Functions Tutorial - Php - Network Function: socket_set_blocking
This function is an alias of: stream_set_blocking()…
PHP Functions Tutorial - Php - Network Function: socket_set_timeout
This function is an alias of: stream_set_timeout()…
PHP Functions Tutorial - Php - Network Function: syslog
syslog() generates a log message that will be distributed by the system logger…
PHP Functions Tutorial - Php - Classkit Function: classkit_import
Import new class method definitions from a file…
PHP Functions Tutorial - Php - Classkit Function: classkit_method_add
Dynamically adds a new method to a given class…
PHP Functions Tutorial - Php - Classkit Function: classkit_method_copy
Copies a method from class to another…
PHP Functions Tutorial - Php - Classkit Function: classkit_method_redefine
Dynamically changes the code of the given method…
PHP Functions Tutorial - Php - Classkit Function: classkit_method_remove
Dynamically removes the given method…
PHP Functions Tutorial - Php - Classkit Function: classkit_method_rename
Dynamically changes the name of the given method…
PHP Functions Tutorial - Php - Classes/Objects Function: call_user_method_array
Call a user method given with an array of parameters [deprecated]…
PHP Functions Tutorial - Php - Classes/Objects Function: call_user_method
Call a user method on an specific object [deprecated]…
PHP Functions Tutorial - Php - Classes/Objects Function: class_exists
This function returns TRUE if the class given by class_name has been defined, FALSE otherwise…
PHP Functions Tutorial - Php - Classes/Objects Function: get_class_methods
This function returns an array of method names defined for the class specified by class_name. In case of an error, it returns NULL…
PHP Functions Tutorial - Php - Classes/Objects Function: get_class_vars
This function will return an associative array of default public properties of the class. The resulting array elements are in the form of varname => value…
PHP Functions Tutorial - Php - Classes/Objects Function: get_class
This function returns the name of the class of which the object obj is an instance. Returns FALSE if obj is not an object.
PHP Functions Tutorial - Php - Classes/Objects Function: get_declared_classes
This function returns an array of the names of the declared classes in the current script…
PHP Functions Tutorial - Php - Classes/Objects Function: get_declared_interfaces
This function returns an array of the names of the declared interfaces in the current script…
PHP Functions Tutorial - Php - Classes/Objects Function: get_object_vars
This function returns an associative array of defined object properties for the specified object obj…
PHP Functions Tutorial - Php - Classes/Objects Function: get_parent_class
Retrieves the parent class name for object or class…
PHP Functions Tutorial - Php - Classes/Objects Function: interface_exists
This function returns TRUE if the interface given by interface_name has been defined, FALSE otherwise…
PHP Functions Tutorial - Php - Classes/Objects Function: is_a
Returns TRUE if the object is of this class or has this class as one of its parents…
PHP Functions Tutorial - Php - Classes/Objects Function: is_subclass_of
Returns TRUE if the object has this class as one of its parents…
PHP Functions Tutorial - Php - Classes/Objects Function: method_exists
Checks if the class method exists…
PHP Functions Tutorial - Php - Classes/Objects Function: property_exists
This function checks if the given property exists in the specified class (and if it was declared as public)…
PHP Functions Tutorial - Php - COM Function: COM
The COM class allows you to instantiate an OLE compatible COM object and call its methods and access its properties.
PHP Functions Tutorial - Php - COM Function: DOTNET
The DOTNET class allows you to instantiate a class from a .Net assembly and call its methods and access its properties.
PHP Functions Tutorial - Php - COM Function: VARIANT
The VARIANT is COM's equivalent of the PHP zval; it is a structure that can contain a value with a range of different possible types. The VARIANT class provided by the COM extension allows you to have more control over the way that PHP passes values to and from COM.
PHP Functions Tutorial - Php - COM Function: com_addref
Increases the components reference counter [deprecated]…
PHP Functions Tutorial - Php - COM Function: com_create_guid
Generates a Globally Unique Identifier (GUID) and returns it as a string. A GUID is generated in the same way as DCE UUID's, except that the Microsoft convention is to enclose a GUID in curly braces…
PHP Functions Tutorial - Php - COM Function: com_event_sink
Connect events from a COM object to a PHP object…
PHP Functions Tutorial - Php - COM Function: com_get_active_object
Returns a handle to an already running instance of a COM object…
PHP Functions Tutorial - Php - COM Function: com_get
Gets the value of a COM Component's property [deprecated]…
PHP Functions Tutorial - Php - COM Function: com_invoke
com_invoke() invokes the method named function_name of the COM component referenced by com_object. com_invoke() returns FALSE on error, returns the function_name's return value on success. All the extra parameters function_parameters are passed to the method function_name.
PHP Functions Tutorial - Php - COM Function: com_isenum
Indicates if a COM object has an IEnumVariant interface for iteration [deprecated]…
PHP Functions Tutorial - Php - COM Function: com_load_typelib
Loads a type-library and registers its constants in the engine, as though they were defined using define(). The case_insensitive behaves in the same way as the parameter with the same name in the define() function…
PHP Functions Tutorial - Php - COM Function: com_load
Creates a new reference to a COM component [deprecated]…
PHP Functions Tutorial - Php - COM Function: com_message_pump
Process COM messages, sleeping for up to timeoutms milliseconds…
PHP Functions Tutorial - Php - COM Function: com_print_typeinfo
Print out a PHP class definition for a dispatchable interface…
PHP Functions Tutorial - Php - COM Function: com_propget
This function is an alias of: com_get()…
PHP Functions Tutorial - Php - COM Function: com_propput
This function is an alias of: com_set()…
PHP Functions Tutorial - Php - COM Function: com_propset
This function is an alias of: com_set()…
PHP Functions Tutorial - Php - COM Function: com_release
Decreases the components reference counter [deprecated]…
PHP Functions Tutorial - Php - COM Function: com_set
Sets the value of the property of the COM component referenced by com_object. Returns the newly set value if succeeded, FALSE on error…
PHP Functions Tutorial - Php - COM Function: variant_abs
Returns the absolute value of a variant…
PHP Functions Tutorial - Php - COM Function: variant_add
"Adds" two variant values together and returns the result…
PHP Functions Tutorial - Php - COM Function: variant_and
performs a bitwise AND operation between two variants and returns the result…
PHP Functions Tutorial - Php - COM Function: variant_cast
Convert a variant into a new variant object of another type…
PHP Functions Tutorial - Php - COM Function: variant_cat
Concatenates two variant values together and returns the result…
PHP Functions Tutorial - Php - COM Function: variant_cmp
Compares two variants…
PHP Functions Tutorial - Php - COM Function: variant_date_from_timestamp
Converts timestamp from a unix timestamp value into a variant of type VT_DATE. This allows easier interopability between the unix-ish parts of PHP and COM…
PHP Functions Tutorial - Php - COM Function: variant_date_to_timestamp
Converts a variant date/time value to unix timestamp…
PHP Functions Tutorial - Php - COM Function: variant_div
Returns the result from dividing two variants…
PHP Functions Tutorial - Php - COM Function: variant_eqv
Performs a bitwise equivalence on two variants…
PHP Functions Tutorial - Php - COM Function: variant_fix
If variant is negative, then the first negative integer greater than or equal to the variant is returned, otherwise returns the integer portion of the value of variant.
PHP Functions Tutorial - Php - COM Function: variant_get_type
This function returns an integer value that indicates the type of variant, which can be an instance of COM, DOTNET or VARIANT classes. The return value can be compared to one of the VT_XXX constants.0
PHP Functions Tutorial - Php - COM Function: variant_idiv
Converts variants to integers and then returns the result from dividing them…
PHP Functions Tutorial - Php - COM Function: variant_imp
Performs a bitwise implication operation, according to the following truth table…
PHP Functions Tutorial - Php - COM Function: variant_int
If variant is negative, then the first negative integer greater than or equal to the variant is returned, otherwise returns the integer portion of the value of variant…
PHP Functions Tutorial - Php - COM Function: variant_mod
Divides two variants and returns only the remainder…
PHP Functions Tutorial - Php - COM Function: variant_mul
multiplies the values of the two variants and returns the result…
PHP Functions Tutorial - Php - COM Function: variant_neg
Performs logical negation of variant and returns the result…
PHP Functions Tutorial - Php - COM Function: variant_not
Performs bitwise not negation on variant and returns the result. If variant is NULL, the result will also be NULL…
PHP Functions Tutorial - Php - COM Function: variant_or
Performs a bitwise OR operation, according to the following truth table; note that this is slightly different from a regular OR operation.
PHP Functions Tutorial - Php - COM Function: variant_pow
Returns the result of performing the power function with two variants…
PHP Functions Tutorial - Php - COM Function: variant_round
Rounds a variant to the specified number of decimal places…
PHP Functions Tutorial - Php - COM Function: variant_set_type
This function is similar to variant_cast() except that the variant is modified "in-place"; no new variant is created. The parameters for this function have identical meaning to those of variant_cast()…
PHP Functions Tutorial - Php - COM Function: variant_set
Converts value to a variant and assigns it to the variant object; no new variant object is created, and the old value of variant is freed/released…
PHP Functions Tutorial - Php - COM Function: variant_sub
subtracts the value of the right variant from the left variant value and returns the result…
PHP Functions Tutorial - Php - COM Function: variant_xor
Performs a logical exclusion on two variants…
PHP Functions Tutorial - Php - Misc. Function: connection_aborted
Returns TRUE if client disconnected. See the Connection Handling description in the Features chapter for a complete explanation.
PHP Functions Tutorial - Php - Misc. Function: connection_status
Returns the connection status bitfield. See the Connection Handling description in the Features chapter for a complete explanation…
PHP Functions Tutorial - Php - Misc. Function: connection_timeout
Return TRUE if script timed out…
PHP Functions Tutorial - Php - Misc. Function: constant
constant() will return the value of the constant indicated by name…
PHP Functions Tutorial - Php - Misc. Function: define
Defines a named constant…
PHP Functions Tutorial - Php - Misc. Function: defined
Checks whether a given named constant exists…
PHP Functions Tutorial - Php - Misc. Function: die
This language construct is equivalent to exit()…
PHP Functions Tutorial - Php - Misc. Function: eval
Evaluate a string as PHP code…
PHP Functions Tutorial - Php - Misc. Function: exit
Output a message and terminate the current script…
PHP Functions Tutorial - Php - Misc. Function: get_browser
get_browser() attempts to determine the capabilities of the user's browser. This is done by looking up the browser's information in the browscap.ini file…
PHP Functions Tutorial - Php - Misc. Function: __halt_compiler
This function halts the execution of the compiler. This can be useful to embed data in PHP scripts, like the installation files. Byte position of the data start can be determined by the __COMPILER_HALT_OFFSET__ constant which is defined only if there is a __halt_compiler() presented in the file.
PHP Functions Tutorial - Php - Misc. Function: highlight_file
The highlight_file() function prints out a syntax highlighted version of the code contained in filename using the colors defined in the built-in syntax highlighter for PHP.
PHP Functions Tutorial - Php - Misc. Function: highlight_string
The highlight_string() function outputs a syntax highlighted version of str using the colors defined in the built-in syntax highlighter for PHP.
PHP Functions Tutorial - Php - Misc. Function: ignore_user_abort
Set whether a client disconnect should abort script execution…
PHP Functions Tutorial - Php - Misc. Function: pack
Pack given arguments into binary string according to format. Returns binary string containing data…
PHP Functions Tutorial - Php - Misc. Function: php_check_syntax
Check the PHP syntax of (and execute) the specified file…
PHP Functions Tutorial - Php - Misc. Function: php_strip_whitespace
Returns the PHP source code in filename with PHP comments and whitespace removed. This may be useful for determining the amount of actual code in your scripts compared with the amount of comments…
PHP Functions Tutorial - Php - Misc. Function: show_source
This function is an alias of: highlight_file()…
PHP Functions Tutorial - Php - Misc. Function: sleep
The sleep() function delays program execution for the given number of seconds.
PHP Functions Tutorial - Php - Misc. Function: time_nanosleep
Delays program execution for the given number of seconds and nanoseconds…
PHP Functions Tutorial - Php - Misc. Function: time_sleep_until
This function will make the script sleep until the specified timestamp. If the specified timestamp is in the past, time_sleep_until() will generate a E_WARNING and return FALSE.
PHP Functions Tutorial - Php - Misc. Function: uniqid
uniqid() returns a prefixed unique identifier based on the current time in microseconds. prefix is optional but can be useful, for instance, if you generate identifiers simultaneously on several…
PHP Functions Tutorial - Php - Misc. Function: unpack
unpack() from binary string into array according to format. Returns array containing unpacked elements of binary string.
PHP Functions Tutorial - Php - Misc. Function: usleep
The usleep() function delays program execution for the given number of micro_seconds. A microsecond is one millionth of a second.
PHP Functions Tutorial - Php - Crack Function: crack_check
Performs an obscure check with the given password…
PHP Functions Tutorial - Php - Crack Function: crack_closedict
Closes an open CrackLib dictionary…
PHP Functions Tutorial - Php - Crack Function: crack_getlastmessage
crack_getlastmessage() returns the message from the last obscure check…
PHP Functions Tutorial - Php - Crack Function: crack_opendict
crack_opendict() opens the specified CrackLib dictionary for use with crack_check()…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_add_annotation
The cpdf_add_annotation() adds a note with the lower left corner at (llx, lly) and the upper right corner at (urx, ury). Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_add_outline
The cpdf_add_outline() function adds a bookmark with text text that points to the current page.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_arc
The cpdf_arc() function draws an arc with center at point (x_coor, y_coor) and radius radius, starting at angle start and ending at angle end. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_begin_text
The cpdf_begin_text() function starts a text section. Returns TRUE on success or FALSE on failure. The created text section must be ended with cpdf_end_text().
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_circle
The cpdf_circle() function draws a circle with center at point (x_coor, y_coor) and radius radius. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_clip
The cpdf_clip() function clips all drawing to the current path. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_close
The cpdf_close() function closes the pdf document. Returns TRUE on success or FALSE on failure. This should be the last function even after cpdf_finalize(), cpdf_output_buffer() and cpdf_save_to_file()…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_closepath_fill_stroke
The cpdf_closepath_fill_stroke() function closes, fills the interior of the current path with the current fill color and draws current path. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_closepath_stroke
The cpdf_closepath_stroke() function is a combination of cpdf_closepath() and cpdf_stroke(). Then clears the path. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_closepath
The cpdf_closepath() function closes the current path. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_continue_text
The cpdf_continue_text() function outputs the string in text in the next line. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_curveto
The cpdf_curveto() function draws a Bezier curve from the current point to the point (x3, y3) using (x1, y1) and (x2, y2) as control points. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_end_text
The cpdf_end_text() function ends a text section which was started with cpdf_begin_text(). Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_fill_stroke
The cpdf_fill_stroke() function fills the interior of the current path with the current fill color and draws current path. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_fill
The cpdf_fill() function fills the interior of the current path with the current fill color. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_finalize_page
The cpdf_finalize_page() function ends the page with page number page_number. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_finalize
The cpdf_finalize() function ends the document. You still have to call cpdf_close(). Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_global_set_document_limits
The cpdf_global_set_document_limits() function sets several document limits. This function has to be called before cpdf_open() to take effect. It sets the limits for any document open afterwards. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_import_jpeg
The cpdf_import_jpeg() function opens an image stored in the file with the name file_name. The format of the image has to be jpeg. The image is placed on the current page at position (x_coor, y_coor). The image is rotated by angle degrees. gsave should be non-zero to allow this function to operate correctly...
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_lineto
The cpdf_lineto() function draws a line from the current point to the point with coordinates (x_coor, y_coor). Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_moveto
The cpdf_moveto() function set the current point to the coordinates x_coor and y_coor. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_newpath
The cpdf_newpath() starts a new path on the document given by the pdf_document parameter. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_open
The cpdf_open() function opens a new pdf document. The first parameter turns document compression on if it is unequal to 0. The second optional parameter sets the file in which the document is written…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_output_buffer
The cpdf_output_buffer() function outputs the pdf document to stdout. The document has to be created in memory which is the case if cpdf_open() has been called with no filename parameter. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_page_init
The cpdf_page_init() function starts a new page with height height and width width. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_place_inline_image
The cpdf_place_inline_image() function places an image created with the PHP image functions on the page at position (x_coor, y_coor). The image can be scaled at the same time. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_rect
The cpdf_rect() function draws a rectangle with its lower left corner at point (x_coor, y_coor). This width is set to width. This height is set to height. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_restore
The cpdf_restore() function restores the environment saved with cpdf_save(). It works like the postscript command grestore. Very useful if you want to translate or rotate an object without effecting other objects. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_rlineto
The cpdf_rlineto() function draws a line from the current point to the relative point with coordinates (x_coor, y_coor). Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_rmoveto
The cpdf_rmoveto() function set the current point relative to the coordinates x_coor and y_coor. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_rotate_text
Sets text rotation angle…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_rotate
The cpdf_rotate() function set the rotation in degrees to angle. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_save_to_file
The cpdf_save_to_file() function outputs the pdf document into a file if it has been created in memory. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_save
The cpdf_save() function saves the current environment. It works like the postscript command gsave. Very useful if you want to translate or rotate an object without effecting other objects. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_scale
The cpdf_scale() function set the scaling factor in both directions. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_action_url
Sets hyperlink…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_char_spacing
The cpdf_set_char_spacing() function sets the spacing between characters. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_creator
The cpdf_set_creator() function sets the creator of a pdf document. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_current_page
The cpdf_set_current_page() function set the page on which all operations are performed. One can switch between pages until a page is finished with cpdf_finalize_page(). Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_font_directories
Sets directories to search when using external fonts…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_font_map_file
Sets fontname to filename translation map when using external fonts…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_font
The cpdf_set_font() function sets the current font face, font size and encoding. Currently only the standard postscript fonts are supported. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_horiz_scaling
The cpdf_set_horiz_scaling() function sets the horizontal scaling to scale percent. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_keywords
The cpdf_set_keywords() function sets the keywords of a pdf document. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_leading
The cpdf_set_leading() function sets the distance between text lines. This will be used if text is output by cpdf_continue_text(). Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_page_animation
The cpdf_set_page_animation() function set the transition between following pages. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_subject
The cpdf_set_subject() function sets the subject of a pdf document. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_text_matrix
The cpdf_set_text_matrix() function sets a matrix which describes a transformation applied on the current text font. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_text_pos
The cpdf_set_text_pos() function sets the position of text for the next cpdf_show() function call. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_text_rendering
The cpdf_set_text_rendering() function determines how text is rendered. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_text_rise
The cpdf_set_text_rise() function sets the text rising to value units. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_title
The cpdf_set_title() function sets the title of a pdf document. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_viewer_preferences
How to show the document in the viewer…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_set_word_spacing
The cpdf_set_word_spacing() function sets the spacing between words. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_setdash
The cpdf_setdash() function set the dash pattern white white units and black black units. If both are 0 a solid line is set. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_setflat
The cpdf_setflat() function set the flatness to a value between 0 and 100. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_setgray_fill
The cpdf_setgray_fill() function sets the current gray value to fill a path. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_setgray_stroke
The cpdf_setgray_stroke() function sets the current drawing color to the given gray value. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_setgray
The cpdf_setgray() function sets the current drawing and filling color to the given gray value. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_setlinecap
The cpdf_setlinecap() function set the linecap parameter between a value of 0 and 2. 0 = butt end, 1 = round, 2 = projecting square. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_setlinejoin
The cpdf_setlinejoin() function set the linejoin parameter between a value of 0 and 2. 0 = miter, 1 = round, 2 = bevel. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_setlinewidth
The cpdf_setlinewidth() function set the line width to width. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_setmiterlimit
The cpdf_setmiterlimit() function set the miter limit to a value greater or equal than 1. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_setrgbcolor_fill
The cpdf_setrgbcolor_fill() function sets the current rgb color value to fill a path. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_setrgbcolor_stroke
The cpdf_setrgbcolor_stroke() function sets the current drawing color to the given rgb color value. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_setrgbcolor
The cpdf_setrgbcolor() function sets the current drawing and filling color to the given rgb color value. Returns TRUE on success or FALSE on failure.
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_show_xy
The cpdf_show_xy() function outputs the string text at position with coordinates (x_coor, y_coor). Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_show
The cpdf_show() function outputs the string in text at the current position. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_stringwidth
The cpdf_stringwidth() function returns the width of the string in text. It requires a font to be set before…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_stroke
The cpdf_stroke() function draws a line along current path. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_text
The cpdf_text() function outputs the string text at position with coordinates (x_coor, y_coor). Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - ClibPDF Function: cpdf_translate
The cpdf_translate() function set the origin of coordinate system to the point (x_coor, y_coor). Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - Ctype Function: ctype_alnum
Check for alphanumeric character(s)…
PHP Functions Tutorial - Php - Ctype Function: ctype_alpha
Check for alphabetic character(s)…
PHP Functions Tutorial - Php - Ctype Function: ctype_cntrl
Check for control character(s)…
PHP Functions Tutorial - Php - Ctype Function: ctype_digit
Check for numeric character(s)…
PHP Functions Tutorial - Php - Ctype Function: ctype_graph
Check for any printable character(s) except space…
PHP Functions Tutorial - Php - Ctype Function: ctype_lower
Check for lowercase character(s)…
PHP Functions Tutorial - Php - Ctype Function: ctype_print
Check for printable character(s)…
PHP Functions Tutorial - Php - Ctype Function: ctype_punct
Check for any printable character which is not whitespace or an alphanumeric character…
PHP Functions Tutorial - Php - Ctype Function: ctype_space
Check for whitespace character(s)…
PHP Functions Tutorial - Php - Ctype Function: ctype_upper
Check for uppercase character(s)…
PHP Functions Tutorial - Php - Ctype Function: ctype_xdigit
Check for character(s) representing a hexadecimal digit…
PHP Functions Tutorial - Php - Function handling Function: call_user_func_array
Call a user function given with an array of parameters…
PHP Functions Tutorial - Php - Function handling Function: call_user_func
Call a user function given by the first parameter…
PHP Functions Tutorial - Php - Function handling Function: create_function
Create an anonymous (lambda-style) function…
PHP Functions Tutorial - Php - Function handling Function: func_get_arg
Return an item from the argument list…
PHP Functions Tutorial - Php - Function handling Function: func_get_args
Returns an array comprising a function's argument list…
PHP Functions Tutorial - Php - Function handling Function: func_num_args
Returns the number of arguments passed to the function…
PHP Functions Tutorial - Php - Function handling Function: function_exists
Return TRUE if the given function has been defined…
PHP Functions Tutorial - Php - Function handling Function: get_defined_functions
Returns an array of all defined functions…
PHP Functions Tutorial - Php - Function handling Function: register_shutdown_function
Register a function for execution on shutdown…
PHP Functions Tutorial - Php - Function handling Function: register_tick_function
Register a function for execution on each tick…
PHP Functions Tutorial - Php - Function handling Function: unregister_tick_function
De-register a function for execution on each tick…
PHP Functions Tutorial - Php - CURL Function: curl_close
This function closes a CURL session and frees all resources. The CURL handle, ch, is also deleted…
PHP Functions Tutorial - Php - CURL Function: curl_copy_handle
This function copies a cURL handle, returning a new cURL handle with the same preferences…
PHP Functions Tutorial - Php - CURL Function: curl_errno
Returns the error number for the last cURL operation on the resource ch, or 0 (zero) if no error occurred…
PHP Functions Tutorial - Php - CURL Function: curl_error
Returns a clear text error message for the last cURL operation on the resource ch, or '' (the empty string) if no error occurred…
PHP Functions Tutorial - Php - CURL Function: curl_exec
This function should be called after you initialize a CURL session and all the options for the session are set. Its purpose is simply to execute the predefined CURL session (given by the ch)…
PHP Functions Tutorial - Php - CURL Function: curl_getinfo
Returns information about the last transfer, opt may be one of the following…
PHP Functions Tutorial - Php - CURL Function: curl_init
The curl_init() will initialize a new session and return a CURL handle for use with the curl_setopt(), curl_exec(), and curl_close() functions…
PHP Functions Tutorial - Php - CURL Function: curl_multi_add_handle
Add a normal cURL handle to a cURL multi handle…
PHP Functions Tutorial - Php - CURL Function: curl_multi_close
Close a set of cURL handles…
PHP Functions Tutorial - Php - CURL Function: curl_multi_exec
Run the sub-connections of the current cURL handle…
PHP Functions Tutorial - Php - CURL Function: curl_multi_getcontent
Return the content of a cURL handle if CURLOPT_RETURNTRANSFER is set…
PHP Functions Tutorial - Php - CURL Function: curl_multi_info_read
Get information about the current transfers…
PHP Functions Tutorial - Php - CURL Function: curl_multi_init
Returns a new cURL multi handle…
PHP Functions Tutorial - Php - CURL Function: curl_multi_remove_handle
Remove a multi handle from a set of cURL handles…
PHP Functions Tutorial - Php - CURL Function: curl_multi_select
Get all the sockets associated with the cURL extension, which can then be "selected"…
PHP Functions Tutorial - Php - CURL Function: curl_setopt
Set an option for a CURL transfer…
PHP Functions Tutorial - Php - CURL Function: curl_version
The curl_version() function returns a string containing the current CURL version…
PHP Functions Tutorial - Php - Cybercash Function: cybercash_base64_decode
base64 decode data for Cybercash…
PHP Functions Tutorial - Php - Cybercash Function: cybercash_base64_encode
base64 encode data for Cybercash…
PHP Functions Tutorial - Php - Cybercash Function: cybercash_decr
The function returns an associative array with the elements "errcode" and, if "errcode" is FALSE, "outbuff" (string), "outLth" (long) and "macbuff" (string)…
PHP Functions Tutorial - Php - Cybercash Function: cybercash_encr
The function returns an associative array with the elements "errcode" and, if "errcode" is FALSE, "outbuff" (string), "outLth" (long) and "macbuff" (string)…
PHP Functions Tutorial - Php - CyberMUT Function: cybermut_creerformulairecm
string cybermut_creerformulairecm ( string url_cm, string version, string tpe, string price, string ref_command, string text_free, string url_return, string url_return_ok, string url_return_err, string language, string code_company, string text_button)…
PHP Functions Tutorial - Php - CyberMUT Function: cybermut_creerreponsecm
Generate the delivery's acknowledgement of the payment's confirmation…
PHP Functions Tutorial - Php - CyberMUT Function: cybermut_testmac
Make sure that there was no data diddling contained in the received message of confirmation…
PHP Functions Tutorial - Php - Cyrus IMAP Function: cyrus_authenticate
Authenticate against a Cyrus IMAP server…
PHP Functions Tutorial - Php - Cyrus IMAP Function: cyrus_bind
Bind callbacks to a Cyrus IMAP connection…
PHP Functions Tutorial - Php - Cyrus IMAP Function: cyrus_close
Close connection to a Cyrus IMAP server…
PHP Functions Tutorial - Php - Cyrus IMAP Function: cyrus_connect
Connect to a Cyrus IMAP server…
PHP Functions Tutorial - Php - Cyrus IMAP Function: cyrus_query
Send a query to a Cyrus IMAP server…
PHP Functions Tutorial - Php - Cyrus IMAP Function: cyrus_unbind
This function is for Unbind...
PHP Functions Tutorial - Php - dba Function: dba_close
dba_close() closes the established database and frees all resources of the specified database handle…
PHP Functions Tutorial - Php - dba Function: dba_delete
dba_delete() deletes the specified entry from the database…
PHP Functions Tutorial - Php - dba Function: dba_exists
dba_exists() checks whether the specified key exists in the database…
PHP Functions Tutorial - Php - dba Function: dba_fetch
dba_fetch() fetches the data specified by key from the database specified with handle…
PHP Functions Tutorial - Php - dba Function: dba_firstkey
dba_firstkey() returns the first key of the database and resets the internal key pointer. This permits a linear search through the whole database…
PHP Functions Tutorial - Php - dba Function: dba_handlers
dba_handlers() list all the handlers supported by this extension…
PHP Functions Tutorial - Php - dba Function: dba_insert
dba_insert() inserts the entry described with key and value into the database…
PHP Functions Tutorial - Php - dba Function: dba_key_split
dba_key_split() splits a key (string representation) into an array representation…
PHP Functions Tutorial - Php - dba Function: dba_list
dba_list() list all open database files…
PHP Functions Tutorial - Php - dba Function: dba_nextkey
dba_nextkey() returns the next key of the database and advances the internal key pointer…
PHP Functions Tutorial - Php - dba Function: dba_open
dba_open() establishes a database instance for path with mode using handler…
PHP Functions Tutorial - Php - dba Function: dba_optimize
dba_optimize() optimizes the underlying database…
PHP Functions Tutorial - Php - dba Function: dba_popen
dba_popen() establishes a persistent database instance for path with mode using handler…
PHP Functions Tutorial - Php - dba Function: dba_replace
dba_replace() replaces or inserts the entry described with key and value into the database specified by handle…
PHP Functions Tutorial - Php - dba Function: dba_sync
dba_sync() synchronizes the database. This will probably trigger a physical write to the disk, if supported…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_autocommit
Sets or gets the AUTOCOMMIT behavior of the specified connection resource…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_bind_param
Binds a PHP variable to an SQL statement parameter…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_client_info
Returns an object with properties that describe the DB2 database client…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_close
This function closes a DB2 client connection created with db2_connect() and returns the corresponding resources to the database server…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_column_privileges
Returns a result set listing the columns and associated privileges for a table…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_columns
Returns a result set listing the columns and associated metadata for a table…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_commit
Commits an in-progress transaction on the specified connection resource and begins a new transaction. PHP applications normally default to AUTOCOMMIT mode, so db2_commit() is not necessary unless AUTOCOMMIT has been turned off for the connection resource...
PHP Functions Tutorial - Php - ibm_db2 Function: db2_conn_error
Returns a string containing the SQLSTATE returned by the last connection attempt…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_conn_errormsg
Returns the last connection error message and SQLCODE value…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_connect
Creates a new connection to an IBM DB2 Universal Database, IBM Cloudscape, or Apache Derby database…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_cursor_type
Returns the cursor type used by a statement resource. Use this to determine if you are working with a forward-only cursor or scrollable cursor…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_exec
Executes an SQL statement directly…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_execute
Executes a prepared SQL statement…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_fetch_array
Returns an array, indexed by column position, representing a row in a result set…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_fetch_assoc
Returns an array, indexed by column name, representing a row in a result set…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_fetch_both
Returns an array, indexed by both column name and position, representing a row in a result set…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_fetch_object
Returns an object with properties representing columns in the fetched row…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_fetch_row
Sets the result set pointer to the next row or requested row…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_field_display_size
Returns the maximum number of bytes required to display a column…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_field_name
Returns the name of the specified column in the result set.
PHP Functions Tutorial - Php - ibm_db2 Function: db2_field_num
Returns the position of the named column in a result set.
PHP Functions Tutorial - Php - ibm_db2 Function: db2_field_precision
Returns the precision of the indicated column in a result set…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_field_scale
Returns the scale of the indicated column in a result set…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_field_type
Returns the data type of the indicated column in a result set…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_field_width
Returns the width of the current value of the indicated column in a result set…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_foreign_keys
Returns a result set listing the foreign keys for a table…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_free_result
Frees resources associated with a result set…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_free_stmt
Frees resources associated with the indicated statement resource…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_next_result
Requests the next result set from a stored procedure…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_num_fields
Returns the number of fields contained in a result set…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_num_rows
Returns the number of rows affected by an SQL statement…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_pconnect
Returns a persistent connection to a database…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_prepare
Prepares an SQL statement to be executed…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_primary_keys
Returns a result set listing primary keys for a table…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_procedure_columns
Returns a result set listing stored procedure parameters…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_procedures
Returns a result set listing the stored procedures registered in a database…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_result
Returns a single column from a row in the result set…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_rollback
Rolls back an in-progress transaction on the specified connection resource and begins a new transaction. PHP applications normally default to AUTOCOMMIT mode, so db2_rollback() normally has no effect unless AUTOCOMMIT has been turned off for the connection resource.
PHP Functions Tutorial - Php - ibm_db2 Function: db2_server_info
Returns an object with properties that describe the DB2 database server…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_special_columns
Returns a result set listing the unique row identifier columns for a table…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_statistics
Returns a result set listing the index and statistics for a table…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_stmt_error
Returns a string containing the SQLSTATE returned by an SQL statement…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_stmt_errormsg
Returns a string containing the last SQL statement error message…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_table_privileges
Returns a result set listing the tables and associated privileges in a database…
PHP Functions Tutorial - Php - ibm_db2 Function: db2_tables
Returns a result set listing the tables and associated metadata in a database…
PHP Functions Tutorial - Php - dBase Function: dbase_add_record
Adds a record to a database…
PHP Functions Tutorial - Php - dBase Function: dbase_close
Closes a database…
PHP Functions Tutorial - Php - dBase Function: dbase_create
dbase_create() creates a dBase database with the given definition…
PHP Functions Tutorial - Php - dBase Function: dbase_delete_record
Marks the given record to be deleted from the database…
PHP Functions Tutorial - Php - dBase Function: dbase_get_header_info
Returns information on the column structure of the given database link identifier…
PHP Functions Tutorial - Php - dBase Function: dbase_get_record_with_names
Gets a record from a database as an associative array…
PHP Functions Tutorial - Php - dBase Function: dbase_get_record
Gets a record from a database as an indexed array…
PHP Functions Tutorial - Php - dBase Function: dbase_numfields
Gets the number of fields (columns) in the specified database…
PHP Functions Tutorial - Php - dBase Function: dbase_numrecords
Gets the number of records (rows) in the specified database…
PHP Functions Tutorial - Php - dBase Function: dbase_open
dbase_open() opens a dBase database with the given access mode…
PHP Functions Tutorial - Php - dBase Function: dbase_pack
Packs the specified database by permanently deleting all records marked for deletion using dbase_delete_record().
PHP Functions Tutorial - Php - dBase Function: dbase_replace_record
Replaces the given record in the database with the given data…
PHP Functions Tutorial - Php - DBM Function: dblist
Describes the DBM-compatible library being used…
PHP Functions Tutorial - Php - DBM Function: dbmclose
Unlocks and closes the specified database…
PHP Functions Tutorial - Php - DBM Function: dbmdelete
Deletes the value for a key from a DBM database…
PHP Functions Tutorial - Php - DBM Function: dbmexists
Tells if a value exists for a key in a DBM database…
PHP Functions Tutorial - Php - DBM Function: dbmfetch
Fetches a value for a key from a DBM database…
PHP Functions Tutorial - Php - DBM Function: dbmfirstkey
Returns the first key in the database. Note that no particular order is guaranteed since the database may be built using a hash-table, which doesn't guarantee any ordering.
PHP Functions Tutorial - Php - DBM Function: dbminsert
Inserts a value for a key in a DBM database…
PHP Functions Tutorial - Php - DBM Function: dbmnextkey
Retrieves the next key from a DBM database…
PHP Functions Tutorial - Php - DBM Function: dbmopen
Opens a DBM database…
PHP Functions Tutorial - Php - DBM Function: dbmreplace
Replaces the value for a key in a DBM database…
PHP Functions Tutorial - Php - DB++ Function: dbplus_add
This function will add a tuple to a relation. The tuple data is an array of attribute/value pairs to be inserted into the given relation. After successful execution the tuple array will contain the complete data of the newly created tuple, including all implicitly set domain fields like sequences.
PHP Functions Tutorial - Php - DB++ Function: dbplus_aql
dbplus_aql() will execute an AQL query on the given server and dbpath…
PHP Functions Tutorial - Php - DB++ Function: dbplus_chdir
dbplus_chdir() will change the virtual current directory where relation files will be looked for by dbplus_open(). dbplus_chdir() will return the absolute path of the current directory. Calling dbplus_chdir() without giving any newdir may be used to query the current working directory.
PHP Functions Tutorial - Php - DB++ Function: dbplus_close
Calling dbplus_close() will close a relation previously opened by dbplus_open()…
PHP Functions Tutorial - Php - DB++ Function: dbplus_curr
dbplus_curr() will read the data for the current tuple for the given relation and will pass it back as an associative array in tuple.
PHP Functions Tutorial - Php - DB++ Function: dbplus_errcode
dbplus_errcode() returns a cleartext error string for the error code passed as errno of for the result code of the last db++ operation if no parameter is given.
PHP Functions Tutorial - Php - DB++ Function: dbplus_errno
dbplus_errno() will return the error code returned by the last db++ operation…
PHP Functions Tutorial - Php - DB++ Function: dbplus_find
dbplus_find() will place a constraint on the given relation. Further calls to functions like dbplus_curr() or dbplus_next() will only return tuples matching the given constraints.
PHP Functions Tutorial - Php - DB++ Function: dbplus_first
The function will return zero (aka. DBPLUS_ERR_NOERR) on success or a db++ error code on failure. See dbplus_errcode() or the introduction to this chapter for more information on db++ error codes.
PHP Functions Tutorial - Php - DB++ Function: dbplus_flush
dbplus_flush() will write all changes applied to relation since the last flush to disk…
PHP Functions Tutorial - Php - DB++ Function: dbplus_freealllocks
dbplus_freealllocks() will free all tuple locks held by this client…
PHP Functions Tutorial - Php - DB++ Function: dbplus_freelock
dbplus_freelock() will release a write lock on the given tuple previously obtained by dbplus_getlock().
PHP Functions Tutorial - Php - DB++ Function: dbplus_freerlocks
dbplus_freerlocks() will free all tuple locks held on the given relation…
PHP Functions Tutorial - Php - DB++ Function: dbplus_getlock
dbplus_getlock() will request a write lock on the specified tuple. It will return zero on success or a non-zero error code, especially DBPLUS_ERR_WLOCKED, on failure…
PHP Functions Tutorial - Php - DB++ Function: dbplus_getunique
dbplus_getunique() will obtain a number guaranteed to be unique for the given relation and will pass it back in the variable given as uniqueid…
PHP Functions Tutorial - Php - DB++ Function: dbplus_info
Get information about a relation…
PHP Functions Tutorial - Php - DB++ Function: dbplus_last
The function will return zero (aka. DBPLUS_ERR_NOERR) on success or a db++ error code on failure. See dbplus_errcode() or the introduction to this chapter for more information on db++ error codes…
PHP Functions Tutorial - Php - DB++ Function: dbplus_lockrel
dbplus_lockrel() will request a write lock on the given relation. Other clients may still query the relation, but can't alter it while it is locked…
PHP Functions Tutorial - Php - DB++ Function: dbplus_next
Get next tuple from relation…
PHP Functions Tutorial - Php - DB++ Function: dbplus_open
The relation file name will be opened. name can be either a file name or a relative or absolute path name. This will be mapped in any case to an absolute relation file path on a specific host machine and server…
PHP Functions Tutorial - Php - DB++ Function: dbplus_prev
Get previous tuple from relation…
PHP Functions Tutorial - Php - DB++ Function: dbplus_rchperm
dbplus_rchperm() will change access permissions as specified by mask, user and group. The values for these are operating system specific…
PHP Functions Tutorial - Php - DB++ Function: dbplus_rcreate
dbplus_rcreate() will create a new relation named name. An existing relation by the same name will only be overwritten if the relation is currently not in use and overwrite is set to TRUE…
PHP Functions Tutorial - Php - DB++ Function: dbplus_rcrtexact
Creates an exact but empty copy of a relation including indices…
PHP Functions Tutorial - Php - DB++ Function: dbplus_rcrtlike
Creates an empty copy of a relation with default indices…
PHP Functions Tutorial - Php - DB++ Function: dbplus_resolve
Resolve host information for relation…
PHP Functions Tutorial - Php - DB++ Function: dbplus_restorepos
Restore position…
PHP Functions Tutorial - Php - DB++ Function: dbplus_rkeys
dbplus_rkeys() will replace the current primary key for relation with the combination of domains specified by domlist.
PHP Functions Tutorial - Php - DB++ Function: dbplus_ropen
dbplus_ropen() will open the relation file locally for quick access without any client/server overhead. Access is read only and only dbplus_current() and dbplus_next() may be applied to the returned relation.
PHP Functions Tutorial - Php - DB++ Function: dbplus_rquery
dbplus_rquery() performs a local (raw) AQL query using an AQL interpreter embedded into the db++ client library. dbplus_rquery() is faster than dbplus_aql() but will work on local data only…
PHP Functions Tutorial - Php - DB++ Function: dbplus_rrename
dbplus_rrename() will change the name of relation to name.
PHP Functions Tutorial - Php - DB++ Function: dbplus_rsecindex
dbplus_rsecindex() will create a new secondary index for relation with consists of the domains specified by domlist and is of type type…
PHP Functions Tutorial - Php - DB++ Function: dbplus_runlink
dbplus_unlink() will close and remove the relation…
PHP Functions Tutorial - Php - DB++ Function: dbplus_rzap
dbplus_rzap() will remove all tuples from relation…
PHP Functions Tutorial - Php - DB++ Function: dbplus_savepos
Save position by using this function of php…
PHP Functions Tutorial - Php - DB++ Function: dbplus_setindex
Set index by using this function of php...
PHP Functions Tutorial - Php - DB++ Function: dbplus_setindexbynumber
Set index by number…
PHP Functions Tutorial - Php - DB++ Function: dbplus_sql
Perform SQL query…
PHP Functions Tutorial - Php - DB++ Function: dbplus_tcl
dbplus_tcl() needs to pass the client connection id the TCL script code should be executed by. dbplus_resolve() will provide this connection id. The function will return whatever the TCL code returns or a TCL error message if the TCL code fails.
PHP Functions Tutorial - Php - DB++ Function: dbplus_tremove
dbplus_tremove() removes tuple from relation if it perfectly matches a tuple within the relation. current, if given, will contain the data of the new current tuple after calling dbplus_tremove().
PHP Functions Tutorial - Php - DB++ Function: dbplus_undo
This function will use for Undo…
PHP Functions Tutorial - Php - DB++ Function: dbplus_undoprepare
This function will use for Prepare undo…
PHP Functions Tutorial - Php - DB++ Function: dbplus_unlockrel
dbplus_unlockrel() will release a write lock previously obtained by dbplus_lockrel()…
PHP Functions Tutorial - Php - DB++ Function: dbplus_unselect
Calling dbplus_unselect() will remove a constraint previously set by dbplus_find() on relation…
PHP Functions Tutorial - Php - DB++ Function: dbplus_update
dbplus_update() replaces the tuple given by old with the data from new if and only if old completely matches a tuple within relation…
PHP Functions Tutorial - Php - DB++ Function: dbplus_xlockrel
dbplus_xlockrel() will request an exclusive lock on relation preventing even read access from other clients.
PHP Functions Tutorial - Php - DB++ Function: dbplus_xunlockrel
dbplus_xunlockrel() will release an exclusive lock on relation previously obtained by dbplus_xlockrel()…
PHP Functions Tutorial - Php - dbx Function: dbx_close
Close an open connection/database…
PHP Functions Tutorial - Php - dbx Function: dbx_compare
Compare two rows for sorting purposes…
PHP Functions Tutorial - Php - dbx Function: dbx_connect
dbx_connect() returns an object on success, FALSE on error. If a connection has been made but the database could not be selected, the connection is closed and FALSE is returned. The persistent parameter can be set to DBX_PERSISTENT, if so, a persistent connection will be created...
PHP Functions Tutorial - Php - dbx Function: dbx_error
Report the error message of the latest function call in the module (not just in the connection)…
PHP Functions Tutorial - Php - dbx Function: dbx_escape_string
Escape a string so it can safely be used in an sql-statement…
PHP Functions Tutorial - Php - dbx Function: dbx_fetch_row
Fetches rows from a query-result that had the DBX_RESULT_UNBUFFERED flag set…
PHP Functions Tutorial - Php - dbx Function: dbx_query
dbx_query() returns an object or 1 on success, and 0 on failure. The result object is returned only if the query given in sql_statement produces a result set (i.e. a SELECT query, even if the result set is empty)…
PHP Functions Tutorial - Php - dbx Function: dbx_sort
Sort a result from a dbx_query by a custom sort function…
PHP Functions Tutorial - Php - Errors and Logging Function: debug_backtrace
debug_backtrace() generates a PHP backtrace…
PHP Functions Tutorial - Php - Errors and Logging Function: debug_print_backtrace
debug_print_backtrace() prints a PHP backtrace. It prints the function calls, included/required files and eval()ed stuff…
PHP Functions Tutorial - Php - Errors and Logging Function: error_log
Send an error message somewhere…
PHP Functions Tutorial - Php - Errors and Logging Function: error_reporting
The error_reporting() function sets the error_reporting directive at runtime. PHP has many levels of errors, using this function sets that level for the duration (runtime) of your script.
PHP Functions Tutorial - Php - Errors and Logging Function: restore_error_handler
Used after changing the error handler function using set_error_handler(), to revert to the previous error handler (which could be the built-in or a user defined function).
PHP Functions Tutorial - Php - Errors and Logging Function: restore_exception_handler
Restores the previously defined exception handler function…
PHP Functions Tutorial - Php - Errors and Logging Function: set_error_handler
Sets a user-defined error handler function…
PHP Functions Tutorial - Php - Errors and Logging Function: set_exception_handler
Sets a user-defined exception handler function…
PHP Functions Tutorial - Php - Errors and Logging Function: trigger_error
Generates a user-level error/warning/notice message…
PHP Functions Tutorial - Php - Errors and Logging Function: user_error
This function is an alias of: trigger_error()…
PHP Functions Tutorial - Php - Direct IO Function: dio_close
Closes the file descriptor given by fd…
PHP Functions Tutorial - Php - Direct IO Function: dio_fcntl
The dio_fcntl() function performs the operation specified by cmd on the file descriptor fd. Some commands require additional arguments args to be supplied…
PHP Functions Tutorial - Php - Direct IO Function: dio_open
Opens a new filename with specified permissions of flags and creation permissions of mode…
PHP Functions Tutorial - Php - Direct IO Function: dio_read
The function dio_read() reads and returns len bytes from file with descriptor fd…
PHP Functions Tutorial - Php - Direct IO Function: dio_seek
The function dio_seek() is used to change the file position of the given file descriptor…
PHP Functions Tutorial - Php - Direct IO Function: dio_stat
dio_stat() returns information about the given file descriptor…
PHP Functions Tutorial - Php - Direct IO Function: dio_tcsetattr
dio_tcsetattr() sets the terminal attributes and baud rate of the open fd…
PHP Functions Tutorial - Php - Direct IO Function: dio_truncate
dio_truncate() truncates a file to at most offset bytes in size…
PHP Functions Tutorial - Php - Direct IO Function: dio_write
dio_write() writes up to len bytes from data to file fd…
PHP Functions Tutorial - Php - DOM Function: DOMAttr->__construct()
Creates a new DOMAttr object. This object is read only. It may be appended to a document, but additional nodes may not be appended to this node until the node is associated with a document…
PHP Functions Tutorial - Php - DOM Function: DOMAttr->isId()
According to the DOM standard this requires a DTD which defines the attribute ID to be of type ID. You need to validate your document with DOMDocument->validate() or DOMDocument::validateOnParse before using this function…
PHP Functions Tutorial - Php - DOM Function: DOMCharacterData->appendData()
Append the string to the end of the character data of the node…
PHP Functions Tutorial - Php - DOM Function: DOMCharacterData->deleteData()
Remove a range of characters from the node…
PHP Functions Tutorial - Php - DOM Function: DOMCharacterData->insertData()
Insert a string at the specified 16-bit unit offset…
PHP Functions Tutorial - Php - DOM Function: DOMCharacterData->replaceData()
Replace a substring within the DOMCharacterData node…
PHP Functions Tutorial - Php - DOM Function: DOMCharacterData->substringData()
Extracts a range of data from the node…
PHP Functions Tutorial - Php - DOM Function: DOMComment->__construct()
Creates a new DOMComment object…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->__construct()
Creates a new DOMDocument object…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->createAttribute()
This function creates a new instance of class DOMAttr. This node will not show up in the document unless it is inserted with e.g. DOMNode->appendChild()…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->createAttributeNS()
Create new attribute node with an associated namespace…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->createCDATASection()
This function creates a new instance of class DOMCDATASection. This node will not show up in the document unless it is inserted with e.g. DOMNode->appendChild()…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->createComment()
This function creates a new instance of class DOMComment. This node will not show up in the document unless it is inserted with e.g. DOMNode->appendChild()…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->createDocumentFragment()
This function creates a new instance of class DOMDocumentFragment. This node will not show up in the document unless it is inserted with e.g. DOMNode->appendChild()…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->createElement()
This function creates a new instance of class DOMElement. This node will not show up in the document unless it is inserted with e.g. DOMNode->appendChild()…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->createElementNS()
This function creates a new element node with an associated namespace. This node will not show up in the document unless it is inserted with e.g. DOMNode->appendChild()…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->createEntityReference()
This function creates a new instance of class DOMEntityReference. This node will not show up in the document unless it is inserted with e.g. DOMNode->appendChild().
PHP Functions Tutorial - Php - DOM Function: DOMDocument->createProcessingInstruction()
This function creates a new instance of class DOMProcessingInstruction. This node will not show up in the document unless it is inserted with e.g. DOMNode->appendChild()…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->createTextNode()
This function creates a new instance of class DOMText. This node will not show up in the document unless it is inserted with e.g. DOMNode->appendChild()…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->getElementById()
This function is similar to DOMDocument->getElementsByTagName() but searches for an element with a given id…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->getElementsByTagName()
This function returns a new instance of class DOMNodeList containing the elements with a given tag name…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->getElementsByTagNameNS()
Searches for all elements with given tag name in specified namespace…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->importNode()
This function returns a copy of the node to import and associates it with the current document…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->load()
This method may also be called statically to load and create a DOMDocument object. The static invocation may be used when no DOMDocument properties need to be set prior to loading…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->loadHTML()
The function parses the HTML contained in the string source. Unlike loading XML, HTML does not have to be well-formed to load. This function may also be called statically to load and create a DOMDocument object. The static invocation may be used when no DOMDocument properties need to be set prior to loading...
PHP Functions Tutorial - Php - DOM Function: DOMDocument->loadHTMLFile()
The function parses the HTML document in the file named filename. Unlike loading XML, HTML does not have to be well-formed to load…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->loadXML()
Loads an XML document from a string…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->normalize()
Normalizes the document…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->relaxNGValidate()
Performs relaxNG validation on the document based on the given RNG schema…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->relaxNGValidateSource()
Performs relaxNG validation on the document based on the given RNG source…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->save()
Creates an XML document from the DOM representation. This function is usually called after building a new dom document from scratch as in the example below.
PHP Functions Tutorial - Php - DOM Function: DOMDocument->saveHTML()
Creates an HTML document from the DOM representation. This function is usually called after building a new dom document from scratch as in the example below.
PHP Functions Tutorial - Php - DOM Function: DOMDocument->saveHTMLFile()
Dumps the internal document into a file using HTML formatting…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->saveXML()
Creates an XML document from the DOM representation. This function is usually called after building a new dom document from scratch as in the example below…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->schemaValidate()
Validates a document based on the given schema file…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->schemaValidateSource()
Validates a document based on a schema defined in the given string…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->validate()
Validates the document based on its DTD…
PHP Functions Tutorial - Php - DOM Function: DOMDocument->xinclude()
Substitutes XIncludes in a DOMDocument Object…
PHP Functions Tutorial - Php - DOM Function: DOMElement->__construct()
Creates a new DOMElement object. This object is read only. It may be appended to a document, but additional nodes may not be appended to this node until the node is associated with a document…
PHP Functions Tutorial - Php - DOM Function: DOMElement->getAttribute()
Gets the value of the attribute with name name for the current node…
PHP Functions Tutorial - Php - DOM Function: DOMElement->getAttributeNode()
Returns the attribute node with name name for the current element…
PHP Functions Tutorial - Php - DOM Function: DOMElement->getAttributeNodeNS()
Returns the attribute node in namespace namespaceURI with local name localName for the current node…
PHP Functions Tutorial - Php - DOM Function: DOMElement->getAttributeNS()
Gets the value of the attribute in namespace namespaceURI with local name localName for the current node…
PHP Functions Tutorial - Php - DOM Function: DOMElement->getElementsByTagName()
This function returns a new instance of the class DOMNodeList of all descendant elements with a given tag name, in the order in which they are encountered in a preorder traversal of this element tree.
PHP Functions Tutorial - Php - DOM Function: DOMElement->getElementsByTagNameNS()
This function fetch all the descendant elements with a given localName and namespaceURI…
PHP Functions Tutorial - Php - DOM Function: DOMElement->hasAttribute()
Indicates whether attribute named name exists as a member of the element…
PHP Functions Tutorial - Php - DOM Function: DOMElement->hasAttributeNS()
Indicates whether attribute in namespace namespaceURI named localName exists as a member of the element…
PHP Functions Tutorial - Php - DOM Function: DOMElement->removeAttribute()
Removes attribute named name from the element…
PHP Functions Tutorial - Php - DOM Function: DOMElement->removeAttributeNode()
Removes attribute oldnode from the element…
PHP Functions Tutorial - Php - DOM Function: DOMElement->removeAttributeNS()
Removes attribute is namespace namespaceURI named localName from the element…
PHP Functions Tutorial - Php - DOM Function: DOMElement->setAttributeNode()
Adds new attribute node to element…
PHP Functions Tutorial - Php - DOM Function: DOMElement->setAttribute()
Sets an attribute with name name to the given value. If the attribute does not exist, it will be created…
PHP Functions Tutorial - Php - DOM Function: DOMElement->setAttributeNodeNS()
Adds new attribute node to element…
PHP Functions Tutorial - Php - DOM Function: DOMElement->setAttributeNS()
Sets an attribute with namespace namespaceURI and name name to the given value. If the attribute does not exist, it will be created…
PHP Functions Tutorial - Php - DOM Function: DOMAttr->__construct()
Creates a new DOMEntityReference object…
PHP Functions Tutorial - Php - DOM Function: DOMImplementation->__construct()
Creates a new DOMImplementation object…
PHP Functions Tutorial - Php - DOM Function: DOMImplementation->createDocument()
Creates a DOMDocument object of the specified type with its document element…
PHP Functions Tutorial - Php - DOM Function: DOMImplementation->createDocumentType()
Creates an empty DOMDocumentType object…
PHP Functions Tutorial - Php - DOM Function: DOMImplementation->hasFeature()
Test if the DOM implementation implements a specific feature…
PHP Functions Tutorial - Php - DOM Function: DOMNamedNodeMap->getNamedItem()
Retrieves a node specified by name…
PHP Functions Tutorial - Php - DOM Function: DOMNamedNodeMap->getNamedItemNS()
Retrieves a node specified by local name and namespace URI…
PHP Functions Tutorial - Php - DOM Function: DOMNamedNodeMap->item()
Retrieves a node specified by index within the DOMNamedNodeMap object…
PHP Functions Tutorial - Php - DOM Function: DOMNode->appendChild()
Adds new child at the end of the children…
PHP Functions Tutorial - Php - DOM Function: DOMNode->cloneNode()
Creates a copy of the node…
PHP Functions Tutorial - Php - DOM Function: DOMNode->hasAttributes()
This method checks if the node has attributes. The tested node have to be an XML_ELEMENT_NODE…
PHP Functions Tutorial - Php - DOM Function: DOMNode->hasChildNodes()
This function checks if the node has children…
PHP Functions Tutorial - Php - DOM Function: DOMNode->insertBefore()
This function inserts a new node right before the reference node. If you plan to do further modifications on the appended child you must use the returned node…
PHP Functions Tutorial - Php - DOM Function: DOMNode->isSameNode()
This function indicates if two nodes are the same node. The comparison is not based on content…
PHP Functions Tutorial - Php - DOM Function: DOMNode->isSupported()
Checks if the asked feature is supported for the specified version…
PHP Functions Tutorial - Php - DOM Function: DOMNode->lookupNamespaceURI()
Gets the namespace URI of the node based on the prefix…
PHP Functions Tutorial - Php - DOM Function: DOMNode->lookupPrefix()
Gets the namespace prefix of the node based on the namespace URI…
PHP Functions Tutorial - Php - DOM Function: DOMNode->normalize()
Normalizes the node…
PHP Functions Tutorial - Php - DOM Function: DOMNode->removeChild()
This functions removes a child from a list of children…
PHP Functions Tutorial - Php - DOM Function: DOMNode->replaceChild()
This function replaces the child oldnode with the passed new node. If the new node is already a child it will not be added a second time. If the replacement succeeds the old node is returned…
PHP Functions Tutorial - Php - DOM Function: DOMNodelist->item()
Retrieves a node specified by index within the DOMNodeList object…
PHP Functions Tutorial - Php - DOM Function: DOMProcessingInstruction->__construct()
Creates a new DOMProcessingInstruction object. This object is read only. It may be appended to a document, but additional nodes may not be appended to this node until the node is associated with a document…
PHP Functions Tutorial - Php - DOM Function: DOMText->__construct()
Creates a new DOMText object…
PHP Functions Tutorial - Php - DOM Function: DOMText->isWhitespaceInElementContent()
Indicates whether this text node contains whitespace…
PHP Functions Tutorial - Php - DOM Function: DOMText->splitText()
Breaks this node into two nodes at the specified offset…
PHP Functions Tutorial - Php - DOM Function: DOMXPath->__construct()
Creates a new DOMXPath object…
PHP Functions Tutorial - Php - DOM Function: DOMXPath->evaluate()
Evaluates the given XPath expression and returns a typed result if possible…
PHP Functions Tutorial - Php - DOM Function: DOMXPath->query()
Evaluates the given XPath expression…
PHP Functions Tutorial - Php - DOM Function: DOMXPath->registerNamespace()
Registers the namespace with the DOMXPath object…
PHP Functions Tutorial - Php - DOM Function: dom_import_simplexml
This function takes the node node of class SimpleXML and makes it into a DOMElement node. This new object can then be used as a native DOMElement node…
PHP Functions Tutorial - Php - DOM XML Function: DomAttribute->name
Gets the name of the attribute…
PHP Functions Tutorial - Php - DOM XML Function: DomAttribute->set_value
This function sets the value of an attribute…
PHP Functions Tutorial - Php - DOM XML Function: DomAttribute->specified
Checks if the attribute was explicitly given a value in the original document…
PHP Functions Tutorial - Php - DOM XML Function: DomAttribute->value
This function returns the value of the attribute…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->add_root
Adds a root element node to a dom document and returns the new node. The element name is given in the passed parameter…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->create_attribute
This function returns a new instance of class DomAttribute. The name of the attribute is the value of the first parameter. The value of the attribute is the value of the second parameter…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->create_cdata_section
This function returns a new instance of class DomCData. The content of the cdata is the value of the passed parameter…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->create_comment
This function returns a new instance of class DomComment. The content of the comment is the value of the passed parameter…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->create_element_ns
This function returns a new instance of class DomElement. The tag name of the element is the value of the passed parameter name. The URI of the namespace is the value of the passed parameter uri…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->create_element
This function returns a new instance of class DomElement. The tag name of the element is the value of the passed parameter…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->create_entity_reference
This function returns a new instance of class DomEntityReference. The content of the entity reference is the value of the passed parameter…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->create_processing_instruction
This function returns a new instance of class DomCData. The content of the pi is the value of the passed parameter…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->create_text_node
This function returns a new instance of class DomText. The content of the text is the value of the passed parameter…0
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->doctype
This function returns an object of class DomDocumentType. In versions of PHP before 4.3 this has been the class Dtd, but the DOM Standard does not know such a class…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->document_element
This function returns the root element node of a document…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->dump_file
Creates an XML document from the dom representation. This function usually is called after building a new dom document from scratch as in the example below…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->dump_mem
Creates an XML document from the dom representation. This function usually is called after building a new dom document from scratch as in the example below. The format specifies whether the output should be neatly formatted, or not…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->get_element_by_id
Searches for an element with a certain id…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->get_elements_by_tagname
Returns array with nodes with given tagname in document or empty array, if not found…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->html_dump_mem
Creates an HTML document from the dom representation. This function usually is called after building a new dom document from scratch as in the example below…
PHP Functions Tutorial - Php - DOM XML Function: DomDocument->xinclude
This function substitutes XIncludes in a DomDocument object…
PHP Functions Tutorial - Php - DOM XML Function: DomDocumentType->entities()
Returns list of entities…
PHP Functions Tutorial - Php - DOM XML Function: DomDocumentType->internal_subset()
Returns internal subset…
PHP Functions Tutorial - Php - DOM XML Function: DomDocumentType->name()
Returns name of document type…
PHP Functions Tutorial - Php - DOM XML Function: DomDocumentType->notations()
Returns list of notations…
PHP Functions Tutorial - Php - DOM XML Function: DomDocumentType->public_id()
This function returns the public id of the document type…
PHP Functions Tutorial - Php - DOM XML Function: DomDocumentType->system_id()
Returns the system id of the document type…
PHP Functions Tutorial - Php - DOM XML Function: DomElement->get_attribute_node()
Returns the node of the given attribute in the current element…
PHP Functions Tutorial - Php - DOM XML Function: DomElement->get_attribute()
Returns the value of the given attribute in the current element…
PHP Functions Tutorial - Php - DOM XML Function: DomElement->get_elements_by_tagname()
Gets all the sub elements with the specific name within the current element…
PHP Functions Tutorial - Php - DOM XML Function: DomElement->has_attribute()
This functions checks to see if an attribute named name exists in the current node…
PHP Functions Tutorial - Php - DOM XML Function: DomElement->remove_attribute()
Removes an attribute from the current DomElement node…
PHP Functions Tutorial - Php - DOM XML Function: DomElement->set_attribute()
Sets an attribute with name name to the given value…
PHP Functions Tutorial - Php - DOM XML Function: DomElement->tagname()
Returns the name of the current node. Calling this function is the same as accessing the tagname property, or calling DomNode->node_name on the current node…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->add_namespace
This method adds a namespace declaration to a node…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->append_child
This functions appends a child to an existing list of children or creates a new list of children…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->append_sibling
This functions appends a sibling to an existing node. The child can be created with e.g. domdocument_create_element(), domdocument_create_text() etc. or simply by using any other node.
PHP Functions Tutorial - Php - DOM XML Function: DomNode->attributes
This function only returns an array of attributes if the node is of type XML_ELEMENT_NODE…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->child_nodes
Returns all children of the node…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->first_child
Returns the first child of the node…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->get_content
This function returns the content of the actual node…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->has_attributes
Checks if node has attributes…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->has_child_nodes
Checks if node has children…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->insert_before
This function inserts the new node newnode right before the node refnode. The return value is the inserted node. If you plan to do further modifications on the appended child you must use the returned node…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->last_child
Returns the last child of the node…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->next_sibling
This function returns the next sibling of the current node….
PHP Functions Tutorial - Php - DOM XML Function: DomNode->node_name
Returns name of the node. The name has different meanings for the different types of nodes as illustrated in the following table…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->node_type
Returns the type of the node. All possible types are listed in the table in the introduction…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->node_value
Returns value of the node. The value has different meanings for the different types of nodes as illustrated in the following table…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->owner_document
This function returns the document the current node belongs to…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->parent_node
This function returns the parent node…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->prefix
Returns the name space prefix of the node…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->previous_sibling
This function returns the previous sibling of the current node…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->remove_child
This functions removes a child from a list of children. If child cannot be removed or is not a child the function will return FALSE. If the child could be removed the functions returns the old child…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->replace_child
This function replaces the child oldnode with the passed new node. If the new node is already a child it will not be added a second time. If the old node cannot be found the function returns FALSE. If the replacement succeeds the old node is returned…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->replace_node
This function replaces an existing node with the passed new node. 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…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->set_name
Sets name of node…
PHP Functions Tutorial - Php - DOM XML Function: DomNode->set_namespace
Sets the namespace of a node to uri. If there is already a namespace declaration with the same uri in one of the parent nodes of the node, the prefix of this is taken, otherwise it will take the one provided in the optional parameter prefix or generate a random one...
PHP Functions Tutorial - Php - DOM XML Function: DomProcessingInstruction->data
This method gets the data of the ProcessingInstruction node…
PHP Functions Tutorial - Php - DOM XML Function: DomProcessingInstruction->target
Returns the target of a ProcessingInstruction node…
PHP Functions Tutorial - Php - DOM XML Function: DomXsltStylesheet->process()
Applies the XSLT-Transformation on a DomDocument Object…
PHP Functions Tutorial - Php - DOM XML Function: DomXsltStylesheet->result_dump_file()
Dumps the result from a XSLT-Transformation into a file…
PHP Functions Tutorial - Php - DOM XML Function: DomXsltStylesheet->result_dump_mem()
This function on the contrary honors and other output control directives. See the example for instruction on how to use it…
PHP Functions Tutorial - Php - DOM XML Function: domxml_new_doc
Creates a new Dom document from scratch and returns it…
PHP Functions Tutorial - Php - DOM XML Function: domxml_open_file
The function parses the XML document in the given file…
PHP Functions Tutorial - Php - DOM XML Function: domxml_open_mem
The function parses the XML document in the given string…
PHP Functions Tutorial - Php - DOM XML Function: domxml_version
Gets the version of the XML library currently used…
PHP Functions Tutorial - Php - DOM XML Function: domxml_xmltree
Creates a tree of PHP objects from an XML document…
PHP Functions Tutorial - Php - DOM XML Function: domxml_xslt_stylesheet_doc
Creates a DomXsltStylesheet Object from a DomDocument Object…
PHP Functions Tutorial - Php - DOM XML Function: domxml_xslt_stylesheet_file
Creates a DomXsltStylesheet object from the given XSL file…
PHP Functions Tutorial - Php - DOM XML Function: domxml_xslt_stylesheet
Creates a DomXsltStylesheet object from the given XSL buffer…
PHP Functions Tutorial - Php - DOM XML Function: domxml_xslt_version
Gets the XSLT library version…
PHP Functions Tutorial - Php - DOM XML Function: xpath_eval_expression
Evaluates the XPath Location Path in the given string…
PHP Functions Tutorial - Php - DOM XML Function: xpath_eval
Evaluates the XPath Location Path in the given string…
PHP Functions Tutorial - Php - DOM XML Function: xpath_new_context
Creates new xpath context…
PHP Functions Tutorial - Php - DOM XML Function: xpath_register_ns_auto
Register the given namespace in the passed XPath context…
PHP Functions Tutorial - Php - DOM XML Function: xpath_register_ns
Register the given namespace in the passed XPath context…
PHP Functions Tutorial - Php - DOM XML Function: xptr_eval
Evaluate the XPtr Location Path in the given string…
PHP Functions Tutorial - Php - Variables handling Function: debug_zval_dump
Dumps a string representation of an internal zend value to output…
PHP Functions Tutorial - Php - Variables handling Function: doubleval
This function is an alias of: floatval()…
PHP Functions Tutorial - Php - Variables handling Function: empty
Determine whether a variable is considered to be empty…
PHP Functions Tutorial - Php - Variables handling Function: floatval
Get float value of a variable…
PHP Functions Tutorial - Php - Variables handling Function: get_defined_vars
This function returns a multidimensional array containing a list of all defined variables, be them environment, server or user-defined variables, within the scope that get_defined_vars() is called…
PHP Functions Tutorial - Php - Variables handling Function: get_resource_type
This function gets the type of the given resource…
PHP Functions Tutorial - Php - Variables handling Function: gettype
Get the type of a variable…
PHP Functions Tutorial - Php - Variables handling Function: import_request_variables
Import GET/POST/Cookie variables into the global scope…
PHP Functions Tutorial - Php - Variables handling Function: intval
Returns the integer value of var, using the specified base for the conversion (the default is base 10)…
PHP Functions Tutorial - Php - Variables handling Function: is_array
Finds whether a variable is an array…
PHP Functions Tutorial - Php - Variables handling Function: is_bool
Finds whether the given variable is a boolean…
PHP Functions Tutorial - Php - Variables handling Function: is_callable
Verify that the contents of a variable can be called as a function…
PHP Functions Tutorial - Php - Variables handling Function: is_float
Finds whether the given variable is a float…
PHP Functions Tutorial - Php - Variables handling Function: is_int
Find whether a variable is an integer…
PHP Functions Tutorial - Php - Variables handling Function: is_null
Finds whether a variable is NULL…
PHP Functions Tutorial - Php - Variables handling Function: is_numeric
Finds whether a variable is a number or a numeric string…
PHP Functions Tutorial - Php - Variables handling Function: is_object
Finds whether a variable is an object…
PHP Functions Tutorial - Php - Variables handling Function: is_resource
Finds whether the given variable is a resource…
PHP Functions Tutorial - Php - Variables handling Function: is_scalar
Finds whether a variable is a scalar…
PHP Functions Tutorial - Php - Variables handling Function: is_string
Finds whether a variable is a string…
PHP Functions Tutorial - Php - Variables handling Function: isset
Determine whether a variable is set…
PHP Functions Tutorial - Php - Variables handling Function: print_r
Prints human-readable information about a variable…
PHP Functions Tutorial - Php - Variables handling Function: serialize
serialize() returns a string containing a byte-stream representation of value that can be stored anywhere…
PHP Functions Tutorial - Php - Variables handling Function: settype
Set the type of a variable…
PHP Functions Tutorial - Php - Variables handling Function: strval
Returns the string value of var. See the documentation on string for more information on converting to string…
PHP Functions Tutorial - Php - Variables handling Function: unserialize
Creates a PHP value from a stored representation…
PHP Functions Tutorial - Php - Variables handling Function: unset
unset() destroys the specified variables. Note that in PHP 3, unset() will always return TRUE (actually, the integer value 1)…
PHP Functions Tutorial - Php - Variables handling Function: Dumps information about a variable
This function displays structured information about one or more expressions that includes its type and value. Arrays and objects are explored recursively with values indented to show structure…
PHP Functions Tutorial - Php - Variables handling Function: var_export
var_export() gets structured information about the given variable. It is similar to var_dump() with one exception: the returned representation is valid PHP code…
PHP Functions Tutorial - Php - POSIX Regex Function: ereg_replace
This function scans string for matches to pattern, then replaces the matched text with replacement…
PHP Functions Tutorial - Php - POSIX Regex Function: ereg
Searches a string for matches to the regular expression given in pattern in a case-sensitive way.
PHP Functions Tutorial - Php - POSIX Regex Function: eregi_replace
This function is identical to ereg_replace() except that this ignores case distinction when matching alphabetic characters…
PHP Functions Tutorial - Php - POSIX Regex Function: eregi
This function is identical to ereg() except that this ignores case distinction when matching alphabetic characters…
PHP Functions Tutorial - Php - POSIX Regex Function: split
Split string into array by regular expression…
PHP Functions Tutorial - Php - POSIX Regex Function: spliti
Split string into array by regular expression case insensitive…
PHP Functions Tutorial - Php - POSIX Regex Function: sql_regcase
Make regular expression for case insensitive match…
PHP Functions Tutorial - Php - Program Execution Function: escapeshellarg
escapeshellarg() adds single quotes around a string and quotes/escapes any existing single quotes allowing you to pass a string directly to a shell function and having it be treated as a single safe argument.
PHP Functions Tutorial - Php - Program Execution Function: escapeshellcmd
escapeshellcmd() escapes any characters in a string that might be used to trick a shell command into executing arbitrary commands…
PHP Functions Tutorial - Php - Program Execution Function: exec
exec() executes the given command…
PHP Functions Tutorial - Php - Program Execution Function: passthru
The passthru() function is similar to the exec() function in that it executes a command. This function should be used in place of exec() or system() when the output from the Unix command is binary data which needs to be passed directly back to the browser...
PHP Functions Tutorial - Php - Program Execution Function: proc_close
Close a process opened by proc_open() and return the exit code of that process…
PHP Functions Tutorial - Php - Program Execution Function: proc_get_status
proc_get_status() fetches data about a process opened using proc_open()…
PHP Functions Tutorial - Php - Program Execution Function: proc_nice
proc_nice() changes the priority of the current process by the amount specified in increment. A positive increment will lower the priority of the current process, whereas a negative increment will raise the priority…
PHP Functions Tutorial - Php - Program Execution Function: proc_open
proc_open() is similar to popen() but provides a much greater degree of control over the program execution.
PHP Functions Tutorial - Php - Program Execution Function: proc_terminate
kills a process opened by proc_open…
PHP Functions Tutorial - Php - Program Execution Function: shell_exec
Execute command via shell and return the complete output as a string…
PHP Functions Tutorial - Php - Program Execution Function: system
system() is just like the C version of the function in that it executes the given command and outputs the result…
PHP Functions Tutorial - Php - Exif Function: exif_imagetype
exif_imagetype() can be used to avoid calls to other exif functions with unsupported file types…
PHP Functions Tutorial - Php - Exif Function: exif_read_data
exif_read_data() reads the EXIF headers from a JPEG or TIFF image file. This way you can read meta data generated by digital cameras.
PHP Functions Tutorial - Php - Exif Function: exif_tagname
Get the header name for an index…
PHP Functions Tutorial - Php - Exif Function: exif_thumbnail
Retrieve the embedded thumbnail of a TIFF or JPEG image…
PHP Functions Tutorial - Php - Expect Function: expect_expectl
Waits until the output from a process matches one of the patterns, a specified time period has passed, or an EOF is seen…
PHP Functions Tutorial - Php - Expect Function: expect_popen
Exectute command via Bourne shell, and open the PTY stream to the process…
PHP Functions Tutorial - Php - Mail Function: ezmlm_hash
ezmlm_hash() calculates the hash value needed when keeping EZMLM mailing lists in a MySQL database…
PHP Functions Tutorial - Php - Mail Function: mail
This function is used to Send an mail...
PHP Functions Tutorial - Php - fam Function: fam_cancel_monitor
fam_cancel_monitor() terminates monitoring on a resource previously requested using one of the fam_monitor_ functions. In addition an FAMAcknowledge event occurs.
PHP Functions Tutorial - Php - fam Function: fam_close
fam_close() closes a connection to the FAM service previously opened using fam_open()…
PHP Functions Tutorial - Php - fam Function: fam_monitor_collection
fam_monitor_collection() requests monitoring for a collection of files within a directory. The actual files to be monitored are specified by a directory path in dirname, the maximum search depth starting from this directory and a shell pattern mask restricting the file names to look for.
PHP Functions Tutorial - Php - fam Function: fam_monitor_directory
fam_monitor_directory() requests monitoring for a directory and all contained files. A FAM event will be generated whenever the status…
PHP Functions Tutorial - Php - fam Function: fam_monitor_file
fam_monitor_file() requests monitoring for a single file. A FAM event will be generated whenever the file status (i.e. the result of function stat() on that file) changes…
PHP Functions Tutorial - Php - fam Function: fam_next_event
fam_next_event() returns the next pending FAM event. The function will block until an event is available which can be checked for using fam_pending().
PHP Functions Tutorial - Php - fam Function: fam_open
fam_open() opens a connection to the FAM service daemon. The optional parameter appname should be set to a string identifying the application for logging reasons…
PHP Functions Tutorial - Php - fam Function: fam_pending
fam_pending() returns non-zero if events are available to be fetched using fam_next_event()…
PHP Functions Tutorial - Php - fam Function: fam_resume_monitor
fam_resume_monitor() resumes monitoring of a resource previously suspend using fam_suspend_monitor()…
PHP Functions Tutorial - Php - fam Function: fam_suspend_monitor
fam_suspend_monitor() temporarily suspend monitoring of a resource previously requested using one of the fam_monitor_ functions. Monitoring can later be continued using fam_resume_monitor() without the need of requesting a complete new monitor…
PHP Functions Tutorial - Php - PHP Options/Info Function: assert_options
Using assert_options() you may set the various assert() control options or just query their current settings.
PHP Functions Tutorial - Php - PHP Options/Info Function: assert
assert() will check the given assertion and take appropriate action if its result is FALSE.
PHP Functions Tutorial - Php - PHP Options/Info Function: dl
Loads a PHP extension at runtime…
PHP Functions Tutorial - Php - PHP Options/Info Function: extension_loaded
Find out whether an extension is loaded…
PHP Functions Tutorial - Php - PHP Options/Info Function: get_cfg_var
Returns the current value of the PHP configuration variable specified by varname, or FALSE if an error occurs…
PHP Functions Tutorial - Php - PHP Options/Info Function: get_current_user
Gets the name of the owner of the current PHP script…
PHP Functions Tutorial - Php - PHP Options/Info Function: get_defined_constants
Returns an associative array with the names of all the constants and their values…
PHP Functions Tutorial - Php - PHP Options/Info Function: get_extension_funcs
Returns an array with the names of the functions of a module…
PHP Functions Tutorial - Php - PHP Options/Info Function: get_include_path
Gets the current include_path configuration option…
PHP Functions Tutorial - Php - PHP Options/Info Function: get_included_files
Returns an array with the names of included or required files…
PHP Functions Tutorial - Php - PHP Options/Info Function: get_loaded_extensions
This function returns the names of all the modules compiled and loaded in the PHP interpreter…
PHP Functions Tutorial - Php - PHP Options/Info Function: get_magic_quotes_gpc
Gets the current configuration setting of magic quotes gpc…
PHP Functions Tutorial - Php - PHP Options/Info Function: get_magic_quotes_runtime
Gets the current active configuration setting of magic_quotes_runtime…
PHP Functions Tutorial - Php - PHP Options/Info Function: getenv
Gets the value of an environment variable…
PHP Functions Tutorial - Php - PHP Options/Info Function: getlastmod
Returns the time of the last modification of the current page. The value returned is a Unix timestamp, suitable for feeding to date(). Returns FALSE on error…
PHP Functions Tutorial - Php - PHP Options/Info Function: getmygid
Returns the group ID of the current script, or FALSE on error…
PHP Functions Tutorial - Php - PHP Options/Info Function: getmyinode
Gets the inode of the current script…
PHP Functions Tutorial - Php - PHP Options/Info Function: getmypid
Gets PHP's process ID…
PHP Functions Tutorial - Php - PHP Options/Info Function: getmyuid
Gets PHP script owner's UID…
PHP Functions Tutorial - Php - PHP Options/Info Function: getopt
Gets options from the command line argument list…
PHP Functions Tutorial - Php - PHP Options/Info Function: getrusage
This is an interface to getrusage(2). It returns an associative array containing the data returned from the system call. If who is 1, getrusage will be called with RUSAGE_CHILDREN…
PHP Functions Tutorial - Php - PHP Options/Info Function: ini_get_all
Returns all the registered configuration options as an associative array. If the optional extension parameter is set, returns only options specific for that extension…
PHP Functions Tutorial - Php - PHP Options/Info Function: ini_get
Returns the value of the configuration option on success. Failure, such as querying for a non-existent value, will return an empty string…
PHP Functions Tutorial - Php - PHP Options/Info Function: ini_restore
Restores the value of a configuration option…
PHP Functions Tutorial - Php - PHP Options/Info Function: ini_set
Sets the value of the given configuration option. Returns the old value on success, FALSE on failure. The configuration option will keep this new value during the script's execution, and will be restored at the script's ending…
PHP Functions Tutorial - Php - PHP Options/Info Function: main
There is no function named main() except in the PHP source. In PHP 4.3.0, a new type of error handling in the PHP source (php_error_docref) was introduced. One feature is to provide links…
PHP Functions Tutorial - Php - PHP Options/Info Function: memory_get_usage
Returns the amount of memory allocated to PHP…
PHP Functions Tutorial - Php - PHP Options/Info Function: php_ini_scanned_files
Return a list of .ini files parsed from the additional ini dir…
PHP Functions Tutorial - Php - PHP Options/Info Function: php_logo_guid
This function returns the ID which can be used to display the PHP logo using the built-in image. Logo is displayed only if expose_php is On.
PHP Functions Tutorial - Php - PHP Options/Info Function: php_sapi_name
php_sapi_name() returns a lowercase string which describes the type of interface between web server and PHP (Server API, SAPI). In CGI PHP, this string is "cgi", in mod_php for Apache, this string is "apache" and so on…
PHP Functions Tutorial - Php - PHP Options/Info Function: php_uname
Returns information about the operating system PHP is running on…
PHP Functions Tutorial - Php - PHP Options/Info Function: phpcredits
This function prints out the credits listing the PHP developers, modules, etc. It generates the appropriate HTML codes to insert the information in a page. flag is optional, and it defaults to CREDITS_ALL….
PHP Functions Tutorial - Php - PHP Options/Info Function: phpinfo
Outputs a large amount of information about the current state of PHP. This includes information about PHP compilation options and extensions, the PHP version, server information and environment…
PHP Functions Tutorial - Php - PHP Options/Info Function: phpversion
Returns a string containing the version of the currently running PHP parser. If the optional extension parameter is specified, phpversion() returns the version of that extension, or FALSE if there is no version information associated or the extension isn't enabled...
PHP Functions Tutorial - Php - PHP Options/Info Function: putenv
Sets the value of an environment variable…
PHP Functions Tutorial - Php - PHP Options/Info Function: restore_include_path
Restores the value of the include_path configuration option…
PHP Functions Tutorial - Php - PHP Options/Info Function: set_include_path
Sets the include_path configuration option…
PHP Functions Tutorial - Php - PHP Options/Info Function: set_magic_quotes_runtime
Sets the current active configuration setting of magic_quotes_runtime…
PHP Functions Tutorial - Php - PHP Options/Info Function: set_time_limit
Limits the maximum execution time…
PHP Functions Tutorial - Php - PHP Options/Info Function: version_compare
Compares two "PHP-standardized" version number strings…
PHP Functions Tutorial - Php - PHP Options/Info Function: zend_logo_guid
This function returns the ID which can be used to display the Zend logo using the built-in image…
PHP Functions Tutorial - Php - PHP Options/Info Function: zend_version
Returns a string containing the version of the currently running Zend Engine…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_affected_rows
fbsql_affected_rows() returns the number of rows affected by the last INSERT, UPDATE or DELETE query associated with link_identifier. If the link identifier isn't specified, the last link opened by fbsql_connect() is assumed…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_autocommit
fbsql_autocommit() returns the current autocommit status. If the optional OnOff parameter is given the auto commit status will be changed. With OnOff set to TRUE each statement will be committed automatically…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_change_user
fbsql_change_user() changes the logged in user of the current active connection, or the connection given by the optional parameter link_identifier. If a database is specified, this will default or current database after the user has been changed. If the new user and password authorization fails, the current connected user stays active...
PHP Functions Tutorial - Php - FrontBase Function: fbsql_close
fbsql_close() closes the connection to the FrontBase server that's associated with the specified link identifier. If link_identifier isn't specified, the last opened link is used…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_commit
fbsql_commit() ends the current transaction by writing all inserts, updates and deletes to the disk and unlocking all row and table locks held by the transaction. This command is only needed if autocommit is set to false…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_connect
fbsql_connect() establishes a connection to a FrontBase server. The following defaults are assumed for missing optional parameters: hostname = 'NULL', username = '_SYSTEM' and password = empty password…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_create_blob
fbsql_create_blob() creates a blob from blob_data. The returned resource handle can be used with insert and update commands to store the blob in the database…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_create_clob
fbsql_create_clob() creates a clob from clob_data. The returned resource handle can be used with insert and update commands to store the clob in the database….
PHP Functions Tutorial - Php - FrontBase Function: fbsql_create_db
fbsql_create_db() attempts to create a new database named database_name on the server associated with the specified connection link_identifier…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_data_seek
fbsql_data_seek() moves the internal row pointer of the FrontBase result associated with the specified result identifier to point to the specified row number. The next call to fbsql_fetch_row() would return that row…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_database_password
fbsql_database_password() sets and retrieves the database password used by the connection. if a database is protected by a database password, the user must call this function before calling fbsql_select_db()…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_database
Get or set the database name used with a connection…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_db_query
fbsql_db_query() selects a database and executes a query on it. If the optional link identifier isn't specified, the function will try to find an open link to the FrontBase server and if no such link is found it'll try to create one as if fbsql_connect() was called with no arguments...
PHP Functions Tutorial - Php - FrontBase Function: fbsql_db_status
fbsql_db_status() requests the current status of the database specified by database_name. If the link_identifier is omitted the default link_identifier will be used…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_drop_db
fbsql_drop_db() attempts to drop (remove) an entire database from the server associated with the specified link identifier…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_errno
Returns the error number from the last fbsql function, or 0 (zero) if no error occurred…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_error
Returns the text of the error message from previous FrontBase operation…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_fetch_array
Fetch a result row as an associative array, a numeric array, or both…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_fetch_assoc
fbsql_fetch_assoc() is equivalent to calling fbsql_fetch_array() with FBSQL_ASSOC for the optional second parameter…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_fetch_field
Get column information from a result and return as an object…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_fetch_lengths
Returns: An array that corresponds to the lengths of each field in the last row fetched by fbsql_fetch_row(), or FALSE on error.
PHP Functions Tutorial - Php - FrontBase Function: fbsql_fetch_object
fbsql_fetch_object() is similar to fbsql_fetch_array(), with one difference - an object is returned, instead of an array. Indirectly, that means that you can only access the data by the field names, and not by their offsets (numbers are illegal property names).
PHP Functions Tutorial - Php - FrontBase Function: fbsql_fetch_row
fbsql_fetch_row() fetches one row of data from the result associated with the specified result identifier. The row is returned as an array. Each result column is stored in an array offset, starting at offset 0.
PHP Functions Tutorial - Php - FrontBase Function: fbsql_field_flags
fbsql_field_flags() returns the field flags of the specified field. The flags are reported as a single word per flag separated by a single space, so that you can split the returned value using explode()…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_field_len
fbsql_field_len() returns the length of the specified field…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_field_name
fbsql_field_name() returns the name of the specified field index. result must be a valid result identifier and field_index is the numerical offset of the field…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_field_seek
Seeks to the specified field offset. If the next call to fbsql_fetch_field() doesn't include a field offset, the field offset specified in fbsql_field_seek() will be returned.
PHP Functions Tutorial - Php - FrontBase Function: fbsql_field_table
Returns the name of the table that the specified field is in…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_field_type
fbsql_field_type() is similar to the fbsql_field_name() function. The arguments are identical, but the field type is returned instead. The field type will be one of "int", "real", "string", "blob", and others as detailed in the FrontBase documentation…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_free_result
fbsql_free_result() will free all memory associated with the result identifier result…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_insert_id
fbsql_insert_id() returns the ID generated for an column defined as DEFAULT UNIQUE by the previous INSERT query using the given link_identifier. If link_identifier isn't specified, the last opened link is assumed…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_list_dbs
fbsql_list_dbs() will return a result pointer containing the databases available from the current fbsql daemon. Use the fbsql_tablename() function to traverse this result pointer…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_list_fields
fbsql_list_fields() retrieves information about the given tablename. Arguments are the database name and the table name. A result pointer is returned which can be used with fbsql_field_flags(), fbsql_field_len(), fbsql_field_name(), and fbsql_field_type().
PHP Functions Tutorial - Php - FrontBase Function: fbsql_list_tables
fbsql_list_tables() takes a database name and returns a result pointer much like the fbsql_db_query() function. The fbsql_tablename() function should be used to extract the actual table names from the result pointer…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_next_result
Move the internal result pointer to the next result…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_num_fields
fbsql_num_fields() returns the number of fields in a result set…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_num_rows
Get number of rows in result…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_password
Get or set the user password used with a connection…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_pconnect
A positive FrontBase persistent link identifier on success, or FALSE on error…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_query
fbsql_query() sends a query to the currently active database on the server that's associated with the specified link identifier. If link_identifier isn't specified, the last opened link is assumed…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_read_blob
Returns: A string containing the BLOB specified by blob_handle…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_read_clob
Returns: A string containing the CLOB specified by clob_handle…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_result
fbsql_result() returns the contents of one cell from a FrontBase result set. The field argument can be the field's offset, or the field's name, or the field's table dot field's name (tabledname.fieldname)…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_rollback
fbsql_rollback() ends the current transaction by rolling back all statements issued since last commit. This command is only needed if autocommit is set to false…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_select_db
fbsql_select_db() sets the current active database on the server that's associated with the specified link identifier. If no link identifier is specified, the last opened link is assumed…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_set_lob_mode
fbsql_set_lob_mode() sets the mode for retrieving LOB data from the database. When BLOB and CLOB data is stored in FrontBase it can be stored direct or indirect…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_set_password
Change the password for a given user…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_start_db
Start a database on local or remote server…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_stop_db
Stop a database on local or remote server…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_tablename
Get table name of field…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_username
Get or set the host user used with a connection…
PHP Functions Tutorial - Php - FrontBase Function: fbsql_warnings
fbsql_warnings() enables or disables FrontBase warnings…
PHP Functions Tutorial - Php - FDF Function: fdf_add_doc_javascript
Adds a script to the FDF, which Acrobat then adds to the doc-level scripts of a document, once the FDF is imported into it. It is strongly suggested to use '\r' for linebreaks within script_code.
PHP Functions Tutorial - Php - FDF Function: fdf_close
The fdf_close() function closes the FDF document.
PHP Functions Tutorial - Php - FDF Function: fdf_create
The fdf_create() creates a new FDF document. This function is needed if one would like to populate input fields in a PDF document with data.
PHP Functions Tutorial - Php - FDF Function: fdf_errno
fdf_errno() returns the error code set by the last FDF function call. This is zero for a successfull operation or a non-zero error code on failure. A textual description may be obtained using the fdf_error() function.
PHP Functions Tutorial - Php - FDF Function: fdf_error
fdf_error() returns a textual description for the fdf error code given in error_code…
PHP Functions Tutorial - Php - FDF Function: fdf_get_ap
The fdf_get_ap() function gets the appearance of a field (i.e. the value of the /AP key) and stores it in a file…
PHP Functions Tutorial - Php - FDF Function: fdf_get_attachment
Extracts uploaded file embedded in the FDF…
PHP Functions Tutorial - Php - FDF Function: fdf_get_encoding
The fdf_get_encoding() returns the value of the /Encoding key. An empty string is returned if the default PDFDocEncoding/Unicode scheme is used.
PHP Functions Tutorial - Php - FDF Function: fdf_get_file
The fdf_set_file() returns the value of the /F key…
PHP Functions Tutorial - Php - FDF Function: fdf_get_status
The fdf_get_status() returns the value of the /STATUS key…
PHP Functions Tutorial - Php - FDF Function: fdf_get_value
The fdf_get_value() function returns the value for the requested fieldname.
PHP Functions Tutorial - Php - FDF Function: fdf_get_version
This function will return the fdf version for the given fdf_document, or the toolkit API version number if no parameter is given…
PHP Functions Tutorial - Php - FDF Function: fdf_header
Sets FDF-specific output headers…
PHP Functions Tutorial - Php - FDF Function: fdf_next_field_name
The fdf_next_field_name() function returns the name of the field after the field in fieldname or the field name of the first field if the second parameter is NULL…
PHP Functions Tutorial - Php - FDF Function: fdf_open_string
The fdf_open_string() function reads form data from a string…
PHP Functions Tutorial - Php - FDF Function: fdf_open
The fdf_open() function opens a file with form data. This file must contain the data as returned from a PDF form or created using fdf_create() and fdf_save().
PHP Functions Tutorial - Php - FDF Function: fdf_save_string
The fdf_save_string() function returns the FDF document as a string…
PHP Functions Tutorial - Php - FDF Function: fdf_save
The fdf_save() function saves a FDF document. The resulting FDF will be written to filename. Without a filename fdf_save() will write the FDF to the default PHP output stream…
PHP Functions Tutorial - Php - FDF Function: fdf_set_ap
The fdf_set_ap() function sets the appearance of a field (i.e. the value of the /AP key)…
PHP Functions Tutorial - Php - FDF Function: fdf_set_encoding
fdf_set_encoding() sets the character encoding in FDF document fdf_document. encoding should be the valid encoding name…
PHP Functions Tutorial - Php - FDF Function: fdf_set_file
The fdf_set_file() selects a different PDF document to display the form results in then the form it originated from. The url needs to be given as an absolute URL…
PHP Functions Tutorial - Php - FDF Function: fdf_set_flags
The fdf_set_flags() sets certain flags of the given field fieldname…
PHP Functions Tutorial - Php - FDF Function: fdf_set_javascript_action
fdf_set_javascript_action() sets a javascript action for the given field fieldname…
PHP Functions Tutorial - Php - FDF Function: fdf_set_on_import_javascript
Adds javascript code to be executed when Acrobat opens the FDF…
PHP Functions Tutorial - Php - FDF Function: fdf_set_opt
The fdf_set_opt() sets options of the given field fieldname…
PHP Functions Tutorial - Php - FDF Function: fdf_set_status
The fdf_set_status() sets the value of the /STATUS key. When a client receives a FDF with a status set it will present the value in an alert box…
PHP Functions Tutorial - Php - FDF Function: fdf_set_submit_form_action
The fdf_set_submit_form_action() sets a submit form action for the given field fieldname…
PHP Functions Tutorial - Php - FDF Function: fdf_set_target_frame
Sets the target frame to display a result PDF defined with fdf_save_file() in.
PHP Functions Tutorial - Php - FDF Function: fdf_set_value
The fdf_set_value() function sets the value for a field named fieldname. The value will be stored as a string unless it is an array. In this case all array elements will be stored as a value array…
PHP Functions Tutorial - Php - FDF Function: fdf_set_version
This function will set the fdf version for the given fdf_document. Some features supported by this extension are only available in newer fdf versions…
PHP Functions Tutorial - Php - FilePro Function: filepro_fieldcount
Find out how many fields are in a filePro database…
PHP Functions Tutorial - Php - FilePro Function: filepro_fieldname
Returns the name of the field corresponding to field_number.
PHP Functions Tutorial - Php - FilePro Function: filepro_fieldtype
Returns the edit type of the field corresponding to field_number.
PHP Functions Tutorial - Php - FilePro Function: filepro_fieldwidth
Returns the width of the field corresponding to field_number.
PHP Functions Tutorial - Php - FilePro Function: filepro_retrieve
Returns the data from the specified location in the database…
PHP Functions Tutorial - Php - FilePro Function: filepro_rowcount
Returns the number of rows in the opened filePro database.
PHP Functions Tutorial - Php - FilePro Function: filepro
This reads and verifies the map file, storing the field count and info…
PHP Functions Tutorial - Php - FTP Function: ftp_alloc
Sends an ALLO command to the remote FTP server to allocate space for a file to be uploaded…
PHP Functions Tutorial - Php - FTP Function: ftp_cdup
Changes to the parent directory…
PHP Functions Tutorial - Php - FTP Function: ftp_chdir
Changes the current directory to the specified one…
PHP Functions Tutorial - Php - FTP Function: ftp_chmod
Sets the permissions on the specified remote file to mode…
PHP Functions Tutorial - Php - FTP Function: ftp_close
ftp_close() closes the given link identifier and releases the resource…
PHP Functions Tutorial - Php - FTP Function: ftp_connect
ftp_connect() opens an FTP connection to the specified host…
PHP Functions Tutorial - Php - FTP Function: ftp_delete
ftp_delete() deletes the file specified by path from the FTP server…
PHP Functions Tutorial - Php - FTP Function: ftp_exec
Sends a SITE EXEC command request to the FTP server…
PHP Functions Tutorial - Php - FTP Function: ftp_fget
ftp_fget() retrieves remote_file from the FTP server, and writes it to the given file pointer…
PHP Functions Tutorial - Php - FTP Function: ftp_fput
ftp_fput() uploads the data from a file pointer to a remote file on the FTP server…
PHP Functions Tutorial - Php - FTP Function: ftp_get_option
This function returns the value for the requested option from the specified FTP connection…
PHP Functions Tutorial - Php - FTP Function: ftp_get
ftp_get() retrieves a remote file from the FTP server, and saves it into a local file…
PHP Functions Tutorial - Php - FTP Function: ftp_login
Logs in to the given FTP stream…
PHP Functions Tutorial - Php - FTP Function: ftp_mdtm
ftp_mdtm() gets the last modified time for a remote file…
PHP Functions Tutorial - Php - FTP Function: ftp_mkdir
Creates the specified directory on the FTP server…
PHP Functions Tutorial - Php - FTP Function: ftp_nb_continue
Continues retrieving/sending a file non-blocking…
PHP Functions Tutorial - Php - FTP Function: ftp_nb_fget
ftp_nb_fget() retrieves a remote file from the FTP server…
PHP Functions Tutorial - Php - FTP Function: ftp_nb_fput
ftp_nb_fput() uploads the data from a file pointer to a remote file on the FTP server…
PHP Functions Tutorial - Php - FTP Function: ftp_nb_get
ftp_nb_get() retrieves a remote file from the FTP server, and saves it into a local file…
PHP Functions Tutorial - Php - FTP Function: ftp_nb_put
ftp_nb_put() stores a local file on the FTP server…
PHP Functions Tutorial - Php - FTP Function: ftp_nlist
Returns a list of files in the given directory…
PHP Functions Tutorial - Php - FTP Function: ftp_pasv
ftp_pasv() turns on or off passive mode. In passive mode, data connections are initiated by the client, rather than by the server. It may be needed if the client is behind firewall…
PHP Functions Tutorial - Php - FTP Function: ftp_put
ftp_put() stores a local file on the FTP server…
PHP Functions Tutorial - Php - FTP Function: ftp_pwd
Returns the current directory name…
PHP Functions Tutorial - Php - FTP Function: ftp_quit
This function is an alias of: ftp_close().
PHP Functions Tutorial - Php - FTP Function: ftp_raw
Sends an arbitrary command to an FTP server…
PHP Functions Tutorial - Php - FTP Function: ftp_rawlist
ftp_rawlist() executes the FTP LIST command, and returns the result as an array…
PHP Functions Tutorial - Php - FTP Function: ftp_rename
ftp_rename() renames a file or a directory on the FTP server…
PHP Functions Tutorial - Php - FTP Function: ftp_rmdir
Removes the specified directory on the FTP server…
PHP Functions Tutorial - Php - FTP Function: ftp_set_option
This function controls various runtime options for the specified FTP stream…
PHP Functions Tutorial - Php - FTP Function: ftp_site
ftp_site() sends the given SITE command to the FTP server…
PHP Functions Tutorial - Php - FTP Function: ftp_size
ftp_size() returns the size of the given file in bytes…
PHP Functions Tutorial - Php - FTP Function: ftp_ssl_connect
ftp_ssl_connect() opens a SSL-FTP connection to the specified host…
PHP Functions Tutorial - Php - FTP Function: ftp_systype
Returns the system type identifier of the remove FTP server…
PHP Functions Tutorial - Php - Semaphore Function: ftok
The function converts the pathname of an existing accessible file and a project identifier (proj) into a integer for use with for example shmop_open() and other System V IPC keys. The proj parameter should be a one character string…
PHP Functions Tutorial - Php - Semaphore Function: msg_get_queue
msg_get_queue() returns an id that can be used to access the System V message queue with the given key…
PHP Functions Tutorial - Php - Semaphore Function: msg_receive
msg_receive() will receive the first message from the specified queue of the type specified by desiredmsgtype…
PHP Functions Tutorial - Php - Semaphore Function: msg_remove_queue
msg_remove_queue() destroys the message queue specified by the queue…
PHP Functions Tutorial - Php - Semaphore Function: msg_send
msg_send() sends a message of type msgtype (which MUST be greater than 0) to the message queue specified by queue…
PHP Functions Tutorial - Php - Semaphore Function: msg_set_queue
msg_set_queue() allows you to change the values of the msg_perm.uid, msg_perm.gid, msg_perm.mode and msg_qbytes fields of the underlying message queue data structure…
PHP Functions Tutorial - Php - Semaphore Function: msg_stat_queue
msg_stat_queue() returns the message queue meta data for the message queue specified by the queue. This is useful, for example, to determine which process sent the message that was just received…
PHP Functions Tutorial - Php - Semaphore Function: sem_acquire
sem_acquire() blocks (if necessary) until the semaphore can be acquired. A process attempting to acquire a semaphore which it has already acquired will block forever if acquiring the semaphore would cause its maximum number of semaphore to be exceeded. sem_identifier is a semaphore ressource, obtained from sem_get()...
PHP Functions Tutorial - Php - Semaphore Function: sem_get
sem_get() returns an id that can be used to access the System V semaphore with the given key…
PHP Functions Tutorial - Php - Semaphore Function: sem_release
sem_release() releases the semaphore if it is currently acquired by the calling process, otherwise a warning is generated…
PHP Functions Tutorial - Php - Semaphore Function: sem_remove
sem_remove() removes the semaphore sem_identifier if it has been created by sem_get(), otherwise generates a warning…
PHP Functions Tutorial - Php - Semaphore Function: shm_attach
shm_attach() returns an id that can be used to access the System V shared memory with the given key, the first call creates the shared memory segment with memsize…
PHP Functions Tutorial - Php - Semaphore Function: shm_detach
shm_detach() disconnects from the shared memory given by the shm_identifier created by shm_attach(). Remember, that shared memory still exist in the Unix system and the data is still present…
PHP Functions Tutorial - Php - Semaphore Function: shm_get_var
Returns a variable from shared memory…
PHP Functions Tutorial - Php - Semaphore Function: shm_put_var
shm_put_var() inserts or updates the variable with the given variable_key. All variable-types are supported…
PHP Functions Tutorial - Php - Semaphore Function: shm_remove_var
Removes a variable with a given variable_key and frees the occupied memory…
PHP Functions Tutorial - Php - Semaphore Function: shm_remove
shm_remove() removes the shared memory shm_identifier. All data will be destroyed…
PHP Functions Tutorial - Php - Image Function: gd_info
Returns an associative array describing the version and capabilities of the installed GD library…
PHP Functions Tutorial - Php - Image Function: getimagesize
The getimagesize() function will determine the size of any…
PHP Functions Tutorial - Php - Image Function: image_type_to_extension
Get file extension for image type…
PHP Functions Tutorial - Php - Image Function: image_type_to_mime_type
The image_type_to_mime_type() function will determine the Mime-Type for an IMAGETYPE constant…
PHP Functions Tutorial - Php - Image Function: image2wbmp
image2wbmp() creates the WBMP file in filename from the image image. The image argument is the return from one of the image create functions…
PHP Functions Tutorial - Php - Image Function: imagealphablending
imagealphablending() allows for two different modes of drawing on truecolor images. In blending mode, the alpha channel component of the color supplied to all drawing function…
PHP Functions Tutorial - Php - Image Function: imageantialias
Activate the fast drawing antialiased methods for lines and wired polygons. It does not support alpha components. It works using a direct blend operation. It works only with truecolor images.
PHP Functions Tutorial - Php - Image Function: imagearc
imagearc() draws a partial ellipse centered at cx, cy (top left is 0, 0) in the image represented by image…
PHP Functions Tutorial - Php - Image Function: imagechar
imagechar() draws the first character of c in the image identified by image with its upper-left at x,y (top left is 0, 0) with the color color. If font is 1, 2, 3, 4 or 5, a built-in font is used (with higher numbers corresponding to larger fonts).
PHP Functions Tutorial - Php - Image Function: imagecharup
imagecharup() draws the character c vertically in the image identified by image at coordinates x, y (top left is 0, 0) with the color color. If font is 1, 2, 3, 4 or 5, a built-in font is used.
PHP Functions Tutorial - Php - Image Function: imagecolorallocate
imagecolorallocate() returns a color identifier representing the color composed of the given RGB components. The image argument is the return from the imagecreatetruecolor() function…
PHP Functions Tutorial - Php - Image Function: imagecolorallocatealpha
imagecolorallocatealpha() behaves identically to imagecolorallocate() with the addition of the transparency parameter alpha which may have a value between 0 and 127. 0 indicates completely opaque while 127 indicates completely transparent…
PHP Functions Tutorial - Php - Image Function: imagecolorat
Returns the index of the color of the pixel at the specified location in the image specified by image…
PHP Functions Tutorial - Php - Image Function: imagecolorclosest
Get the index of the closest color to the specified color…
PHP Functions Tutorial - Php - Image Function: imagecolorclosestalpha
Get the index of the closest color to the specified color + alpha…
PHP Functions Tutorial - Php - Image Function: imagecolorclosesthwb
Get the index of the color which has the hue, white and blackness nearest to the given color…
PHP Functions Tutorial - Php - Image Function: imagecolordeallocate
The imagecolordeallocate() function de-allocates a color previously allocated with imagecolorallocate() or imagecolorallocatealpha()…
PHP Functions Tutorial - Php - Image Function: imagecolorexact
Returns the index of the specified color in the palette of the image…
PHP Functions Tutorial - Php - Image Function: imagecolorexactalpha
Returns the index of the specified color+alpha in the palette of the image…
PHP Functions Tutorial - Php - Image Function: imagecolormatch
Makes the colors of the palette version of an image more closely match the true color version…
PHP Functions Tutorial - Php - Image Function: imagecolorresolve
This function is guaranteed to return a color index for a requested color, either the exact color or the closest possible alternative…
PHP Functions Tutorial - Php - Image Function: imagecolorresolvealpha
Get the index of the specified color + alpha or its closest possible alternative...
PHP Functions Tutorial - Php - Image Function: imagecolorset
This sets the specified index in the palette to the specified color. This is useful for creating flood-fill-like effects in palleted images without the overhead of performing the actual flood-fill…
PHP Functions Tutorial - Php - Image Function: imagecolorsforindex
This returns an associative array with red, green, blue and alpha keys that contain the appropriate values for the specified color index…
PHP Functions Tutorial - Php - Image Function: imagecolorstotal
This returns the number of colors in the specified image's palette…
PHP Functions Tutorial - Php - Image Function: imagecolortransparent
imagecolortransparent() sets the transparent color in the image image to color. image is the image identifier returned by imagecreatetruecolor() and color is a color identifier returned by imagecolorallocate().
PHP Functions Tutorial - Php - Image Function: imageconvolution
Apply a 3x3 convolution matrix, using coefficient div and offset…
PHP Functions Tutorial - Php - Image Function: imagecopy
Copy a part of src_im onto dst_im starting at the x,y coordinates src_x, src_y with a width of src_w and a height of src_h. The portion defined will be copied onto the x,y coordinates, dst_x and dst_y.
PHP Functions Tutorial - Php - Image Function: imagecopymerge
Copy and merge part of an image…
PHP Functions Tutorial - Php - Image Function: imagecopymergegray
Copy and merge part of an image with gray scale…
PHP Functions Tutorial - Php - Image Function: imagecopyresampled
Copy and resize part of an image with resampling…
PHP Functions Tutorial - Php - Image Function: imagecopyresized
imagecopyresized() copies a rectangular portion of one image to another image. dst_image is the destination image, src_image is the source image identifier.
PHP Functions Tutorial - Php - Image Function: imagecreate
imagecreate() returns an image identifier representing a blank image of size x_size by y_size…
PHP Functions Tutorial - Php - Image Function: imagecreatefromgd2
Create a new image from GD2 file or URL…
PHP Functions Tutorial - Php - Image Function: imagecreatefromgd2part
Create a new image from a given part of GD2 file or URL...
PHP Functions Tutorial - Php - Image Function: imagecreatefromgd
Create a new image from GD file or URL…
PHP Functions Tutorial - Php - Image Function: imagecreatefromgif
imagecreatefromgif() returns an image identifier representing the image obtained from the given filename…
PHP Functions Tutorial - Php - Image Function: imagecreatefromjpeg
imagecreatefromjpeg() returns an image identifier representing the image obtained from the given filename…
PHP Functions Tutorial - Php - Image Function: imagecreatefrompng
imagecreatefrompng() returns an image identifier representing the image obtained from the given filename…
PHP Functions Tutorial - Php - Image Function: imagecreatefromstring
Create a new image from the image stream in the string…
PHP Functions Tutorial - Php - Image Function: imagecreatefromwbmp
imagecreatefromwbmp() returns an image identifier representing the image obtained from the given filename…
PHP Functions Tutorial - Php - Image Function: imagecreatefromxbm
imagecreatefromxbm() returns an image identifier representing the image obtained from the given filename.
PHP Functions Tutorial - Php - Image Function: imagecreatefromxpm
imagecreatefromxpm() returns an image identifier representing the image obtained from the given filename…
PHP Functions Tutorial - Php - Image Function: imagecreatetruecolor
imagecreatetruecolor() returns an image identifier representing a black image of size x_size by y_size…
PHP Functions Tutorial - Php - Image Function: imagedashedline
This function is deprecated. Use combination of imagesetstyle() and imageline() instead…
PHP Functions Tutorial - Php - Image Function: imagedestroy
imagedestroy() frees any memory associated with image image. image is the image identifier returned by one of the image create functions, such as imagecreatetruecolor()…
PHP Functions Tutorial - Php - Image Function: imageellipse
imageellipse() draws an ellipse centered at cx, cy (top left is 0, 0) in the image represented by image. W and h specifies the ellipse's width and height respectively. The color of the ellipse is specified by color…
PHP Functions Tutorial - Php - Image Function: imagefill
imagefill() performs a flood fill starting at coordinate x, y (top left is 0, 0) with color color in the image image…
PHP Functions Tutorial - Php - Image Function: imagefilledarc
imagefilledarc() draws a partial ellipse centered at cx, cy (top left is 0, 0) in the image represented by image…
PHP Functions Tutorial - Php - Image Function: imagefilledellipse
imagefilledellipse() draws an ellipse centered at cx, cy (top left is 0, 0) in the image represented by image. W and h specifies the ellipse's width and height respectively. The ellipse is filled using color. Returns TRUE on success or FALSE on failure…
PHP Functions Tutorial - Php - Image Function: imagefilledpolygon
imagefilledpolygon() creates a filled polygon in image image…
PHP Functions Tutorial - Php - Image Function: imagefilledrectangle
imagefilledrectangle() creates a filled rectangle of color color in image image starting at upper left coordinates x1, y1 and ending at bottom right coordinates x2, y2. 0, 0 is the top left corner of the image…
PHP Functions Tutorial - Php - Image Function: imagefilltoborder
imagefilltoborder() performs a flood fill whose border color is defined by border. The starting point for the fill is x, y (top left is 0, 0) and the region is filled with color color…
PHP Functions Tutorial - Php - Image Function: imagefilter
imagefilter() applies the filter filtertype to the image, using arg1, arg2 and arg3 where necessary…
PHP Functions Tutorial - Php - Image Function: imagefontheight
Returns the pixel height of a character in the specified font…
PHP Functions Tutorial - Php - Image Function: imagefontwidth
Returns the pixel width of a character in font…
PHP Functions Tutorial - Php - Image Function: imageftbbox
Give the bounding box of a text using fonts via freetype2…
PHP Functions Tutorial - Php - Image Function: imagefttext
Write text to the image using fonts using FreeType 2…
PHP Functions Tutorial - Php - Image Function: imagegammacorrect
The imagegammacorrect() function applies gamma correction to a gd image stream (image) given an input gamma, the parameter inputgamma and an output gamma, the parameter outputgamma…
PHP Functions Tutorial - Php - Image Function: imagegd2
imagegd2() outputs a GD2 image to filename. The image parameter is the return from the imagecreatetruecolor() function…
PHP Functions Tutorial - Php - Image Function: imagegd
imagegd() outputs a GD image to filename. The image argument is the return from the imagecreatetruecolor() function…
PHP Functions Tutorial - Php - Image Function: imagegif
imagegif() creates the GIF file in filename from the image image. The image argument is the return from the imagecreatetruecolor() function.
PHP Functions Tutorial - Php - Image Function: imageinterlace
imageinterlace() turns the interlace bit on or off. If interlace is 1 the image will be interlaced, and if interlace is 0 the interlace bit is turned off…
PHP Functions Tutorial - Php - Image Function: imageistruecolor
imageistruecolor() finds whether the image image is a truecolor image…
PHP Functions Tutorial - Php - Image Function: imagejpeg
imagejpeg() creates the JPEG file in filename from the image image. The image argument is the return from the imagecreatetruecolor() function…
PHP Functions Tutorial - Php - Image Function: imagelayereffect
Set the alpha blending flag to use the bundled libgd layering effects…
PHP Functions Tutorial - Php - Image Function: imageline
imageline() draws a line from x1, y1 to x2, y2 (top left is 0, 0) in image image of color color…
PHP Functions Tutorial - Php - Image Function: imageloadfont
imageloadfont() loads a user-defined bitmap font and returns an identifier for the font (that is always greater than 5, so it will not conflict with the built-in fonts). It returns FALSE in case of error…
PHP Functions Tutorial - Php - Image Function: imagepalettecopy
imagepalettecopy() copies the palette from the source image to the destination image…
PHP Functions Tutorial - Php - Image Function: imagepng
The imagepng() outputs a GD image stream (image) in PNG format to standard output (usually the browser) or, if a filename is given by the filename it outputs the image to the file.
PHP Functions Tutorial - Php - Image Function: imagepolygon
imagepolygon() creates a polygon in image id. points is a PHP array containing the polygon's vertices, i.e. points[0] = x0, points[1] = y0, points[2] = x1, points[3] = y1, etc. num_points is the total number of points (vertices).
PHP Functions Tutorial - Php - Image Function: imagepsbbox
Give the bounding box of a text rectangle using PostScript Type1 fonts…
PHP Functions Tutorial - Php - Image Function: imagepscopyfont
Make a copy of an already loaded font for further modification…
PHP Functions Tutorial - Php - Image Function: imagepsencodefont
Change the character encoding vector of a font…
PHP Functions Tutorial - Php - Image Function: imagepsextendfont
Extend or condense a font (font_index), if the value of the extend parameter is less than one you will be condensing the font.
PHP Functions Tutorial - Php - Image Function: imagepsfreefont
imagepsfreefont() frees memory used by a PostScript Type 1 font…
PHP Functions Tutorial - Php - Image Function: imagepsloadfont
Load a PostScript Type 1 font from file…
PHP Functions Tutorial - Php - Image Function: imagepsslantfont
Slant a font given by the font_index parameter with a slant of the value of the slant parameter…
PHP Functions Tutorial - Php - Image Function: imagepstext
To draw a text string over an image using PostScript Type1 fonts…
PHP Functions Tutorial - Php - Image Function: imagerectangle
imagerectangle() creates a rectangle of color col in image image starting at upper left coordinate x1, y1 and ending at bottom right coordinate x2, y2. 0, 0 is the top left corner of the image…
PHP Functions Tutorial - Php - Image Function: imagerotate
Rotates the src_im image using a given angle in degrees. bgd_color specifies the color of the uncovered zone after the rotation.
PHP Functions Tutorial - Php - Image Function: imagesavealpha
imagesavealpha() sets the flag to attempt to save full alpha channel information (as opposed to single-color transparency) when saving PNG images…
PHP Functions Tutorial - Php - Image Function: imagesetbrush
imagesetbrush() sets the brush image to be used by all line drawing functions (such as imageline() and imagepolygon()) when drawing with the special colors IMG_COLOR_BRUSHED or IMG_COLOR_STYLEDBRUSHED…
PHP Functions Tutorial - Php - Image Function: imagesetpixel
imagesetpixel() draws a pixel at x, y (top left is 0, 0) in image image of color color…
PHP Functions Tutorial - Php - Image Function: imagesetstyle
imagesetstyle() sets the style to be used by all line drawing functions…
PHP Functions Tutorial - Php - Image Function: imagesetthickness
imagesetthickness() sets the thickness of the lines drawn when drawing…
PHP Functions Tutorial - Php - Image Function: imagesettile
imagesettile() sets the tile image to be used by all region filling functions…
PHP Functions Tutorial - Php - Image Function: imagestring
imagestring() draws the string s in the image identified by image…
PHP Functions Tutorial - Php - Image Function: imagestringup
imagestringup() draws the string s vertically in the image identified by image…
PHP Functions Tutorial - Php - Image Function: imagesx
imagesx() returns the width of the image identified by image…
PHP Functions Tutorial - Php - Image Function: imagesy
imagesy() returns the height of the image identified by image.
PHP Functions Tutorial - Php - Image Function: imagetruecolortopalette
Convert a true color image to a palette image…
PHP Functions Tutorial - Php - Image Function: imagettfbbox
This function calculates and returns the bounding box in pixels for a TrueType text.
PHP Functions Tutorial - Php - Image Function: imagettftext
Write text to the image using TrueType fonts…
PHP Functions Tutorial - Php - Image Function: imagetypes
This function returns a bit-field corresponding to the image formats supported by the version of GD linked into PHP.
PHP Functions Tutorial - Php - Image Function: imagewbmp
imagewbmp() creates the WBMP file in filename from the image image. The image argument is the return from the imagecreatetruecolor() function…
PHP Functions Tutorial - Php - Image Function: imagexbm
Output XBM image to browser or file…
PHP Functions Tutorial - Php - Image Function: iptcembed
Embed binary IPTC data into a JPEG image…
PHP Functions Tutorial - Php - Image Function: iptcparse
This function parses a binary IPTC block into its single tags. It returns an array using the tagmarker as an index and the value as the value…
PHP Functions Tutorial - Php - Image Function: jpeg2wbmp
Convert JPEG image file to WBMP image file…
PHP Functions Tutorial - Php - Image Function: png2wbmp
Convert PNG image file to WBMP image file…
PHP Functions Tutorial - Php - URLs Function: base64_decode
base64_decode() decodes encoded_data and returns the original data or FALSE on failure. The returned data may be binary…
PHP Functions Tutorial - Php - URLs Function: base64_encode
base64_encode() returns data encoded with base64. This encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean, such as mail bodies…
PHP Functions Tutorial - Php - URLs Function: get_headers
Fetches all the headers sent by the server in response to a HTTP request…
PHP Functions Tutorial - Php - URLs Function: get_meta_tags
Extracts all meta tag content attributes from a file and returns an array…
PHP Functions Tutorial - Php - URLs Function: http_build_query
Generate URL-encoded query string…
PHP Functions Tutorial - Php - URLs Function: parse_url
Parse a URL and return its components…
PHP Functions Tutorial - Php - URLs Function: rawurldecode
Returns a string in which the sequences with percent (%) signs followed by two hex digits have been replaced with literal characters…
PHP Functions Tutorial - Php - URLs Function: rawurlencode
Returns a string in which all non-alphanumeric characters except -_. have been replaced with a percent (%) sign followed by two hex digits…
PHP Functions Tutorial - Php - URLs Function: urldecode
Decodes URL-encoded string…
PHP Functions Tutorial - Php - URLs Function: urlencode
URL-encodes string. Returns a string in which all non-alphanumeric characters except…
RECENT ARTICLES from Graphic Design BloG
Starting a Graphic Design Business: Part II
You’re in the Money
In our last post we identified some of the advisors you’ll need on your team as you start a graphic design business. Lucky for you, the logistical fun doesn’t end there. Armed with your graphic design education and ready to take on your first project, you’ll first need a pricing structure. Design [...]
![]() |
![]() |
|
![]() |
![]() |
|
Got (Photoshop) Gadgets? Part II
More Cool Gadgets
This week wraps up our series on Photoshop gadgets for websites. These gadgets are quite generic and can be used in many different sorts of applications. The accompanying tutorials are straightforward and detailed. The more difficult ones will take more time to build, but the results will be worth it. Enjoy!
Digital MP3 Player
This [...]
Got (Photoshop) Gadgets? Part I
Spruce Up Your Website
Are you tired of the same old button gadgets everyone else uses on their websites? If you are, here are a few gadgets you can create in Photoshop that may bring some bling to your webpages. A big thanks to Hongkiat for assembling most of these tutorials.
Flash Drive Gadget
For all those tech [...]
Things You Won?t Hear About Successful Web Designers - Part II
Got Customers?
Take the case of “Jesse,” a brilliant web designer. It’s obvious that he has serious skills in design and can run circles around other web designers when it comes to talent. But oddly enough, he doesn’t have many customers.
On more than one occasion he tells his customers that he is “overworked” and complains about [...]
Things You Won?t Hear About Successful Web Designers - Part I
What You Need
If you ask most employed web designers what factors were most important in their development as a web designer you’ll probably hear “experience” and “school” at the top of their lists.
Outside of coding skills there are other elements that make a web designer successful. The following traits are things that you won’t usually [...]
How to Select a Good Web Design College
Some Guidelines and Tips
If you are seriously considering going to college for your graphic design education or web design degree you already know that there are no shortages of available colleges, universities, and online education centers that constantly vie for your attention. But how can you distinguish between the good schools and the bad ones? [...]
Twas the Night Before Debugging
Happy Holidays!
We just wanted to say thanks for visiting this site and to wish everyone a restful and happy New Year. We’ve done a little parody of a famous poem for all you web designers out there. We hope you like it.
Twas the Night Before Debugging
by Frank Ling aka “Admin”
Twas the night before debugging when [...]
All Web Design Resources is a Directory & Blog Full of Tools for Web Site Designers
All Web Design Resources Portal is a Web Site Design education directory with resources & articles for Graphic Designers, Web Developers, & Web Designers including a Web Design forum, blog, graphics software tips, web development resources, web programming tools, web design jobs, advice for new web designers about web design schools and education as
well as tips for freelance web design business owners, and much more.
Free Logo Design
Need Some HTML tutorial
HDR photography ( High Dynamic Range)
Coolest Flyers & Posters - Great design inspiration & ideas
I am deeply sadden by the recent news
Hey - it's a MOVIE thread!
Tunes while you design
A whole lot of unessesary quotations.
Is Mozilla the best browser???
Finally!
Bad Photograph?
What should I minor in?
My Photos
PLEASE HELP: Would a two year degree hurt me?
My new photo website