Crd007
Crd007

Reputation: 493

forward/backward slash problem in wamp

I am using a wamp server for development in my windows7 local pc. All my projects are going to be hosted in linux servers and hence I am using "/" as path separator inside php code. But when I take base path it is giving the other slash since I am using in windows. Is there any solution to solve this issue in wamp setting or any other solution?

Upvotes: 2

Views: 1529

Answers (1)

smcjones
smcjones

Reputation: 5600

I just managed to solve this problem by placing the server root as "/". So far that seemed to do the trick.

Upvotes: 1

Related Questions