View Single Post
  #1  
Old 18th January 2013, 21:37
markshorter markshorter is offline
Junior Member
 
Join Date: Jan 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot use chdir

If I run this simple script:

Code:
<?php

// starting directory
echo getcwd() . "<br />";
chdir('/var/');
// new directory
echo getcwd() . "<br />";

?>
The same directory is printed twice. In other words "chdir" isn't changing directory as intended. Have I missed something when installing ISPConfig3 on Debian Squeeze?
Reply With Quote
Sponsored Links