Provides access to network services.
Classes
The Context holds information about the request, response,
session, and user.
Cookie is a small amount of information sent by server to
web browser, saved by browser and later sent back to server
when the client accesses the same web page.
Embedded FTP client.
This class represents an Internet Protocol (IP) address.
The HTTP request from the client terminal/browser.
All request parameters (URL parameters and FORM parameters)
appear as request's fields. For example, if the query string
contains "a=1&b=2", there will be two fields available in
the request: request.a and request.b
If parameter names contains "keys" enclosed into angle brackets
corresponding array structures are created onto request. For example:
<input type="person[name]" value="john doe">
<input type="person[age]" value="50">
When submitted will yield to attribute person to request
with value
["name"=>"john doe", "age"=>"50"].
Handles also file uploads. For example:
<form method="post" ENCTYPE="multipart/form-data">
<input type="file" name="file1">
</form>
Here the
request.file1 field will contain a
File datatype, which represents an uploaded file.
The HTTP response to the client terminal/browser.
A server socket waits for requests to come in over the network.
The session datatype is used for representing a unique
user session.
Client socket (also called just "socket").
A socket is an endpoint for communication between two machines.
Uniform Resource Locator.
Class URL represents a URL address,
a pointer to a "resource" on the World Wide Web.
Represents a communications link between the application and a URL.
Instances of this class can be used
both to read from and to write to the resource referenced by the URL.
Exceptions
Constants
Port of FTP service (21).
Port of SMTP service (25).
Port of FTP service (22).
Port of Telnet service (23).
Functions
Returns an array of all addresses of given hostname resolved, or null if resolving failed.
Returns the address of given hostname resolved, or null if it couldn't be resolved.
Returns the address of localhost, or null if it couldn't be resolved.