Recover Dreamweaver FTP-Zugang

DaftLogic Password recovery

Posted: April 24th, 2010
Categories: Programming
Tags:
Comments: No Comments.

preg_match limit

One thing to note when working with larger texts and preg_replace() is that the matched text cannot be longer than (usually) 100 000.
I discovered this while debugging a CMS-system which wouldn’t display a certain text. Took forever to find the problem.

Thankfully the default values can be changed – but only if you have access to the server.

http://us.php.net/manual/en/pcre.configuration.php

Posted: Dezember 8th, 2009
Categories: Programming
Tags:
Comments: No Comments.

[not so good] programming practice

If you were ever in a hurry to fix something on a live-page you might have gotten the idea to just do something like this:

if($_SESSION["customer_id"]==’815′)
echo “new cool design – still with errors”;
else
echo “old crummy design – completely error free”;

If you so far have not found out about the disadvantages of this approach – consider yourself lucky. Because – if($_SESSION["customer_id"]==’815′) – can easily turn into something like this when you are in a hurry: if($_SESSION["customer_id"]=’815′). And that might be a major problem. :)

Just imagine everybody ordering on your customer account. HEYYYYYY!! What a joy! So my advice is to either test on a separate development server (good girl) or to do something ugly but handy like this (baaaad, bad girl) in a config file or a file which is included on every page:

if($_SESSION["customer_id"]==’815′)
$GLOBAL["testingMode"]=1;

Then you can go like if($GLOBAL["testingMode"]==’1′) whereever you want and if you go like if($GLOBAL["testingMode"]=’1′) you have a maximum damage of the new error-ridden design molesting the customers instead of them ordering in the name of somebody they do not know.

Posted: November 26th, 2009
Categories: Programming
Tags:
Comments: No Comments.

Convert page from latin to utf-8

If you ever had the pleasure of converting a page from iso to utf-8 and had mixed encodings in your database you will appreciate this link.

http://www.oreillynet.com/onlamp/blog/2006/01/turning_mysql_data_in_latin1_t.html

Posted: November 10th, 2009
Categories: Programming
Tags:
Comments: No Comments.

[DE] – Dreamweaver Absturz – Sommerzeit

Für alle die unter grundlosen Abstürzen von Dreamweaver leiden:
Das Problem liegt unter Umständen an der Umstellung auf Sommer- bzw. Winterzeit. Es kommt vor, dass die Umstellung die Dreamweaver Konfigurationsdateien beschädigt. Deshalb – falls Dreamweaver grundlos abstürzt und einfach keine Lösung zu finden ist:

1. Dreamweaver schließen (wenn er denn grad mal läuft)
2. Ordner “C:\Dokumente und Einstellungen\<dein Username>\Anwendungsdaten\Adobe\Dreamweaver 9″ öffnen
3. Configuration-Ordner umbenennen
4. Dreamweaver starten (legt neuen Configuration-Ordner an)
5. Problem (so es daran lag) behoben

Posted: Oktober 30th, 2009
Categories: Scraps
Tags:
Comments: No Comments.

Blume

blume

Posted: Oktober 29th, 2009
Categories: Photos
Tags:
Comments: No Comments.

Adobe Kuler

Ever got stuck with weird color combo that you just made you feel like you wanted to go blind? To help designers choose a color scheme for their websites and graphics Adobe developed Adobe kuler – a color schemer easing the pain of finding just the perfect match. And the best: it’s free and online!

temp

Posted: Oktober 29th, 2009
Categories: General
Tags:
Comments: No Comments.

Very cool poster for “Monsters vs. Alien” Special

Look at this cool poster by Nate Wragg for a “Monsters vs. Aliens” TV special Mutant Pumpkins from Outer Space. I love his work. If you do you might want to check out gallery nucleus. They are offering a little deal on a very nice 3-piece dracula print set at the moment.

pumpkinvasion

Link to original Cartoonbrew article.

Posted: Oktober 28th, 2009
Categories: Visual Stuff
Tags:
Comments: No Comments.

Adobe Wave Wordpress Plugin

Did you ever want to notify all your fans at once if something on your blog changes? Have them download Adobe wave and send messages directly to their desktop.

You can download the plugin here:

http://blog.grobmeier.de/2009/08/04/adobe-wave-wordpress-plugin-finished.html

Posted: Oktober 27th, 2009
Categories: Programming
Tags: , , ,
Comments: No Comments.

Willkommen auf lewanscheck.de

… und second-site.de

1028528_29880053

This used to be the page of my freelance business. Due to my working fulltime at the moment I am converting this page a little – including switching to english as main language.

Please bear with me if I am a little slow on updates and new posts. Doing my best.

Sandy

Posted: Oktober 24th, 2009
Categories: General
Tags:
Comments: No Comments.