Path


#1

Ok I searched and tried multiple things but I can’t get my domain path right.

I’m using a script for birthdays and what you have to do is put a path to your bday folder.

My bday folder is called bdays so mydomain.com/bdays.
Paths I tried:
/home/username/domain/bdays/


#2

Where is your script running from? If it’s running in your domain.com folder then the path to bday would be bday

If you are in another folder under domain.com then you might need …/bday

Just a thought. Perhaps ftp’ing in might show things a bit clearer.

Normally you’d leave out the dot folder but have you tried it with it in…
/home/.folderhere/username/domain/bdays/


Norm


#3

ITs in a folder under domain.com.
I uploaded it through ftp.


#4

Is it a different name to bday? If it is, then use the double dot method.


Norm


#5

I have found that there are times when you need to use a period before the folder.
ex. if your folder was http://www.example.com/bday then you may need to use ./bday for a relative directory.
This is assuming the script is in the domain folder.
Silk


#6

If you can’t get any of the path examples you’ve been given to work, maybe double check that the folder name is lower case like you entered here–since Bday, bDay, BDAY, etc… aren’t the same.


:stuck_out_tongue: Save up to $96 at Dreamhost with the 96DOLLARSOFF promo code.


#7

Thanks guys, I got it.
You guys were a big help :slight_smile: