HTML5 keygen tag: A new field for key generation Aner Barrena October 12, 2020 Forms in HTML5, HTML5, New inputs, tags and attributes in HTML5 With HTML5 keygen tag we continue to discover the new HTML5 fields. (more…)...
PHP date_default_timezone_set(): Set default time zone UTC Aner Barrena October 12, 2020 Date functions in PHP, PHP & MySQL New post to review the function of PHP date_default_timezone_set() that sets the default time zone. (more…)...
PHP date_default_timezone_get(): Get default time zone UTC Aner Barrena October 12, 2020 Date functions in PHP, PHP & MySQL When we are working with dates in PHP we always have to consider if the time zone of the system is correct. To obtain this information we have the function of PHP date_default_timezone_get() that will return a ...
HTML5 Datalist tag: Suggests a list of values in a form Aner Barrena September 23, 2020 Forms in HTML5, HTML5, New inputs, tags and attributes in HTML5 Let's review this HTML5 datalist tag, it is one of the new input, tags and form attributes in HTML5 forms. (more…)...
Hotlinking: avoid and detect the image hotlink on our website Aner Barrena September 22, 2020 .htaccess Apache, Resources The hotlink is more usual than we can imagine, there are people who hotlink images without being aware of it and others do it in a deliberate way. (more…)...
How to display PHP errors at runtime with a simple code Aner Barrena September 20, 2020 PHP & MySQL Many servers do not display PHP errors by default, so many times when not getting the expected result or performance we don´t know which line of code is giving error. (more…)...
PHP header(): operation and redirect 301 with the Location header Aner Barrena September 20, 2020 PHP & MySQL, Resources, SEO & Google Analytics The PHP header function allows us to send unformatted headers to the client (robot, browser...). It is a way to force such sending before the headers are read from the page itself. (more…)...
How to disable and delete post reviews in WordPress Aner Barrena September 20, 2020 Resources, WordPress If we don't have the post reviews disabled in WordPress the database will be filled with versions of our posts that will never be published. (more…)...
jQuery load(): load an external html into a div of our page Aner Barrena September 20, 2020 jQuery Sometimes we need to update a certain part of the page without having to refresh it, a function I often use is jQuery load(). (more…)...
Redirect 301 in .htaccess with ‘redirect 301’ and ‘redirectmatch 301 Aner Barrena September 17, 2020 .htaccess Apache, Resources, SEO & Google Analytics Configure a redirect 301 in .htaccess is very easy. This redirection is used when we need to change urls of our websites and not lose the positioning of these urls when redirecting them. (more…)...