Fixed headers.
Dont log.
For windows PHP instalation.
Stealing code from web, needs some fixes.