On Apr 25, 2006, at 4:13 PM, Hans-Georg wrote:

Am 25.04.2006 um 23:56 schrieb Jonathan Johnson:

But all files, Sven and I speak about, must have by definition a file extension.

No, they don't.

So main.c and main are both valid c files? I don't think so.

Without looking at the contents you cannot tell
And they COULD be C files. CW will let you set up the mappings any way you want and you could let no extension to be compiled as a C file

In the Finder, select the extension, and press Delete. It doesn't have one anymore. If the file has a MacType, it'll still be associated with the file, and can still be used to help the OS figure out what to use to open the file with.

So they will be opened with TextEdit if the have a filetype. 90% or more of the files I get doesn't have one. No problem, the Finder will ask you for a program after deleting the extension.

What is your preferred solution for me writing a php editor?

A PHP file is a TEXT file.
It just happens that the PHP runtime happens to require a ".php" extension.

I'd say always write files that way, but read whatever the user asks you to open if it looks like it could be a PHP file (extension or not)

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to