Quote:
Originally Posted by photon
Ah yes CORS...
Cool thanks I'll take a look. I don't think vBulletin has a a simple proxy script, but that's a smart solution creating a separate php script to do that proxying.
|
The proxy script may need to be modified. The line
PHP Code:
curl_setopt($curlSession, CURLOPT_SSL_VERIFYHOST, 0);
might need to be set to 2 instead of 0. I set it to 0 (and also added the previous line for VERIFYPEER) because I wasn't using https on my local environment, and adding these allowed the proxy to work properly - otherwise it was looking for a cert which I didn't have set up.
Wish I could be more specific, but I'm not a php guy, so was trying to cobble together what I could.
Good luck - I hope you get it working!