Topic: getting a \ instead of a /

So the upload and everything works for me, but whenever it spits out the links for the image, i keep getting this:

http://www.mysite.com\images/102020efe.png

instead of

http://www.mysite.com/images/102020efe.png


Now i know it will still work, but i would like everything to look correctly too.  Does anybody know why this might be happening?  I tried looking through the code but not really sure where the problem might be.

I'm running php 5, windows server 2008, using IIS 7.0, and i am using the latest build as of 10/28/09

Thanks!

Thumbs up

Re: getting a \ instead of a /

Figured out the problem...

in config.php there is a line that gets the "path"

$path = dirname($_SERVER['PHP_SELF']);


I had this echo out and it was giving me the \ for the path.  All i did was comment out the code above, and set $path to what it should be

#$path = dirname($_SERVER['PHP_SELF']);
$path = "/";

Thumbs up