in reply to Re^2: could not open a physical file using href
in thread could not open a physical file using href

That's not the code you gave us originally.

Since this is a CGI script, I'm assuming it's output is being fetched using HTTP. (HTTPS is the next most likely candidate. Consider HTTP and HTTPS interchangeable.)

href takes a URL for value. I've never heard of the "d:" URI/URL scheme either. Your URL is unsupported or malformed.

Let me know which one it is, and I'll help you further.