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:

  • Click to print (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • More
  • Click to share on Reddit (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Telegram (Opens in new window)
  • Click to share on Skype (Opens in new window)
Nursing Gear

RSS Latest YouTube Videos

  • Do Nurses Really Need to Know This?
  • This Vein is Going to Roll... Nurse IV Insertion Tips #shorts
  • Nursing Graduation Spring Class of 2022: Congratulations!!
  • 6 Reasons to Become a Nurse #shorts

Recent Posts

  • Sinus Tachycardia ECG/EKG Rhythm Nursing Review
  • Sinus Tachycardia ECG/EKG Rhythm Quiz
  • Crying in Nursing School
  • Desired over Have by Weight Examples Dosage Calculations
  • Tablets and Capsules Dosage Calculations (Desired over Have Method)

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. Copyright Notice: Do not copy this site, articles, images, or its contents without permission.

Important Links

  • Advertise
  • Contact Us

Follow Us on Social Media

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

Get Free Email Updates:

Enter your email address below and hit "Submit" to receive free email updates and nursing tips.

Copyright © 2022 RegisteredNurseRN.com. All Rights Reserved.