Category: WebProgramming / WebDev / HTML / PHP

Programming Languages and Security

ich wollte mal wissen, wie steht es eigentlich um die Security auf Technologie / Programmiersprachen-Ebene? D.h. welche Programmiersprachen machen es einem schwer vs. einfach sichere Software zu schreiben? Natürlich kann man in jeder Programmiersprache angreifbare Projekte entwickeln… das ist kein […]


No matter if you decide to for <?php session_start(); $_SESSION[’UniqueRandomTemporaryID’] = ‚h0ss5qul55mpev38uaduca31c0‘; # or $_COOKIE[’UniqueRandomTemporaryID’] = ‚h0ss5qul55mpev38uaduca31c0‘; ?> it will set a cookie this way or another. Cookies are sent by the server to the browser and only the domain […]


*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: apt-get update; # as usual apt-get install timidity lame; # install software timidity file.mid -Ow -o – | lame […]


Checkout: IceCat Which browser to surf freely? # 2 Independent this question immediately brings another question along: What html rendering engine should i use? (can i trust) A web browser engine (sometimes called layout engine or rendering engine) is a […]


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. […]


Checkout: IceCat it’s always a good idea to try out alternatives. 🙂 Welcome to Arora: (under Debian-Gnome3) Arora is a lightweight, cross-platform, free and open-source web browser developed by Benjamin C. Meyer.[2][3][4][5]  Benjamin C Meyer (icefox) Waltham, MA benÄTmeyerhomePUNKTnet Joined on […]


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 […]


ex people from Google are in the Mozilla Foundation. so this is actually not very shocking: ONE BROWSER TO RULE THEM ALL: CHROME!!!! root@debian7:/Applications/firefox/browser# ll insgesamt 11M drwxr-xr-x 7 root root 4,0K Jul  1 02:34 . drwxr-xr-x 8 root root […]


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? I created an easy small class: class Config {   […]


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 […]


SVG Basics <!– will create a animated square that changes its height –> <svg> <rect width="200" height="200" fill="slategrey"> <animate attributeName="height" from="0" to="200" dur="3s"/> </rect> </svg> Security ProblemZZZ


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, […]


Meta No Cache Make browser always load content from server, instead of getting content from cache. Using tags to turn off caching in all browsers? <meta http-equiv="cache-control" content="max-age=0" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="expires" content="0" /> <meta http-equiv="expires" […]


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 <!– […]


„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 […]


file: ClassUser.php <?php include("ExampleClass.php"); $class_instance = new ExampleClass(); $class_instance->setExample("example sucks"); echo($class_instance->getExample()); $class_instance->NewProperty = "You just created a new propertey of the class, that is not defined per default"; $class_instance->AnotherProperty = "You just created a new propertey of the class, that […]


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 […]