Let H0 be an ideal that lives inside P. Let H1 be the conductor ideal that drives g into H0. This is sometimes denoted [H0:g]. Of course H1 includes all of H0, and since g generates H0, g*H1 = H0. Since g lies outside of P, H1 lies in P. Let H2 = [H1:g], let H3 = [H2:g], and so on.
The ascending chain cannot continue forever, so say H6 = H7. Now gH7 = H6 and gH6 = H5. This forces H6 = H5, even though H6 is larger than H5. The only way around this contradiction is to assume H0 = H1. In other words, gH0 = H0. Multiplication by g maps each ideal in P onto itself.
Next assume R is a noetherian integral domain. Select g and P as above. Let z generate a principal ideal inside P. Thus gz generates z, or gxz = z, making g a unit. This is a contradiction, hence there is no prime ideal strictly between 0 and g*R.