note 68745 added to tutorial.firstpage
| From: | HobbyTech at osu1 dot php dot net | Date: | Wed, 09 Aug 2006 05:12:57 +0000 |
| Subject: | note 68745 added to tutorial.firstpage | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-115715@lists.php.net to get a copy of this message | ||
On Windows, if file extensions can be hidden, you may not SEE that you have accidently saved a file
as 'Text Documents' (and that the browser has added '.txt' to the end of your
'page.html', resulting in 'page.html.txt'.) You still see only
'page.html' even though it's really 'page.html.txt'. Also, if you try to
rename it, it won't work because it's not overwriting the '.txt' part and not
changing the filetype.
By the way, the hiding of file extensions is ALSO a way malicious crackers get you to click on an
executable virus, fooling you into thinking it's an innocent document. You should always be
able to view the extensions of all files on your system.
To view all extensions, open Internet Explorer. Click the 'Tools' menu, then 'Folder
Options'. In the dialog box that appears, click the 'View' tab. In the 'Advanced
Settings Box', scroll down to 'Hide extensions for known file types' and click the
checkbox next to it to REMOVE THE CHECKMARK. Click the 'Apply to All Folders' button near
the top of the dialog. This may or may not take a few minutes. Then click the 'OK' button
to close the dialog.
Now, if something accidentally gets saved as the wrong filetype, resulting in another file extension
automatically appended to the one you typed, you will see it and be able to rename it.
Of course, a badly-named file can be renamed simply by using 'Save As' and saving it as
the proper filetype, but if you can't see the file extension, you may not know that is the
problem. Also, renaming is easier than opening, resaving as a new filetype, and then deleting the
old version!
----
Server IP: 64.71.164.2
Probable Submitter: 66.189.64.240
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/tutorial.firstpage.php
Edit -- https://master.php.net/note/edit/68745
Del: integrated -- https://master.php.net/note/delete/68745/integrated
Del: useless -- https://master.php.net/note/delete/68745/useless
Del: bad code -- https://master.php.net/note/delete/68745/bad+code
Del: spam -- https://master.php.net/note/delete/68745/spam
Del: non-english -- https://master.php.net/note/delete/68745/non-english
Del: in docs -- https://master.php.net/note/delete/68745/in+docs
Del: other reasons-- https://master.php.net/note/delete/68745
Reject -- https://master.php.net/note/reject/68745
Search -- https://master.php.net/manage/user-notes.php