Valor Corporation API Inventory Check with PHP

Working with XML request via PHP can be pretty easy with the CURL functions built into PHP and make complex tasks seamless. We recently had a client that operated a retail site that need to check their distributors inventory levels consitantly through out the day and update their Magento shopping cart software inventory levels. It was a simple solution with some quick PHP implementation.