Hey.
i'm uploading a file to my server via php and the file name is en email (x@x.com)
and after the upload the files saves as x_x.com
anyone knows why?
is it something in the php.ini or maybe its a code thing?

Thanks in advance.

Member Avatar
diafol

@ not in a valid file name?

i did not understand the question?
not valid where?
i don't have the code of the upload panel.
it may be related to that?

Member Avatar
diafol

I'm pretty sure that @ is not a valid character in a filename.

Both in Linux and in Windows you can have filenames containing @, so that should not be the reason. It's rather the upload module which does some replacement operations on the filenames.