I inherited a large website that I'd like to alter as little as possible. There is currently a problem with one of the path problems.
Clicking on a link creates an address looking like this.
In a constants.php file I find this.
$PATH = "../files/
How can i alter the path to go back a directory but change the "/" to "\"? I need the "../" to go back a directory but then the "/" is added to the path.
What I Want:
If the slashes are all in the same direction (forward or backward) the page will work.