« Back to Product

Documentation

Sys_GetURLContent

 string Sys_GetURLContent (string $URL) 

Parameters

URL

Complete URL

Returns

If the command was executed successfully, it returns the result of the website contents (including binary code), otherwise FALSE.

Description

Reads the contents of the URL and returns it as a return value.

Warning

The function has a default timeout of 10 seconds. If it should be changed, the function Sys_GetURLContentEx can be used

Example

echo Sys_GetURLContent("http://www.google.de");
Any questions?