fwrite wont make a new file if it contains a question mark? |
fwrite wont make a new file if it contains a question mark? |
allenph |
Mar 3 2012, 06:22 AM
Post
#1
|
Novice Group: Members Posts: 21 Joined: 15-February 12 Member No.: 16,477 |
So there is no need to post code because I know for a fact it works. It is weird I can do an fwrite of my new .php page and it will create a new file for me with !./,\ whatever puncuation you wan't...other than question marks. Kind of strange! anyone know why this is happening?
|
Ephraim F. Moya |
Mar 3 2012, 06:31 PM
Post
#2
|
Advanced Member Group: Members Posts: 167 Joined: 2-September 07 From: New Mexico Member No.: 3,702 |
So there is no need to post code because I know for a fact it works. It is weird I can do an fwrite of my new .php page and it will create a new file for me with !./,\ whatever puncuation you wan't...other than question marks. Kind of strange! anyone know why this is happening? Unix allows almost any char in a file name. A couple have to be quoted. See http://www.cyberciti.biz/faq/linuxunix-rul...irectory-names/ Special characters (except _ and .) are considered VERY BAD FORM in a file or folder name. Randomly making files with strange characters in the name is not a good way to test which work and don't work. |
Lo-Fi Version | Time is now: 19th April 2024 - 11:17 PM |