• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

php files rendered as htm files........why??????

LEGEND ,
Jan 09, 2024 Jan 09, 2024

Copy link to clipboard

Copied

Does anyone have any sensible explanation/suggestion as to why some developer would create php files then get the server to render them in the browser with a completely different name/format and the .htm extension?

 

Example: holiday_destinations.php gets shown in the browser as HolidayDestinations.htm

 

One would assume a sensible developer might well be looking for 'HolidayDestinations.htm' on the server to make changes to the file, but it's not there, along with many other re-named files, lol. 

 

Apart from wanting to put themsleves in the loony asylum, or anyone else for that matter trying to work out what is going on, is there a sensible reason?

 

 

Views

171

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 09, 2024 Jan 09, 2024

Copy link to clipboard

Copied

A well-meaning, but ultimately misguided, sense of "make it pretty for visitors" would be my only guess.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 09, 2024 Jan 09, 2024

Copy link to clipboard

Copied

But it's not 'pretty' that would most likely be without the .php or .htm extension. Just seems completely smoke and mirrors to me, in some kind of warped effort to be as confusing as possible, for anyone else who would dare to consider managing the files. Of course the developer who did this has now retired I'm informed, leaving a bag of pus behind on the clients doorstep, for someone to try and clean up.........good luck with that. This is the problem these days, poor useless developers who either use a complex workflow for something really simple or just don't know what they are doing through lack of knowledge. It's freaking difficult to tell given the myriad of crap workflows introduced over the last decade or so.

 

Anyway thanks for confirming you think it's totally misguided too.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 09, 2024 Jan 09, 2024

Copy link to clipboard

Copied

I am with @Jon Fritz  on this.

 

@osgood_ , is this a method to keep this Community lively by reporting someone else's quirkiness?

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 10, 2024 Jan 10, 2024

Copy link to clipboard

Copied

quote

I am with @Jon Fritz  on this.

 

@osgood_ , is this a method to keep this Community lively by reporting someone else's quirkiness?


By @BenPleysier

 

No not really, l cant help myself when something which should be so simple is made so complex, it helps no-one in my opinion, neither the client or anyone whose task with updating files once the original developer has gone awol. Developers have a responsibility to clean up after them, sadly the majority only think short term.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 09, 2024 Jan 09, 2024

Copy link to clipboard

Copied

I'm guessing they read some "beautify advice" on the Internet that told them to rewrite URLs.

 

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 10, 2024 Jan 10, 2024

Copy link to clipboard

Copied

LATEST
quote

I'm guessing they read some "beautify advice" on the Internet that told them to rewrite URLs.

 

By @Nancy OShea

 

If only they where pretty urls.............changing .php to .htm really solves nothing if that was the ultimate goal.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines