not sure if this is the best place to post, but I didn't really find anywhere else. I run a set of proxy websites. I want to have all my ads on one URL and use the PHP include function to retrieve them. My question is... if the domain I retrieve them from is blocked (i.e. unblockmyspace.com/includethis.php), would the contents then not load? or would this whole site now be blocked? any ideas?
If the domain is firewalled by your ISP it wouldn't load no. You'd be better off doing what Kaizoku has said and using an iframe.
If you have the site for instance http://site.com/ads.php And you have 3 other sites which you want all to have the same ads. http://site2.com http://site3.com http://site4.com If site.com is blocked through someones ISP and your including the ads from site.com onto site2.com, site3.com and site4.com using "include()", then it will still include the file. It won't be blocked. It will still include. (you need to make sure you have wrapper security off though) By using iframes the site will be blocked, as it's a seperate page. I think thats what your asking.
Kieran.in, that's exactly what I was looking for... thanks a lot. And ummm.. what's wrapper security?
I would think it would still work.. your ads are being retrieved server side, before it gets sent out. I'm willing to bet that that's even before the firewall gets a hold of it.