Rank: Member
Groups: Member
Joined: 10/9/2006(UTC) Posts: 8
|
Dear Alex, can you tell me a way to change upload directory? I try changing $galleryPath variable with PHP but something was wrong...I try with additional hidden form but waswrong too. I've a PHP page which creates a variable with the name of folder, and then creates the folder . But how can I set the uploader to upload images in that folder? Thank you very much:)
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello, First, read the following article: PHP Samples. It describes how to set up the Image Uploader samples correctly. It looks like there is some problem with permissions or something. Then check if all the script files (index.php, upload.php, gallery.php) are correctly changed to work with your folders. Edited by user Wednesday, October 29, 2008 2:29:09 AM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member
Groups: Member
Joined: 10/9/2006(UTC) Posts: 8
|
I think that permissions are ok, because if I change $galleryPath manually (for example $galleryPath="Aurigma") everything works fine. Bu if I want to change $galleryPath dinamically, (for example $galleryPath=$_SESSION['Aurigma']) something goes wrong... So,is there a way to chenge the upload path dinamically with php? Thx a lot
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello,
So you have to check what value is in $_SESSION['Aurigma']) variable in your case. |
|
|
|
|
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.