PHP

Generate technorati tag with Interwiki

One reason that I like Post2Blog is the way of link creation, especially tag link, e.g. Technorati and Wikipedia. This functionality is not available in Firefox yet or Drupal yet. So I have to find a good replacement and finally I found Interwiki module. Anyway, this module doesn't support Technorati tag in nature but there is a patch to make it support rel attribute. However, that patch can't be applied against latest code in CVS due to new form api in Drupal 4.7 and lots more (Interwiki is a bit old). Luckily, everything is opensource so I patched them manually. My patch is posted here.

Web Application and SELinux

One of my friend would like to set up a personal web for controlling BTQueue backend through web interface using PHPBTque. It is a good idea in case of you don't like ssh and command line. Unfortunately, he got some weird problem like "permission denied (13)". This error message was not ejected by BTQueue for sure. So where it came from is the key to fix this problem. Since the system he is running is Fedora Core 5, I guessed it should be SELinux and it is. SELinux is great in security but it is very difficult and too complicate to configure in general purpose server. Usually, I disabled SELinux in my all FC instances. By the way, other may like SELinux enough to configure SELinux for maximum security.

การติดตั้ง saprfc สำหรับ PHP เพื่อติดต่อกับ SAP R/3

การพัฒนาเว็บสำหรับ SAP R/3 สามารถทำได้หลายช่องทาง PHP ก็เป็นช่องทางหนึ่งซึ่งง่ายต่อการพัฒนามากทีสุด ใช้เวลาน้อยที่สุด การเขียน PHP เพื่อติดต่อกับ SAP R/3 มักนิยมใช้เพื่อการสร้างต้นแบบของเว็บเพื่อนำไปพัฒนาด้วยภาษาอื่นเช่น จาวา ต่อไปหลังจากที่ระบบเข้าที่แล้ว เอกสารนี้จะสมมติว่าเครื่องที่ใช้พัฒนาเป็น MS Windows XP/2003 เนื่องจากการใช้งานบนระบบปฏิบัติการอื่น เช่น Linux นั้นต้องมีไลบรารีของ SAP เท่านั้น

New ipdb.mysql

It seems I forgot about ipdb.mysql during last upgrade so I got a comment about my mistake. To fix this problem, I will upload as an attach file with this post so you can get it anytime you want. I don't commit it to the CVS because of its size. It might take your updating into big trouble for diffing 5MB text file.

XUL-based Drupal Manager: Progress Update

Since I am a menter in , I would like to update what I and my student was done last month. My student is working hard on developing XUL-based Drupal Manager project. That's a short description. For a long one, he is developing a next generation of graphics user interface based on XML technology, aka XUL, proposed by Mozilla. XUL is a candidate for Web 2.0, another one is AJAX. AJAX seems to be better because it runs on most browsers while XUL can only run on Mozilla-based browsers. However, in other point of view, there is a possibility to run XUL on any XUL engine. Some day, XUL engine might be integrated into OS like Java or .Net.

New Professional Themes for Drupal

There are so many criteria to help choosing a CMS. However, I would say that the most important part is impression at the first glance. If you are a developer or designer, you don’t really care about look and feel because you are able to modify it yourself. In fact, you might suppose to modify it to fit your imagination so you choose which is better for modification. Anyway, the situation is totally in most enterprise. One with manager role chooses what he/her want. They usually focus on what they see at first signt. Yes, it’s just look and feel. They don’t care about how good it is.