How to solve the error “SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.” in IE

I don’t think it’s a good idea to ask your customers to disable this configuration at all. Remember that enabling and making this change does not only apply to your website but to other websites as well. There’s a huge security reason why it is disabled in Internet and Restricted Sites zones by default and … Read more

Google Maps API throws “Uncaught ReferenceError: google is not defined” only when using AJAX

The API can’t be loaded after the document has finished loading by default, you’ll need to load it asynchronous. modify the page with the map: For more details take a look at: https://stackoverflow.com/questions/14184956/async-google-maps-api-v3-undefined-is-not-a-function/14185834#14185834 Example: http://jsfiddle.net/doktormolle/zJ5em/

PHP “php://input” vs $_POST

The reason is that php://input returns all the raw data after the HTTP-headers of the request, regardless of the content type. The PHP superglobal $_POST, only is supposed to wrap data that is either application/x-www-form-urlencoded (standard content type for simple form-posts) or multipart/form-data (mostly used for file uploads) This is because these are the only content types that must be supported by user agents. … Read more