Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 2.3 KB

README.md

File metadata and controls

12 lines (8 loc) · 2.3 KB

The library of various PHP functions, classes, frameworks, ...

PHP functions:

Name Description PHP versions
isLocalhost() Returns true if the PHP script is running on localhost (either through Apache server or CLI), otherwise returns false. 5.6+ 7.0+
file_get_contents_ssl($url) Extension of function file_get_contents(). It supports:
- HTTP/S requests,
- GET/POST request types,
- HTTP authentication,
- cookies.
5.6+ 7.0+
remoteFileExists($url) Checks if a remote file exists. 5.6+ 7.0+
convertAccentedCharacters($string) Converts accented characters to ASCII. 5.6+ 7.0+