tnl2k7
Banned
- Messages
- 3,131
- Reaction score
- 0
- Points
- 0
Just wondering if you prefer to use relative paths or fixed paths when designing websites, and whether you use fixed paths in PHP for includes/requires/fopens and stuff. It came to me when I was trying to move WordPress on my test PC to my x10Hosting account and discovered it uses fixed paths for everything :hahano:. I'm just gonna do a resinstall and put a few useful posts up, my blog was abandoned and full of crap anyway lol.
But anyway, relative or fixed paths?
I tend to use relative paths where possible because it's easier to move something around. If I need to use fixed ones, I have a variable somewhere which is easy to change and means I get the benefits of using relative ones.
-Luke.
But anyway, relative or fixed paths?
I tend to use relative paths where possible because it's easier to move something around. If I need to use fixed ones, I have a variable somewhere which is easy to change and means I get the benefits of using relative ones.
-Luke.
Last edited: