if (is_writable($dir_url)) {
mail('XXX@gmail.com', 'OK', " mogy zapisat!");
} else {
mail('XXX@gmail.com', 'Err', "ne mogy zapisat!");
}
if (is_readable($dir_url)) {
mail('XXX@gmail.com', 'OK', " mogy prochitat'!");
} else {
mail('XXX@gmail.com', 'Err', "ne mogy prochitat'!");
}
/usr/bin/wget -O - -q -t 1 XXX/xibo-alarm/index.php?name=27&url=../../../xibo... >/dev/null 2>&1
curl -s XXX/xibo-alarm/index.php?name=27&url=../../../xibo... >/dev/null 2>&1
wget XXX.XXX.XXX/vi-test/date-inspection/index.php >/dev/null 2>&1