PDF and PHP FIles

When trying to download a PDF file on line, I am getting a PHP file in the download folder. I can't open the PHP file. Can somebody tell me what a PHP file is and how I can read it?

Macbook Pro, Mac OS X (10.5.5)

Posted on Nov 18, 2008 10:18 AM

Reply
4 replies

Nov 18, 2008 1:02 PM in response to StanCT

Does it occur from all sites which contain pdfs? or one in particular ?

Have you tried another browser?

It sounds like its a mistake on the server that is providing the PDF rather than you.

PHP is a server side scripting language, apache is a webserver. (just to clear up another post). PHP is a language you can read in a text editor (prior to it being parsed by the server at which point it outputs what you tell it (normally HTML (so your browser can read it) or some other item such as a JPG,TIFF,GIF (images) or in this case a PDF ).

Downloading a php file will generally contain an error if you load it up in a text editor.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

PDF and PHP FIles

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.