« Back to Product

Documentation

Sys_GetURLContentEx

 string Sys_GetURLContentEx (string $URL, array $Parameter) 

Parameters

URL

Complete URL

Parameter

Array with index => value pairs

Index Type Description
Timeout Integer Default = 10000. Timeout in milliseconds
AuthUser String Default = "". Username for basic authentication
AuthPass String Default = "". Password for basic authentication
VerifyPeer Boolean Default = true. Verify that hosts SSL certificate is correct
VerifyHost Boolean Default = true. Verify that host URL from the SSL certificate matches the property Host

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. Here, some Parameter for timeouts, authentication and proxy are made.

Example

echo Sys_GetURLContentEx("http://www.google.de", Array("AuthUser"=> "test", "AuthPass"=> "test"));
Any questions?