Category Archives: Programming

Encrypt & Secure Your Files Using vi Editor

Do you know that you can encrypt your source code files and other text files using vi editor? Isn’t vi editor wonderful. It is very simple. While creating new file which you intend to encrypt leisurehours@wordpress-laptop : ~ $ vi … Continue reading

Posted in Linux, Programming, Tips & Tricks, Ubuntu | Tagged , , , , , | 2 Comments

XML Message Forum in PHP & XML

I had coded this message forum as part of an assignment. This is a really very simple message forum using only PHP and XML and no database required. It just illustrates the concepts of XML XSLT DOM XPATH You can … Continue reading

Posted in Programming | Tagged , , , , | Leave a comment

Using xsl:value-of inside an html tag

I was working on an xml assignment when I came across this problem. While writing xsl sheet for an displaying an xml file , I had to use <xsl:value-of > element inside an html tag or any other tag. But … Continue reading

Posted in Programming | Tagged , | Leave a comment

Maintaining Indentation while creating XML with DOMDocument in PHP

I had to encounter with PHP and XML while working on an assignment. I had to create an XML document using PHP DOM . The problem was that XML file which was being created was not being properly indented and … Continue reading

Posted in Programming | Tagged , , | Leave a comment