Below directory question

Reply

Join Date: Aug 2009
Posts: 175
Reputation: Graphix is an unknown quantity at this point 
Solved Threads: 35
Graphix's Avatar
Graphix Graphix is offline Offline
Junior Poster

Below directory question

 
0
  #1
Sep 30th, 2009
How do you acces a folder beneath the current folder?

The upload script is at:

htdocs/mysite/management/upload.php

and i want the files to be uploaded at:

htdocs/mysite/images/

What should the directory be?
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 1,538
Reputation: ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light 
Solved Threads: 256
Sponsor
ShawnCplus's Avatar
ShawnCplus ShawnCplus is offline Offline
Code Monkey

Re: Below directory question

 
0
  #2
Sep 30th, 2009
../images/ The .. means up one directory, so ../images/ really says htdocs/mysite/images/ . It would probably be better to use the absolute path but you haven't posted one so I don't know you're directory structure
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 175
Reputation: Graphix is an unknown quantity at this point 
Solved Threads: 35
Graphix's Avatar
Graphix Graphix is offline Offline
Junior Poster

Re: Below directory question

 
0
  #3
Oct 1st, 2009
Perhaps i was a bit unclear

I upload my files at:

/public_html/

And my upload script is at:

/public_html/management/upload.php

And i want the files to be send to:

/public_html/images/

Better now?
Reply With Quote Quick reply to this message  
Reply

Tags
beneath, directory, folder

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 916 | Replies: 2
Thread Tools Search this Thread



Tag cloud for beneath, directory, folder
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC