on-internet
← Community

PHP cURL script works on one system, fails on another, but can't identify the difference

Stack Overflow ·

I have some code which validates that a non-profit is in good standing with the IRS by looking up the organization's Employer Identification Number (EIN) on the IRS website's Tax-Exempt Organization Search page using page scraping via PHP cURL. Recently it began to fail with 403/Forbidden errors. I re-wrote it to adapt to changes on the IRS website. Now I have code that works as expected on my development system(s) while the identical code (verified with "sum" on the two files involved) fails with a 403 error on our production system, but I'm stuck on identifying the difference causing the pro

Comments

Sign in or sign up to comment and upvote.

No comments yet.