Cloudflare setup 301 Redirect from domain / subdomain
Updated: 14th April 2024Tags: cloudflare
Please, use integer as cents, don’t do my mistake, if you are using PHP.
I was shocked when discovered that php is using float and doesn’t have decimal. I have a lot of code already done, so I used bcmath to get around, but if I had known this earlier, I would have used integers.
UPDATE my_table SET column1 = REPLACE(column1, 'search string', 'replacement');
echo date(DATE_RFC3339);
//convert from other format
echo date(DATE_RFC3339, strtotime('2023-01-01 05:55:55'));