Category Archives: php

PHP DOMDocument: Convert Array to Xml

Recently I start working on an export module to invoice applications. One of them uses a very simple xml structure (simple nodes without attributes etc.) and therefore I wanted to create this xml also in a very simple way: from … Continue reading

Posted in General, php | Tagged , , | 16 Comments

Interesting web developer tutorials and apps

Microsoft SuperViewer Microsoft recently released a small piece of software on which a web developer can test his application in different browsers. Try it; it might come in rather handy as this will maybe become one of the futures most … Continue reading

Posted in General, Languages, php | Tagged , , , , , | 1 Comment

Symfony Forms Framework: Merge 2 forms

Recently I had to create a form to create/update users in our system. Some time ago we decided to save are users in 2 tables. The first table would contain all login information and the second his personal information. This … Continue reading

Posted in Framework, Languages, php, Symfony | Tagged , , , | 33 Comments

Security on websites

Sometimes it’s interesting to protect your web content from the world, and there are different ways (or a combination) to do this: Create a robot.txt file This file is uploaded into the root folder of a website and makes sure … Continue reading

Posted in General, Javascript, Jquery, Languages, php | Tagged , , , | 1 Comment

conversion of dates

I struggled with a bit of code last week, but found a nice solution. The goal was to convert 3 parameters into a date: 1. The day of the week (0 -> 6, 0 = Monday, 1 = Tuesday, 2 … Continue reading

Posted in General, php | Tagged , , , , , | Leave a comment

Windows bug in week numbers

Today is a joyful day as we found a bug in the Windows Outlook Calendar. We are currently working with week numbers and wanted to know what the correct standard was for this subject, so we searched for the ISO … Continue reading

Posted in General, php | Tagged , , , | 2 Comments

Symfony Forms Framework: Change validators at runtime.

Let’s say you have to make a user form with password fields. When you create the user you want the password fields to be required, but on an update the password fields should be optional because you don’t want the … Continue reading

Posted in Framework, php, Symfony | Tagged , , | 1 Comment

symfony 1.3

symfony announced a new release in November 2009 and will be going from 1.2 to 1.3. It’s wonderful that these guys are thinking ahead and keeping us up to date. Why is this important, you ask? Well would you invest … Continue reading

Posted in General, php, Symfony | Tagged , | Leave a comment

Subversion

Let me ask you a few question: When you are working on a project (website, program …), are you working on that folder directly? Are you working directly on the files of the server? Are you working without constant backups? … Continue reading

Posted in General, Javascript, php | Tagged , , , , , | Leave a comment

Jobeet

Symfony, ah we just love the framework… A year ago we started using this php framework and we wrote a post on it a few months ago (read). In 2005 the creators of Symfony wrote a step by step tutorial … Continue reading

Posted in html, php, Symfony | Tagged , , , , | 1 Comment