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 ...
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 detect links in a text string with PHP Aner Barrena September 17, 2020 PHP & MySQL, String functions in PHP Let's see how to detect links and links in a text string with PHP using a simple script. In the analyzed strings we will have links with www, http://, https://, twitter hashtag and twitter profiles. (more&hell...
Presentation of the blog about web development with PHP, HTML5, JQuery, MySQL and .htaccess Aner Barrena September 12, 2020 .htaccess Apache, HTML5, jQuery, MySQL, PHP & MySQL I will be brief... What I will try to post on the blog, is my initiation to web development oriented to mobile devices. (more…)...