<?php
header('Content-Type: text/plain');
echo "open_basedir = "; var_export(ini_get('open_basedir')); echo PHP_EOL;
$path = 'D:\host\newselvi\wp-content\uploads\wpo_wcpdf_d3f4f168bb71541584ca9afab631062d';
echo "is_dir: "; var_export(is_dir($path)); echo PHP_EOL;
echo "is_writable: "; var_export(is_writable($path)); echo PHP_EOL;
clearstatcache();
echo "is_writable (after clearstatcache): "; var_export(is_writable($path)); echo PHP_EOL;