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.

Validate channel information. (Previous) Constants defined in and used by PEAR (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.