In web or desktop programming/command-prompt use, we often come through such situations where we have to use relative/absolute paths. Is there are any differences between the notation “./” and “/” ? ./ Yes, there are! When you use “./” we mean an relative path. Suppose, you are in the location http://www.somedomain.com/some_directory/index.html Now, if you want […]
Monthly Archives: December 2009
Usually, .tar.gz or .tar.bz2 files are compressed files (just like zip files in windows). so, first you need to extract the contents of the .tar.gz file. Extract a .tar.gz or .tar.bz file: Right-click on the file and select Extract. Optionally, you can extract using a terminal: .tar.gz files: tar xzvf filename.tar.gz .tar.bz2 files: tar xjvf […]
This post is not updated any more, and has been moved in out new blog! You can visit the UPDATED post here.
To generate HTML Pages by PHP, we need to echo certain HTML tags, like <head>,<html>, external javascripts, css, <meta> tags blah blah blah…. it’s boring to print these tags each time you create a HTML page just to display a short message or short body. So I’ve created a template called html.php, you can include […]