note 41498 added to function.realpath

From: Date: Mon, 12 Apr 2004 18:44:59 +0000
Subject: note 41498 added to function.realpath
Groups: php.notes 
Request: Send a blank email to php-notes+get-68033@lists.php.net to get a copy of this message
I am not sure if this will help anyone but it sure did help me out. I was using PHP on my website then I decided to install PHP into my IIS on my Windows machine so I can develop on the road. When I would then run any websites from my localhost, none of the images would show up on the windows machine, or after changing the code they wouldn't show up on the Linux server. To fix this issue, my image folder path would look like the following: $imagesPath = "./images/"; THAT'S IT! This seems to resolve all paths between both platforms, I hope this will help out others with the same problem as I have had. If you didn't catch it, the "." before the "/" is the key. ---- Manual Page -- http://www.php.net/manual/en/function.realpath.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+41498 Delete -- http://master.php.net/manage/user-notes.php?action=delete+41498&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+41498&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#68033) next »