file uploading
Posted: Wed Apr 21, 2004 3:11 pm
how can i change what directory I want to upload to
www/admin/ where php page is
www/admin/images where page saves pics to now
www/images/ where i want to save it to
Code: Select all
$parts = pathinfo($img1_name);
@copy("$img1", "/images/$stock_num.$partsїextension]")
or die("Couldn't copy the file.");www/admin/images where page saves pics to now
www/images/ where i want to save it to