Hi,
I have a form with a textfield where users can fill in the path of a folder. The thing is that php adds a '\' to the path and I can't figure out how to remove one of the '\'. stripslashes removes all of them and str_replace('\','\', $var) doesn't work either. Anyone can help me with this?
Actually I am not sure now if I have this problem with '\' or with '/'? I am working on this at a friends place and am developing over there on windows but eventually it should run on both windows and linux.
Thanks,
Raoul