Guillaume

Author


Using postfix with SPF to avoid being flagged as spam

Using postfix with SPF to avoid being flagged as spam

On thing important when you have you own linux box to host a web server is the ability to send email as many services are relying on this. Often mail server receiving these email will flag them as spam because of improper configuration. Here is how I have been able to overcome this issue: Make […]

Delete all WordPress subscribers with simple script

Delete all WordPress subscribers with simple script

At some point you might need to delete all the WordPress Subscribers for some reason, mostly spam users. Here is a quick script to do it. Simply create a file in the root of you server with the following code: Don’t forget to delete the file when done on the server so no one can […]

Redirect PayPal IPN with .htaccess

Redirect PayPal IPN with .htaccess

While working on a customer account, we had to redo the whole membership system to work with a new system and still support the Paypal reccuring billing. However, we had a previous system that was using the recurring billing and relying on IPN set in PayPal to update the membership inside the module. Now that […]

Allow IP bypass htaccess password with Apache

Allow IP bypass htaccess password with Apache

Here is a very quick tip on how to protect your whole site with htaccess password but only allow certain IP. This is very usefull when you are working on a development server and you want only your team to access the site.

Password Protect WordPress Attachments (files)

Password Protect WordPress Attachments (files)

You might have some sections of your Wordpress site that are only accessible for your Wordpress user. Pretty easy to protect the page or post in Wordpress for only the registered user but what about the attachments of the post/page (files, images)?

Pseudo Ajax loading effect with Flash and JQuery

Pseudo Ajax loading effect with Flash and JQuery

You want to avoid traffic bounce because of long page loading delay? Here is a quick solution if you want to simulate an AJAX call on long loading forms using a flash animation file and JQuery call.