Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

STOP IMAGES FROM BEING OVERWRITTEN!


Trusten

Recommended Posts

Posted

how do i stop it so that when i upload an image, someone else can't come along and upload an image of the same name, and overwrite it.

 

how do i stop that?

Posted

hmm, could u just chmod them after you upload them?

 

PHP has a chmod command, just make them readable but not writable perhaps?

 

Might cause other problems when you want to delete them tho :)

Posted

don't matter. i can't chmod them anyhow....

 

*frown*

 

 

*cries*

 

besides, i want that only the person to upload them can potentially chagne them.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...