Asset Path Test"; // Test direct paths (for root-level access) echo "

Direct Asset Paths (Root Level Access)

"; echo "

CSS: assets/css/style.css

"; echo "

JS: assets/js/app.js

"; // Check if files exist echo "

File Existence Check

"; echo "

CSS exists: " . (file_exists('assets/css/style.css') ? 'YES' : 'NO') . "

"; echo "

JS exists: " . (file_exists('assets/js/app.js') ? 'YES' : 'NO') . "

"; // Test actual links echo "

Test Links

"; echo '

Test CSS Link

'; echo '

Test JS Link

'; // Show current directory echo "

Current Directory Info

"; echo "

Current working directory: " . getcwd() . "

"; echo "

Script filename: " . $_SERVER['SCRIPT_FILENAME'] . "

"; echo "

Document root: " . $_SERVER['DOCUMENT_ROOT'] . "

"; // List assets directory echo "

Assets Directory Contents

"; if (is_dir('assets')) { echo ""; } else { echo "

Assets directory not found!

"; } // Test with HTML echo "

HTML Test

"; echo '
This text should be red if CSS is not loading
'; echo ''; echo '
This should be styled if CSS loads
'; ?>