Ondřej Letáček

Author's posts

Creating Our Chatbot: A Step-by-Step Journey

Discover how we designed and developed our chatbot from initial ideas to implementation. Learn about the tools, challenges, and key decisions behind the project

PHP Unset ArrayObject in foreach skip the following item – unexpected behaviour

When you unset the item from array in foreach, all works as expected $array = [1,2,3,4]; foreach($array as $key => $value) { if($value === 2) { unset($array[$key]); continue; } echo “$value “; } Will return following: 1 3 4 When you want to do the same with ArrayObject, you would expect exactly the same behaviour. …

Continue reading

Updated script for downloading file from javascript

I had to use the ajax to download a file internally on our NestForms project. I was searching for a solution and found one on Filamentgroup website. Unforutunatelly, there were some issues that it did not correctly encoded the request. So I had to update the script in order to make it working. See the …

Continue reading