Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Gufo  
#1 Posted : Wednesday, November 08, 2006 7:00:24 AM(UTC)
Gufo

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:)
Alex Makhov  
#2 Posted : Wednesday, November 08, 2006 12:59:37 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
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

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
Gufo  
#3 Posted : Wednesday, November 08, 2006 3:22:05 PM(UTC)
Gufo

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
Alex Makhov  
#4 Posted : Wednesday, November 08, 2006 4:25:40 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

So you have to check what value is in $_SESSION['Aurigma']) variable in your case.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Similar Topics
Per user different upload folder on server (Aurigma Up (iOS/Android))
by Marvin 11/28/2012 5:19:37 AM(UTC)
Per user different upload folder (Aurigma Up (iOS/Android))
by Albertvdmeulen 12/3/2011 8:44:44 AM(UTC)
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.