Posted by Bartosz Wegrzyn on 05/26/05 03:58
I am using this code to move one picture to my server.
Part of the code:
if ($pic_size > 0) {
mkdir("$dir/$date", 0777);
$upload_file = system("/bin/cp $pic $dir/$date/big$fname", $retval);
$convert = system("convert -scale 320x240 $pic
$dir/$date/small$fname", $ret);
$convert = system("convert -scale 160x120 $pic
$dir/$date/thumbnail$fname", $ret);
if ($retval==0) {
"
The $pic I take from the form.
How can I move whole folder instead of one file?
Thanks
[Back to original message]
|