Translating paths in PHP from (*nix) server to (winxp) dev machine

Guffejustiree

New Member
I'm working on a PHP project that has a lot of hard coded paths in it. I'm not the main developer, just working on a small part of the project.I'd like to be able to test my changes locally before committing them, but my directory structure is completely different. For example, there's a lot of this in the code:\[code\]require_once("/home/clientx/htdocs/include.php")\[/code\]Which doesn't work on my local WAMP server because the path is different. Is there a way to tell either WAMP or XP that "/home/clientx/htdocs/" really means "c:/shared/clients/clientx"?
 
Back
Top