Google and Web Page Names — Part 1
Google’s spider, a small program that captures your web pages, comes to your website, selects one of the page from your website and saves it in a temporary database. Google’s spider save the URL, the web address of your web page, and the text content of your web page. Google does not store any of the graphics, photos, logos…
Once the web page is crawled by Google’s spider, depending on the page rank of your website, your web page will be indexed and ranked and eventually be placed in the search results. One of the criteria for the ranking is the URL, the full web page address.
You will get -1 point for foto-biz.com/dokuwiki?id=076598723T95827, but with <http://www.foto-biz.com/seo/urls-part-1.html> you will not get penalized.
According to SEO for bloggers from Matt Cutts <http://www.mattcutts.com/blog/seo-for-bloggers/> who’s the "head honcho of the web spam department" at Google aka Search Quality Control, you should have the URL paths with keywords in them. Use dashes (hyphens) are preferred over underscores to separate words. URLs with no space between words is a bad idea because Google doesn’t understand them so you will be penalized.