<?php if (chdir("upload")) { print "Changed current directory successfully"; }//Output:Changed current directory successfully ?>
希望本文所述对大家的php程序设计有所帮助。