A comprehensive analysis of adsorption strength, average molecular orientation, and absolute molecular direction for p-nitrophenol at solid-air, solid-liquid, and liquid-air interfaces is obtained from the nearresonant optical second harmonic generation (SHG) from the interface. Perturbation theory calculations of the molecular nonlinear polarizability tensor elements using *-electron wave func...