Fixed ip references in php files