0

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?

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by Graphix
0

../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 :)

0

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?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.