I'm having a pretty wacky problem on one of my websites that I built, and I don't know if it is a PHP problem or a filesystem problem.
I built a custom shopping cart for a client with a custom back-end program so he could update the products on his site. This is the 6th or 7th site like it I've built, and this is the only one having problems.
For absolutely no apparent reason, at completely random times, the main photo for a random product will completely disappear. I don't see anywhere in the code where something like that could happen.
The photos are added by a script, does anyone know if that could be causing this type of problem? Does anyone know if there is a way to CHMOD a file that is being added by a script?