N00b Question...PHP Files Not Saving Correctly

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
trevor123
Forum Newbie
Posts: 1
Joined: Sun May 10, 2009 9:42 am

N00b Question...PHP Files Not Saving Correctly

Post by trevor123 »

Hey guys.

I have Crimson Editor. For some reason everytime I create a simple php file, it saves as a Microsoft Digital Image Document. I have checked my php codes and I know that they are right.

So this has to be the reason I can't upload php files to my server.

Can you guys help? How do I get rid of that file extension? (if that truly is the problem)

I appreciate any help.
Defiline
Forum Commoner
Posts: 59
Joined: Tue May 05, 2009 5:34 pm

Re: N00b Question...PHP Files Not Saving Correctly

Post by Defiline »

You'd better use
http://notepad-plus.sourceforge.net/

If you want to change the extension (save as a PHP file):
Open a folder -> Service -> Folder Properties -> View -> (uncheck) Hide extension for known types of files.
Attachments
hide.png
hide.png (27.79 KiB) Viewed 67 times
Post Reply