…so let’s say you have a site, that has two versions, a.throat-punch.com and b.throat-punch.com. And Apache uses a cookie to determine which version you should be viewing, and sends a 302 redirect if you’re on the wrong domain. Now let’s say you want to access a page on this site from an <iframe> from an […]
update: Jay Williams has flushed this out to be a lot more useful. Check out his rendition here. …so I wrote (what I think is a) clever little function (well, two functions) to take a complex php variable and turn it into a json-ized string, ready to be passed back to javascript. It works on […]