.php files

This topic contains 6 replies, has 2 voices, and was last updated by Avatar janetb 9 years, 7 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • Avatar
    janetb
    Member
    #146996

    I downloaded what was supposed to be a pdf file to my Desktop, but—to my surprise—it appeared on the Desktop as a .php file! It opens in notepad as gibberish. I don’t know what kind of app is supposed to open a .php file. I wrote the company/website. Basically, they didn’t believe me..:-)….They said the download link was a pdf file, and that it couldn’t download as a .php file—unless perhaps my computer was doing something to convert it….The only other times this happens to me is sometimes when I try to grab a video from the internet—instead of downloading as a .flv file, I got a .php file. Anyone konw what the story is here? Don’t care about the video grabbing problem just now–more curious about why this would happen with a pdf download….

    Thanks,
    J.

    Avatar
    Ossian
    Moderator
    #180417

    Re: .php files

    Have you tried changing the extension to PDF and seeing if it opens in Adobe?

    Avatar
    janetb
    Member
    #261916

    Re: .php files

    Thanks for your prompt response!

    Interesting suggestion….Yes, it worked! What’s the story here? Why did it appear as a .php file? What is a php file and what type of program opens it?

    Maqny thanks,
    Janet

    Avatar
    Ossian
    Moderator
    #180420

    Re: .php files

    PHP is a particular type of web page, typically one generated from a database or involving user input, so it sounds as if the site it not working quite right when it creates the link to the PDF and just gives it as the source php page.

    When you download the file, does the “save as” dialog give you a chance to see the file extension and check it IS pdf?

    Anyway, glad you got it working!

    Avatar
    janetb
    Member
    #261917

    Re: .php files

    It was a Download button which you click on like when downloading a program. It brings up the box that shows you would be downloading “download.php”, and this is also the name that appeared in the file title field of the Save to dialogue. I went back to try it again and found that this is what happens when you let the download run automatically. If it doesn’t come up for you “in five seconds”, you can click a “download manually” link. I tried that and it does bring up the pdf file for download with its proper name….!

    Avatar
    Ossian
    Moderator
    #180421

    Re: .php files

    OK, so a lousy web site!

    Avatar
    janetb
    Member
    #261918

    Re: .php files

    I sent them my ‘findings’ and suggested that they might like to check out their automatic download link…..:-)….

    Thanks for all your help!

    J.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

Register for this Petri Webinar!

Want to Make Your Backup Storage Unlimited & Ready for the Cloud? – Free Thurrott Premium Account with Webinar Registration!

Tuesday, August 27, 2019 @ 1:00 pm EDT

A Scale-Out Backup storage infrastructure is a must-have technology for your backups. In this webinar, join expert Rick Vanover for a look on what real-world problems are solved by the Scale-Out Backup Repository.

Register Now

Sponsored By