How can we help you today?
PHP current file dir
file dir is in the current server system, not a url.
for file_exists, need file dir.
$url = WP_CONTENT_DIR . ‘/uploads/dis-documents/dis-coa’;
echo(‘
‘ . $url . ‘
‘);
not sure how to get from jquery