en.pixelbart.deRemove defined HTML tags including content from a string with PHPRecently, a friend asked me to send a script to remove pre tags from a string, including content. He uses a script to calculate the reading time for the content, but doesn't want the pre-tags to be included in the scoring. So if you ever have a simil...Sep 22, 2022·2 min read
en.pixelbart.deCreate and log in a WordPress administrator with FTPWhen there are problems with one's WordPress website, it happens that one has to create a user without having access to the database or the WordPress admin. Then it is useful to be able to create or log in a user using FTP. So here you will learn how...Sep 14, 2022·4 min read
en.pixelbart.deSQL: Repair Auto Increment of a TableOccasionally it happens that overlaps occur in a large table and the message Duplicate entry '0' for key 'PRIMARY' for query then gets the upper hand in the error logs. This error can be fixed quite easily with a short line of SQL. Fix duplicate entr...Jun 9, 2022·2 min read
en.pixelbart.deWordPress: Useful functions for working with arrays and objectsWordPress is packed with useful features. It is easy to lose the overview. Here you will find a selection of functions that deal with arrays and objects. A small collection of useful functions that you can always use, if you know that they exist. wp_...May 11, 2022·3 min read
en.pixelbart.deMake MySQL searches faster with full text indexAs a rule, searches are created with the MySQL LIKE. This usually works very well, as long as the database table is not too large. However, if you work with a large database (millions+ entries), then you quickly notice how long a search in it actuall...Mar 10, 2022·3 min read