A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$subtype

Filename: models/page_setup.php

Line Number: 15

saila.com: Can I have punctuation in my file names?

Jump to Content

Welcome to the beta of the new saila.com. Send in your bugs.

Can I have punctuation in my file names?

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: continue

Filename: views/article.php

Line Number: 17

You can use some but not all. Like spaces, inserting non-alphanumeric characters into a file name could cause problems for browsers, servers, or the user.

Avoid commas, periods (except when preceding the extension), as well as: <, >, (, ), {, }, [, ], |, \, ^, ~, # (if it’s not a fragment identifier), and % (if it is by itself). If these must be used within a URL, they should be encoded.

Safe characters to use in files not produced by a database include the underscore and hyphen. There are some reserved characters that should not be used: ;, /, ?, :, @, =, and &. If you link to a URL with an ampersand (&) replace it with &amp; (or &#38;) so it will validate in the future—its required in XHTML.

Category: Web Design

Topic: Web


Jump to navigation