0
How to get useful of index.php and config.php files, all through with css and js files?
How to code my configuration file (config.php) in my website folder on the local server, so I can configure my css and js files to be applied through the index.php file on the main website folder? I have html files styled with css and js, when I include html files in index.php, it only shows the html with no css or js styles.
1 Respuesta
0
when browser get index.php, it get a html file and send request for get css, js, image and media files by index.php directory, but you set address by html directory...
you should set address of css, js by index.php base...
exp:
in html you set a css with "files/css/style.css".
and your index.php is in "main" directory.
so you should copy css file to "main/files/css/style.css".