Hi All,
I'm using XAMMP server in USB stick and have Web project in this structure:
F:\xampplite\htdocs\projects\Elijah
So my current working DIR is elijah. However, I don't want to write the long path "../projects/elijah/elijah.css" when linking css file or using images. I would like to use something like a function that will retrieve current working directory so that path will be
"The_function_to_get_DIR/elijah.css" I want the root to be seen virtually as elijah
Thanks for your help, and I'm ready to clarify wherever there's ambiguity :)