Update: For some reason the server side script had Unicode characters and when I saved it through notepad it switched it to ANSII and worked fine. I'm not sure how the Unicode stuff got in there but now it's working. Hopefully this post will help someone (most likely me) in the future.
I'm getting the CORS error despite the fact that I have the correct headers in place. This was working as of a month ago and nothing has been changed on my server or client side code.
Server Side
<?php
header('Access-Control-Allow-Origin: https://mywebsite.com');
header('Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS');
header('Access-Control-Allow-Headers: Content-Type, Content-Range, Content-Disposition, Content-Description');
header('Access-Control-Allow-Credentials: true');
Client Side error
XMLHttpRequest cannot load https://serverside.com/serversidecode.php. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://mywebsite.com' is therefore not allowed access.
The server side code runs completely through but will not send back success data to my client side server.