I have created a file that should should all directorys and files
with some teatures.. and one of the features gives you rights to create directorys.. but.. when i create the directory.. it just shows a blank <td> i chmoded it to .. 777 or 0777 but.. it still does not show...
anyways.. please take a look here So you know what i mean.. its just white anyways.. here is the code of the directory part
if( $dir_open = opendir( $dir_handler )){
while( FALSE !== ( $FILES = readdir( $dir_open ))){
if( !preg_match( "/^\./i", $FILES )){
if( is_dir( $FILES )){
$DIRS[] = $FILES;
}else{
$FILE[] = $FILES;
}
}
}
closedir( $dir_open );
if( is_array( $DIRS )){
sort( $DIRS );
foreach( $DIRS as $keys ){
$dir .= "<td align=\"left\" valign=\"top\" bgcolor=\"#87CEEB\">
Directory
</td>
<td align=\"left\" valign=\"top\" colspan=5 bgcolor=\"#87CEEB\">
<img src=\"images/board.gif\" border=0>
<a href=\"$PHP_SELF?dirz=$dir_handler/$keys\">$keys</a>
</td></tr>";
}
}
heh i have been tring to figure this one out.. for a while... but cant seem to think why.. the directory is not showing