PHP Help
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #6
RE: PHP Help
(12-05-2010 03:53 PM)Iamazn Wrote:  Can chdir() "go back" directories?
Yes.  Do you have some safe mode restrictions?
IDK much about safe mode - maybe it only likes relative paths.  Try that and see if that works.
EDIT:
http://php.net/manual/en/function.chdir.php Wrote:Note: When safe mode is enabled, PHP checks whether the directory in which the script is operating has the same UID (owner) as the script that is being executed.
Quote:When using PHP safe mode and trying to change to a dir that is not accessible due to the safe mode restrictions, the function simply fails without generating any kind of error message.
Perhaps check those.

My Blog
(This post was last modified: 12-05-2010 05:37 PM by ZiNgA BuRgA.)
12-05-2010 05:34 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
PHP Help - Iamazn - 12-05-2010, 12:18 PM
RE: PHP Help - ZiNgA BuRgA - 12-05-2010, 01:35 PM
RE: PHP Help - Iamazn - 12-05-2010, 03:00 PM
RE: PHP Help - ZiNgA BuRgA - 12-05-2010, 03:40 PM
RE: PHP Help - Iamazn - 12-05-2010, 03:53 PM
RE: PHP Help - ZiNgA BuRgA - 12-05-2010 05:34 PM
RE: PHP Help - MattR - 12-05-2010, 10:35 PM
RE: PHP Help - Iamazn - 12-06-2010, 03:16 AM
RE: PHP Help - MattR - 12-06-2010, 05:36 AM
RE: PHP Help - Iamazn - 12-06-2010, 02:18 PM
RE: PHP Help - ZiNgA BuRgA - 12-06-2010, 03:28 PM
RE: PHP Help - Iamazn - 12-08-2010, 12:50 PM
RE: PHP Help - ZiNgA BuRgA - 12-08-2010, 02:27 PM

 Standard Tools
Forum Jump: