get_bloginfo('wpurl');
would be the preferred method of getting the base url of your WordPress installation. This always returns the absolute base url for the install where as get_bloginfo('url');
is for the actual blog address of your WordPress install.