Open a file with a weird file extension using php -


I have found the file with a strange file extension (.dta). When I try to open it with FOPN (), I get the following error:

  Failed to open the stream: HTTP request failed! HTTP / 1.1 404 not found  

This file stays on the server, and I do not want to change its extension. I can copy the file, save the copy as .txt, go into it and delete it, but I was wondering if there is any better way.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

Powerbuilder 12.1 and DataWindow in Design vs Debug and Executable/Runtime -

css3 - HTML Block Anchor element only half clickable in Chrome -