Rank: Member
Groups: Member
Joined: 1/3/2004(UTC) Posts: 4
|
I have edited the entry to the default page to create a folder where the photos will be uploaded to. This is because after the fact, another person will FTP to the site and DL the entire folder based on it's name.
How can I pass the name of the folder to pictureGallery.aspx? It appears to not receive any of the form info. I have edited so the name of that folder goes into the dbase but can't seem to get it to pick up that field to add to the server.mappath
--Dori
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration Joined: 8/2/2003(UTC) Posts: 876
Thanks: 2 times Was thanked: 27 time(s) in 27 post(s)
|
If you need to pass folder name to the action script, you can use either additional form (like author name in the code sample) or pass it through the URL: Code:<param NAME="Action" VALUE="PictureGallery.aspx?foldername=YourFolderName">
To extract this folder name from URL, use QueryString property of the Request object: Code:<%
Dim strFolderName As String
strFolderName = Request.QueryString("foldername")
Response.Write(strFolderName)
%>
Edited by user Monday, February 25, 2008 6:31:00 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Member
Groups: Member
Joined: 1/3/2004(UTC) Posts: 4
|
Worked like a charm!
Thanks
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 1/19/2008(UTC) Posts: 1
|
А что, нет возможности нормально добавить через интерфейс JS объекта?.. У нас сейчас возникает необходимость использовать Image Uploader, и я как разработчик высказал свое недоумение по этому поводу. TRANSLATED: Quote:Don't you have the way to add it using JavaScript API? Edited by user Thursday, January 24, 2008 1:29:34 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
|
Best regards, Fedor Skvortsov
|
|
|
|
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.