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?
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?
../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 :)
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?
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.