Problem setting up paypal verification using IPN

The IPN library that the tutorial recommends is several years old and no longer maintained. Someone has forked and updated it here: https://github.com/WadeShuler/PHP-PayPal-IPN/

You might want to download that before going any further to ensure you’re not running into any bugs that have already been solved.