Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at

The server at x3.chatforyoursite.com needs to output the following header: Access-Control-Allow-Origin: http://www.example.com Where http://www.example.com is your website address. You should check your settings on chatforyoursite.com to see if you can enable this – if not their technical support would probably be the best way to resolve this. However to answer your question, you need the … Read more

How do I use Access-Control-Allow-Origin? Does it just go in between the html head tags?

There are 3 ways to allow cross domain origin (excluding jsonp): Set the header in the page directly using a templating language like PHP. Keep in mind there can be no HTML before your header or it will fail. Modify the server configuration file (apache.conf) and add this line. Note that “*” represents allow all. … Read more

Error: Permission denied to access property “document”

Accessing and then modifying webpages in iframes of other websites is known as Cross-site scripting or XSS and it is a technique used by malicious hackers to prey on unsuspecting victims. A policy by the name of “Same-Origin Policy” is implemented by browser makers to prevent such behaviour and arbitrary execution of JS code. This … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)