Category: WebProgramming / WebDev / HTML / PHP

2024 is the year + SuperCharge IT processes with OpenSource + GNU Linux + kvm + there is still more potential + Intel Xeon vs AMD EPYC vs Altra ARM CPU vs Apple M1 benchmark battle! + M$ Office for GNU Linux
30.03.2024

Hetzner is already doing it with very energy efficient Ampere ARM servers delivering world-class-cost-and-energy-saving-virtual-servers. (Gigabyte has them as well UNTESTED!) #SuperCharge #IT processes with #OpenSource + #GNU #Linux (call it #GNU #Linux and give the dude that wrote gcc some […]

PHP Composer how to install and how to usage
28.10.2023

always say something positive first: then the critique: follow the excellent guide: https://getcomposer.org/download/ mkdir /var/www/html/composer cd /var/www/html/composer php -r “copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);” php -r “if (hash_file(‘sha384’, ‘composer-setup.php’) === ‘THISWILLHAVECHANGEDBYNOW’) { echo ‘Installer verified’; } else { echo ‘Installer corrupt’; unlink(‘composer-setup.php’); } […]

PHP HowTo – correctly search for a string inside a string
22.09.2022

the developer can name this file ./EXAMPLES/ARRAY/find.php please note the strpos or stripos !== false without it, if a substring is found within a string at position 0 for if 0 equals false <?php $mystring = ‘abc’; $findme = ‘a’; […]

PHP HowTo – sort array of arrays
22.09.2022

usage: $devices_array_sorted = ArrayOfArraysSort($devices_array, “AverageWatts”,SORT_ASC); the function: /* sort array that contains a lot of arrays by key */ function ArrayOfArraysSort($array,$key,$mode) { // sort by age $sort = array(); foreach($array as $k=>$v) { $sort[$key][$k] = $v[$key]; } # sort by […]

JavaScript is evil (= a major security problem)
10.09.2018

2020-12: another reason why JavaScript SUCKS badly and websites NEED TO WORK without JS: it might “destroy” NAT security: NAT Slipstreaming allows an attacker to remotely access any TCP/UDP service bound to a victim machine, bypassing the victim’s NAT/firewall (arbitrary […]

28.07.2017

  i did just some basic testing… and managed to compile the php7.3 binary – but the make install failed. it would help to have multiple cores… hostnamectl; # tested with Static hostname: CentosSlave Icon name: computer-vm Chassis: vm Operating […]

CentOS Redhat – compile Apache2 from source
27.07.2017

i tried to compile under debian…. but it’s way more compli cated. also: you probably do not need all the packages stated here… but i did not have the time to sort those out sorry for that. feel free to […]

Free Web Video Conferencing with firefox
25.07.2017

install firefox app and test it for free here: https://appr.tc/ When Browsers start to talk to each other – Open Source HTML5 based Web Video Audio Conferencing WebCam ScreenSharing – Collaboration over internet WebRTC (“Web Real-Time Communication“) enables applications such […]