Re: php instead css styles
| From: | David Spector | Date: | Mon, 15 Feb 2021 13:36:44 +0000 |
| Subject: | Re: php instead css styles | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327491@lists.php.net to get a copy of this message | ||
Dear Muhamad,
Yes, many web-related file operations can be done in PHP easily, using functions like file_get_contents and file_put_contents. See the PHP Manual and search the web to answer such basic questions.
In this case, read in the two styles files, then concatenate them into a single string and write out that string. Your HTML file can then link to that new file instead of to the two style files.
David Spector/Springtime Software