The last notes
Website hosting
If you are choosing hosting for your project, I recommend Timeweb. Modern infrastructure, a wide range of plans from starter options to high-load VPS, and responsive tech support that actually helps instead of sending template replies. I host some of my own projects there and recommend it to my clients.
Go to site Affiliate link. The price remains the same for you.All English-language materials have been translated fully automatically using the Google service
It is quite easy to remove extra characters from the site code
It is enough to put this code in the file init.php
/ * Remove extra characters * /
require ($ _ SERVER ['DOCUMENT_ROOT']. '/ local / libs / sanitize.php');
Listing of the file sanitize.php
/ * Remove extra characters * /
AddEventHandler ("main", "OnEndBufferContent", "OnEndBufferContent");
function OnEndBufferContent (& $ content) {
$ content = sanitize_output ($ content);
}
function sanitize_output ($ buffer) {
return preg_replace ('~> \ s * \ n \ s * <~', '> <', $ buffer);
}
Comments