Log in

View Full Version : Helpppp



Drugs
10-08-2006, 10:34 AM
You know normally yeah, say your in the folder /public_html/forum you could put in a hyperlink /images and it would go to /public_html/forum/images yet i need to go a directory back in a sort of way so theres a folder called shout and in that folder there is a folder called admin but theres a file in the admin folder that needs to write to a folder in the shout folder, i need to know how i direct it a folder thats in the directory before this one.

If you get my drift.

Colin-Roberts
10-08-2006, 10:38 AM
http://www.pixelresources.com/shout/filename.w.e

Drugs
10-08-2006, 10:40 AM
That don't work it won't write to it when using a URL.

reindeer.
10-08-2006, 10:41 AM
/forum/shout/filename

:Blob
10-08-2006, 10:43 AM
So for instance, your in forum/images/style

If you want to get back to forum, i think you would use <a href="../forum"></a>

reindeer.
10-08-2006, 10:48 AM
If it was an Image you'd put
<img src="/forum/shout/filename"></img>
so just insert /forum/shout/filename.

Tomm
10-08-2006, 10:48 AM
Say you are in /file1/file1/index.php and you wanted to link to /file2/file2/index.php you would use <a href="../../file2/file2/index.php">Click here to go to file2!!!</a>

Drugs
10-08-2006, 10:50 AM
Foaly then it would think that forum was in the folder i am already i think blob is right

Want to hide these adverts? Register an account for free!