What can we improve?

Documentation

(Edit)

Translation is in progress...
Not all topics are available at the moment and content links may be broken.

Sys_GetURLContentEx

array 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"));
Deutsche Webseite verfügbar
Go to cart
Any questions?