"; $d->close(); 2-3/body-o/html> action.php alpha_beta.php Any suffix $s2 will be cut off. dirname($s) returns the parent directory of the path $s..