How do one go about opening a file in php by using the resources made available on a system.
Take for instance that after getting the header content information of a file, one discovers that the file is a word document, or a pdf file, how do one use a php available functions to get to alert the system to open the file based on the type of file you are dealing with?
erabxes 0 Newbie Poster
Recommended Answers
Jump to PostI like the way how one ask his question. He reminded me of the Bicentennial Man my favorite movie when I was a kid.
To answer one's question, one should find the extension of the file and then based on the file extension one should execute a function to do …
All 3 Replies
veedeoo 474 Junior Poster Featured Poster
mattster 195 Practically a Master Poster Featured Poster
steelbrain 10 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.