开发者

Paths problem works '/file.xyz' doesn't work '../file.xyz' on the Web not in localhost?

Why does path like '/file.xyz' works on the web but do开发者_JS百科es not in localhost?

I'm using Xampp

In localhost I had to change it to '../file.xyz'


Windows uses a backslash rather than a forward slash. Use realpath($path) to get the correct path for the system.

http://www.php.net/realpath

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜