recent searches:
include functions ,
variable functions ,
post functions...
If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.
PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.
Generates a URL-encoded query string from the associative (or indexed) array provided.
formdataMay be an array or object containing properties.
The array form may be a simple one-dimensional structure, or an array of arrays (who in turn may contain other arrays).
numeric_prefixIf numeric indices are used in the base array and this parameter is provided, it will be prepended to the numeric index for elements in the base array only.
This is meant to allow for legal variable names when the data is decoded by PHP or another CGI application later on.
arg_separatorarg_separator.output is used to separate arguments, unless this parameter is specified, and is then used.
Example 2. http_build_query() with numerically index elements.
The above example will output:
|
Example 3. http_build_query() with complex arrays
this will output : (word wrapped for readability)
|
Another Useful functions:
function.mb-http-output | function.mb-http-input | function.http-throttle | function.http-support | function.http-send-stream | function.http-send-status | function.http-send-last-modified | function.http-send-file | function.http-send-data | function.http-send-content-type | function.http-send-content-disposition | function.http-request | function.http-request-method-unregister | function.http-request-method-register | function.http-request-method-name | function.http-request-method-exists | function.http-request-body-encode | function.http-redirect | function.http-put-stream | function.http-put-file | function.http-put-data | function.http-post-fields | function.http-post-data | function.http-parse-params | function.http-parse-message | function.http-parse-headers | function.http-parse-cookie | function.http-negotiate-language | function.http-negotiate-content-type | function.http-negotiate-charset | function.http-match-request-header | function.http-match-modified | function.http-match-etag | function.http-inflate | function.http-head | function.http-get | function.http-get-request-headers | function.http-get-request-body | function.http-get-request-body-stream | function.http-deflate | function.http-date | function.http-chunked-decode | function.http-cache-last-modified | function.http-cache-etag | function.http-build-url | function.http-build-str | function.http-build-query | function.http-build-cookie | features.http-auth |
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.