Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Email:

PEAR_ChannelFile::validChannelServer()

PEAR_ChannelFile::validChannelServer()  -- Test whether a string contains a valid channel 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.