\documentclass[12pt,a4paper]{report}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{fancyhdr}
\usepackage{listings}
\usepackage{abstract}
\usepackage{graphicx}
\usepackage{xspace}
\usepackage[italian]{babel}
\usepackage{dsfont}
\usepackage{color}
\usepackage{float}
\usepackage{longtable}
\usepackage{tabbing}

\author{Germano Rocco}

\pagestyle{fancy}\addtolength{\headwidth}{14pt}
\renewcommand{\chaptermark}[1]{\markboth{\thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection \ #1}{}}
\cfoot{}

\rhead[\fancyplain{}{\bfseries\leftmark}]{\fancyplain{}{\bfseries\thepage}}
\lhead[\fancyplain{}{\bfseries\thepage}]{\fancyplain{}{\bfseries\rightmark}}

\begin{document}

\input{Frontespizio}
\input{clear}
\tableofcontents
\input{Intro}
\input{DBLP}
\input{Relazionale}
\input{DBLPConverter}
\input{Ontology}
\input{Bibliography}

\end{document}
