Registered Nurse RN

Registered Nurse, Free Care Plans, Free NCLEX Review, Nurse Salary, and much more. Join the nursing revolution.

  • RN
    • Nursing Clinical Skills
  • Nursing Videos
  • Blog
  • Nursing School
  • Nursing Care Plans
  • Nursing Quizzes
  • Nursing
  • Nursing Jobs
  • NCLEX Review
  • Store

Saving a PHP File in Notepad Without .txt Extension: (Save as PHP)

The other day I was editing a simple PHP file in notepad for one of my blogs.  So I saved the file as example.php.  As I went to save it, it automatically converted the save format like this:

example.php.txt

At first I didn’t notice this, and when I uploaded the file to my server, the page wasn’t displaying properly. So I went back to check, and sure enough the file I uploaded to the server had the .txt extension. This is sometimes frustrating, because notepad does this automatically in most cases when you save something, and it isn’t immediately visible.

So I just wanted to share a quick way to ensure it saves your files in the format you wish to save them: Use quotations. This is really quick and easy to do. Whenever you go to save the file, just enter the name in double quotations. Then click save, and it should save it in the format you chose. So for example, you would enter this:

“example.php”

Another way to do this without quotes is to select the [all file formats] options before you click save. If you do that, it should recognize the PHP file format and save it without adding the extra .txt extension at the end (no quotations needed).

This should do the trick and allow you to save your notepad in the appropriate format. Best of luck to you!

Please Share:

  • Print (Opens in new window) Print
  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Pinterest (Opens in new window) Pinterest
  • More
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Telegram (Opens in new window) Telegram

Nursing Notes

Nursing School Bundles Notes by Nurse Sarah

RSS Latest YouTube Videos

  • Blood Draw (Phlebotomy Venipuncture Procedure) Butterfly Needle Made Simple #shorts
  • How to Draw Blood for Labs Nursing: Phlebotomy Venipuncture Blood Collection Butterfly Needle
  • Manual Blood Pressure Practice with Korotkoff Sounds #shorts
  • NCLEX Review Question: Infection and Safety Control (Fall Risk) #shorts

Recent Posts

  • Order of Draw Phlebotomy Quiz Questions
  • Insulin Types Explained: Onset, Peak, Duration (Ultra-Rapid, Rapid, Short, Long-Acting)
  • NCLEX Practice Questions: Infection Control and Safety
  • Female Pelvic Types: Gynecoid, Android, Anthropoid, Platypelloid
  • Insulin Types Quiz for Nursing Students (Onset, Peak, Duration, Mixing & IV Use)

Disclosure and Privacy Policy

This website provides entertainment value only, not medical advice or nursing protocols. We strive for 100% accuracy, but nursing procedures and state laws are constantly changing. By accessing any content on this site or its related media channels, you agree never to hold us liable for damages, harm, loss, or misinformation. See our full disclosure and privacy policy.

Important Links

  • Advertise
  • Contact Us

Follow Us on Social Media

  • Facebook Nursing
  • Instagram Nursing
  • TikTok Nurse
  • Twitter Nursing
  • YouTube Nursing

Copyright Notice

All images, articles, text, videos, and other content found on this website are protected by copyright law and are the intellectual property of RegisteredNurseRN.com or their respective owners.

Copyright © 2026 RegisteredNurseRN.com. All Rights Reserved.