Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - image upload into subfolders
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum Lockedimage upload into subfolders

 Post Reply Post Reply
Author
qosai View Drop Down
Newbie
Newbie


Joined: 27 December 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote qosai Quote  Post ReplyReply Direct Link To This Post Topic: image upload into subfolders
    Posted: 26 February 2009 at 10:06pm

I have created subfolders inside /my_pictures/

something like
my_pictures/2009-01
my_pictures/2009-02
my_pictures/2009-03
my_pictures/2009-04
etc...
 
when trying to upload a picture into a sub folder, it uploads to the parent folder /my_pictures/ instead of the sub folder which I chose
 
is it possible to add into the java script of RTE_popup_image.asp a variable to be returned to main function which adds the new subfolder path to the parent folder ?
 
thanks
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 27 February 2009 at 9:32am
You could try using session variables to pass around the upload path.

Try editing the RTE_setup.asp file and chnage the following:-


Const strImageUploadPath = "my_documents\my_pictures"


To:-

DIM strImageUploadPath
strImageUploadPath = Session("sessionPath") & "my_documents\my_pictures"


Change the part in red to the name of your session variable.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.