Forum Moderators: goodroi
text/plain (you must set it specifically with an HTTP header as PHP outputs text/html by default) then you'll be fine - the spider will only see the output not the underlying code. I have been using PHP-generated (cloaked) robots.txt files for a while with no ill-effects.