Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7958259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:23:37+00:00 2026-06-04T04:23:37+00:00

I went to edit this PHP file – it’s supposed to generate those captcha

  • 0

I went to edit this PHP file – it’s supposed to generate those captcha security images on contact forms – the images werent working, so I was going to see if there was a broken path or something i could fix simply.

But when I opened the file it looked like this:
http://mydomainsample.com/explosion/screenshots/Screen%20Shot%202012-05-17%20at%209.34.14%20AM.png

complete gibberish.

Is it possible this happened somehow while downloading the file from the server? I did not have ftp access to the site originally – we got control of the domain and transferred it from one host to another.

I used site sucker to backup the site before transferring, but it downloads php files as html files. you end up with filename.php.html.

in the past this has never turned the php into incomprehensible gibberish, so i dont understand why it did now.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T04:23:38+00:00Added an answer on June 4, 2026 at 4:23 am

    The problem is, you cannot use programs like “site sucker” to get PHP files. This is because when you get a PHP file from a URL, the file is executed, and you’re getting the output of the script. That’s why you get .php.html.

    It doesn’t “turn the php into incomprehensible gibberish”, the server runs the script and you’re getting the output. Most of the time the output is HTML, which you can open as text. In this case, the script’s output is a PNG file, thus why you see “gibberish”. Rename the file to .png, then you’ll see the image.

    You need to get FTP access in order to get the PHP source.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a PHP script which reads from an xml file to generate a
I followed this steps: What I did is edit this file: C:\Windows\System32\drivers\etc\hosts I added
I went to a PHP job interview, I was asked to implement a piece
How to edit my Excel dropdown list ? I went to Data -> Validation
I am using this webkitdotnet in my C# project. It all went well until
I had a bug in my code that went like this. char desc[25]; char
EDIT The format in the .csv excel file for the date was 15-12-2011 and
So I’ve been working on this project at work where I’m coding a php
Can anybody tell me what this does? RewriteRule .* .main.php [QSA,L] From what I
I went to download SharpZipLib assemblies but it looks like its not on SourceForge.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.