Category: WebProgramming / WebDev / HTML / PHP


No matter if you decide to for [cc lang=”php” escaped=”true” width=”600″] [/cc] it will set a cookie this way or another. Cookies are sent by the server to the browser and only the domain that ordered the cookie to be […]


*GRRRRRR* now you know why i hate updates 😀 they can brake “old” functionality, but sticking with “the old” is sometimes not an option. as a developer you do not want to test your javascript with 10x versions of a […]


The command line string to do the conversion uses TiMidity++ and LAME and on a Linux server are as straightforward as: [cc lang=”bash” escaped=”true” width=”600″] apt-get update; # as usual apt-get install timidity lame; # install software timidity file.mid -Ow […]


update: 2018.04 PaleMoon archive Server HACKED! “A malicious party gained access to the at the time Windows-based archive server” (src) oh gosh! ? GO USE CENTOS DEBIAN AND LATEST KERNEL NOW! “malware dropper tracked by ESET as Win32/ClipBanker.DY” (steals bitcoins) […]


Checkout: IceCat Description BlueLightCat is a simple browser whose feature list includes things like “History”, “Bookmarks” and “QuickView”, that is a page to see the most visited hosts. It is small, less then 10,000 lines of code and very fast. […]


Click here to generate for facebook:   Introduction So you just finished your very first web app and you’d like to let other people share it on Twitter, Facebook, Pinterest or any other social network they use. This […]


Safari and Firefox both run the WebKit HTML-rendering engine – forked from KDE-KONQUEROR! Konqueror is the original WebKit browser. Long before Apple released Safari, there was Konqueror and the KHTML rendering engine. Apple liked what they saw in KHTML and […]


From a flexibility point of View: This is totally correct. But what from a RAM point of view. Why have every .php script instanciate a new version of class config.php? [cc lang=”php” escaped=”true” width=”600″] I created an easy small class: […]


WordPress is FREE, isn’t it? Yeaaaah… almost. It is released unde the GPLv2 which makes it basically Open Source. 1. first of all there is hosted which sells “PRO” and “LIGHT” Versions of a hosted instance of a […]


get in a bash shell: php -m; # list all currently activated and installed extensions [PHP Modules] bcmath bz2 calendar Core ctype curl date dba dom ereg exif fileinfo filter ftp gd gettext hash iconv imap intl json libxml mbstring […]


Fast summary: PHP + easy learning, probably better for fast prototypes/small projects – grown language, not coding standards enforced = bad for large projects (upgrade project from PHP4->5 is ugly) Ruby – hard to learn and understand (need to understand full […]


the keyword is SVG – Scalable Vector Grafix – supported even from ie9 and later check out these massively cool examples: click on a pie slice and zoom in display the current time as a BAR CHART 😀 […]


DON’T USE OPACITY ON THE WHOLE DIV! IT WILL MAKE THE TEXT AS WELL TRANSPARENT! #someDiv { opacity: 0.8; } btw: OPAQUE is the opposite of TRANSPARENT ONLY APPLY TO BACKGROUND: #someDiv { background: none repeat scroll 0 0 rgba(255, […]


there seems to be a lot of confusion around an Apple introduced meta-tag called “viewport” let’s try to learn from Apple what it means by “viewport”. Briefly If you are not coding a responsive site, just don’t use any […]


unfortunately, with every producer (Apple (Quicktime=mp4), Adobe (vlf), Microsoft, Google (webm)…) wanting to set their own standard… things become complicated. Only solution: Open Source Standards & support by everybody. thats the code from the “Video for Everybody” generator [cc […]


“Die endgültige Lösung fand Ryan Dahl dann schließlich im Januar 2009 mit Java- Script. Hier wurde ihm klar, dass diese Scriptsprache sämtliche seiner Anforderungen erfüllen könnte.” 1. non-blocking i/o (ruby too slow) 2. JavaScript war bereits seit Jahren im Web […]


there is a file called: /.settings/org.eclipse.ui.ide.prefs in your Aptana installation. (at least under OSX but should be the same under windows) example content: RECENT_WORKSPACES= RECENT_WORKSPACES_PROTOCOL=3 SHOW_WORKSPACE_SELECTION_DIALOG=true eclipse.preferences.version=1   1. open that file 2. delete everything after “RECENT_WORKSPACES=” 3. turn SHOW_WORKSPACE_SELECTION_DIALOG=false to SHOW_WORKSPACE_SELECTION_DIALOG=true […]


javascript jquery html form element – also submit checkboxes that have the “off” state solution: [cc lang=”js” escaped=”true” width=”500″] // serialize form, also send values for checkboxes that are “off” $(form).children().each(function() { add = “”; //access to form element via […]


we all know this… (etherpad),, dropbox etc. all generate long and cryptic links that we can share to allow other people to access specific content. maybe i am mistaken, but that is what google says: “It’s almost impossible […]


“Search engines only know about your site because they are able to (or not able to) access it. While visitors can click freely from page to page of your site (assuming there aren’t logins or other secure areas they have […]