Zend + Wamp = Cant use curl/fput for a url locally
- by bluedaniel
Ive got a page in Zend all set up that will for now just echo "Hello", this address is at http://dev.local/hello and works when visiting in the browser.
However when I try to use curl or file_get_contents from a script in my zend 'public' folder I get a 500 Internal error message.
UPDATE
Its failing because my application tries to set the langauge based on the browsers default language, when using headers like I have below, how do I add this locale?
"User-Agent: XXXXXXX/2.0\r\n" .
"Accept: */*\r\n" .
"Accept-Charset: utf-8;\r\n" .