I found a small PHP cart system and it uses the following line of code to upload pictures of products (on the admin side) :

exec("mv $image '$WebRoot/images/".$ItemID.".jpg'");

For now, it doesn't do anything and I can't find references or help on this. Is there something special required for this to work? Do I need to tell our hosting service to modify something in order for it to work? I don't get errors or anything weird when using this, it just doesn't do it's work... Thx!