Rank: Newbie
Groups: Member
Joined: 2/26/2008(UTC) Posts: 1
|
I need to create a folder based on an ID to upload images to if one does not exist. Need code to modify AspSmartUpload.asp. I am using version 5.0
|
|
|
|
Rank: Member
Groups: Member
Joined: 3/22/2008(UTC) Posts: 13
|
In php : Quote://Create random number $rand = mt_rand(); //Create picture's dir mkdir ("Gallery/".$rand, 0600); $galleryPath = "Gallery/".$rand."/"; $absGalleryPath = realpath($galleryPath) . "/"; //Create thumbnail's dir mkdir($galleryPath."Thumbnails", 0600); $absThumbnailsPath = realpath($galleryPath . "Thumbnails/") . "/";
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.