PEAR_ChannelFile::validChannelServer()

PEAR_ChannelFile::validChannelServer()  -- Test whether a string contains a valid channel server.

Referentiesamenvatting

require_once '/ChannelFile.php';

bool PEAR_ChannelFile::validChannelServer (string $server)

Beschrijving

determines whether a channel server is a valid servername.

Parameter

string $server

Server name. May contain subpaths as in foo.example.com/path/to/channel

Throws

throws no exceptions thrown

Note

Deze functie kan statisch worden aangeroepen.