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

PEAR_Common::infoFromAny()

PEAR_Common::infoFromAny() -- Returns package information from different sources

Description

Returns package information from different sources. This method is able to extract information about a package from a .tgz archive or from a XML package definition file.

Parameter

string $info

Filename of the source ('package.xml', '<package>.tgz')

Return value

string - Package information

Note

This function can not be called statically.