PEAR_ChannelFile::validChannelServer
PEAR_ChannelFile::validChannelServer() – Test whether a string contains a valid channel server.
Synopsis
require_once '/ChannelFile.php';
bool
PEAR_ChannelFile::validChannelServer
(
string
$server
)
Description
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
This function can be called statically.