Is this a PHP bug or am is there another way?

  • Thread starter Thread starter penguinkadootje
  • Start date Start date
P

penguinkadootje

Guest
Hey, I have stumbled upon a rather odd bug/glitch of some kind.

When I try to use file_get_contents when the filename (note: I'm not trying to get it from a webserver, just local files) contains the ' character it changes it to '. Which is not what I want. Here is the error generated from such a file:

Warning: file_get_contents(C:\Program Files\Croteam\Serious Sam - The Second Encounter\Scripts\Commands\TSR_Local\Data\.-'~'-{-_FIGONA_-}-'~'-.==== YoungScripter.n.dat) [function.file-get-contents]: failed to open stream: No such file or directory in C:\wamp\www\index.php on line 164

Please respons ASAP. Thanks.


PS: I have safemode = Off in my php.ini. I checked, and I double checked.
 
Back
Top