Archive for the ‘web dev’ Category

SPF fail with wrong IP

Well, I have SPF set up on my domains, or thought I did, but I found GMail was giving the error Received-SPF: softfail (google.com: domain of transitioning X@X.com does not designate X.X.X.X as permitted sender (my domain and IP removed…) The problem being, the IP shown was an older IP I used to have and [...]

JavaScript: Forwarding to another page after downloading

If you have a link to download a file (e.g. a piece of software), you may want to redirect to another page after the user clicks the link, perhaps to gather download statistics or display a message to the user. Setting the window.location in an onclick event for that link does not work, as the [...]