views:

66

answers:

1

Hello all,

I save a file with part of the filename as the session_id using PHP, like this:

$newFileName = 'upload_160687_'.session_id().'_160687_'.$originalFileName;

I then save the filename as a string using PHP in the DB and it looks like this:

upload_160687_l4eef6nqlekhbirv2pvmuf5660_160687_Apple_Microsoft_desktop1-1.jpg

However, when I look in the filesystem, that same file is saved as :

upload_160687_41d99tblerr1tr6qq3n854jt05_160687_Apple_Microsoft_desktop1-1.jpg

You can see the difference, but what the hell is the reason????

Thank you for any help!

+1  A: 

Can we confirm & close the question and mark it up to the FireFox session_id quirks due to its single shared process?

Tim