Simple...
Por favor = by favor (more commonly used as PLEASE)
De favor = as a favor
For example if you were to say: Mike has been mowing the lawn for me as a favor <this is where "de favor" would apply.
Por favor can also be used in a few different ways but most often as PLEASE.