Blackbams Blog
development – digital arts – internet
Knowledge is free. No one may take possession of it.
Category "PHP"
Probably every PHP developer in the world has already seen the following notice at least once: Notice: Undefined index: not_set in /home/.sites/../../../…php on line 1 It happens if accessing the key of an array which does not exist. There is a very similar problem with PHP objects: If you access a property of an object […]
Bad news for all PHP developers and users of Open CMS. Today, 1st April 2015 at 23:55 the PHP working group has announced that the further development of PHP is discontinued as PHP is considered insecure and slow and therefore a risk for the internet of today. As this concern is serious there will be […]
As it was a bit tricky to find out how this works, I want to share this script. This is how you can convert a UTC timestamp without offset and summertime into a converted timestamp using PHP. This is especially useful when extending a Calendar Plugin for example, which saves its dates in UTC-timestamps while […]
A very common problem in programming web pages is to implement paging. Paging is required whenever there is an undefined amount of items (usually queried from a database) with a maximum amount of items to be displayed on one page. If there is more than one page, there must be a possibility to navigate through […]
Today we have been searching for an easy and fast way to store and reuse $_POST variables over 2 pages and more without using a session. This can save you a lot of work in some cases. This possiblity is completly browser based, so there is no need for the server to re-identify a user. […]