$ 0 0 Strings are getting mangled when returned from strchr - eg. <br /> <br /> Examining /main.html should return main but actually returns minn