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.

Recommended Answers

All 5 Replies

Member Avatar for 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 for 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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.