Category ArchiveProgramming
Category ArchiveProgramming
Projects & Personal Daantje on 24 Dec 2006
I’ve added more projects to this new site. Some of them I’ve updated. The following projects are now newer versions; SimpleHorizontalScroll, ScrollbarReplacement and InDesign PDF export. All updates are small bug fixes and/or enhancements . I will change my links at hotscripts and freshmeat tomorrow I hope, till then my I keep my old site up and running.
Update: I’ve updated all of my links to my projects on hotscripts and freshmeat.
The MySQpolL is updated, so is my DaantjesGuestbook project. This one got my CAPTCHA class included.
Continue Reading »
Projects Daantje on 23 Dec 2006
All the links to my project downloads are fixed. Also I’ve added the examples. The DHTMLpopInfo project is updated and a new version of the CSShyarchMenu will be here soon too. Ahain, if you are looking for any of my projects that are missing on my new blog, check my old site, it’s still here..
Projects Daantje on 22 Dec 2006
Today I changed to WordPress. But at the same time, my website is being moved to a new server. Now I saw that all my project links are broken, and I can’t fix them right now. So mean while, you can use my old website to harvarst my projects. It’s still online…
PHP Daantje on 26 Oct 2005
I wrote this little PHP script for a friend of mine. He needed to redirect to a xhtml page when a user with a mobile device (internet capable PDA or phone) connected to his homepage. This script is very easy to implement… Just put it at the top of your first index.php file. When a user connects, this script will check the user agent (browser) and when a trigger is present, it will redirect. Hope it helps someone… Have fun.
$redirect = "/2005/xhtml/index.html";
$agents = array(
'Zaurus',
'PDA',
'PalmOS',
'Xda',
'LG',
'MOT-',
'SAMSUNG-SGH-',
'SIE-',
'SonyEricsson',
'SHARP',
'NEC-',
'Panasonic',
'Nokia',
'MDA'
);
foreach($agents as $i){
if(strstr($_SERVER['HTTP_USER_AGENT'],$i)){
header("Location: ".$redirect);
exit;
}
}
Projects Daantje on 28 Mar 2005
I’ve updated my linkValidator class. Fixed the hanging links when the link was pointing to a HTTP/1.0 server. It’s backwards compatible, so just overwrite to old class file.
Internet & Windows & Programming Daantje on 20 Mar 2005
Again from /.: Anyone who has ever developed a website knows that cross-browser and cross-platform compatibility is a nightmare, mainly due to Microsoft’s willful non-compliance with the CSS2 standard. As this eWeek article points out, it seems Microsoft will continue their poor support for CSS2 even in the IE 7.0 release. This may have worked when IE was the only game in town, but now that Firefox is a serious player, it won’t help them keep market share as they think it will.
MacOS & PHP Daantje on 27 Feb 2005
1st try:
I’m building a project timer app in PHP with the php_gtk.so module. But I can’t compile it for my Mac… I have it running on my linux based machine, but not on my mac yet… I’ve found these pre-compiled libs, but it still doesn’t work…
I’m now checking the Fink stuff… I think I miss some GTK lib…
2nd try:
Found the gtk lib, but still no luck… If someone has an idea, please post!. I always get this error when I fire up a php-gtk script:
I have it working! This is what I did… I’ve downloaded the latest source from php.net. Unpaked it and compiled it with this configuration:
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-apxs2 --with-ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable-trans-sid --with-xml --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-curl=/usr --with-config-file-path=/etc --sysconfdir=/private/etc
Do a make and make install command to update the existing php binary.
Now download the latest php-gtk source and compile it.
./buildconf ./configure make make install
Now you should have this file: /usr/lib/php/extensions/no-debug-non-zts-20020429/php_gtk
rename the php_gtk to php_gtk.so
mv /usr/lib/php/extensions/no-debug-non-zts-20020429/php_gtk /usr/lib/php/extensions/no-debug-non-zts-20020429/php_gtk.so
Make sure that the file is executable;
chmod +x /usr/lib/php/extensions/no-debug-non-zts-20020429/php_gtk.so
Okay now your done… Don’t edit the php.ini to use the php_gtk.so at startup, or else you can’t use php in your Apache webserver! Use the php_gtk.so with this line in your source: dl(’php_gtk.so’);
To get it to work,
start up X11 (This is very important! php-gtk needs X11 or Xdarwin to run or else you get this error:
Fatal error: php-gtk: Could not open display in php-gtk-1.0.1/test/hello.php on line 4)
Xdarwin comes with Fink, a package management system for MacOS X based on the Debian apt tools.
Start your file in the terminal of X11 or Xdarwin and open a bottle of beer!
MacOS & PHP Daantje on 27 Feb 2005
Yes it works! Read my howto on how to make it work. Now I can build my project timer ;) I will make it GPL when I’m done…
Projects Daantje on 09 Jan 2005
I’ve GPLed an old class of mine. This PHP class, a link validator, i wrote in october 2003 and only used it in a site of mine nlweed.com to check if posted links are still valid. Now I found the class and thought that it would be a waste only to use it ones. So here is the GPLed version. Check the source for documentation and the readme for code examples.
Programming Daantje on 31 Dec 2004
Posted on /. SlashDot
NewsPosted by michael on Tuesday October 08, @11:59AM - “from the hitting-the-books dept.”
e8johan writes: “Avaya Labs Research has presented a paper studying the open source process in the cases of Apache and Mozilla. They reach a number of interesting conclusions, the ones I find most interesting are: * Open source projects tend to have a core team of 10-15 coders, producing almost all code. The next layer is a set of developers submitting new features and bugfixes. The next layer is a set of advanced users submitting bug reports. * Open source projects tend to have a lower bug-rate than commercial projects. * Open source projects are generally quicker to respond to user requests. The article also discusses the differences between projects that have always been open source (such as Apache) and projects having a proprietary history (such as Mozilla).“
Purchase Cheap Oem Adobe Flash Professional Cs5 In German
Buy Microsoft Windows 7 Ultimate Sp1 Online Microsoft Office 2010 Visio Premium Online Purchase Adobe Dreamweaver Cs5 Online Oem Adobe Dreamweaver Cs5 In German Online Purchase Microsoft Windows Vista Ultimate Sp1 Online Purchase Discounted Microsoft Office 2008 For Mac Online Purchase Adobe Creative Suite 4 Design Premium Buy Cheap Adobe Photoshop Lightroom 3.2 In German Online Buy Cheap Adobe Photoshop Cs3 ExtendedBuy Cheap Oem Microsoft Office 2004 Pro For Mac
Buy Discounted Oem Adobe Creative Suite 5.5 Master Collection
Purchase Discounted Oem Microsoft Office 2003 Professional Edition Purchase Cheap Adobe Photoshop Cs3 Extended Online Cheap Oem Adobe Fireworks Cs4 For Mac Discounted Oem Adobe Acrobat 8 Pro For Mac Online Purchase Discounted Adobe Creative Suite 5.5 Master Collection Multilanguage Online Purchase Cheap Adobe Premiere Pro Cs5.5 Online