Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with removing a folder

Status
Not open for further replies.

james0816

Programmer
Jan 9, 2003
295
US
All of a sudden I have developed an issue in removing a folder. The folder is empty. Have full rights to location (i can create the folder as well add and remove files in the folder).

I coded a very simple test page to eliminate an issue with the variables:

<?php
$fl="\\\Server1\\Share1";
//$fl="\\\Server1\\Share1\\"; // I also tried this one
$fn="TestFolder";
chdir($fl);
rmdir($fn);
?>

Any thoughts?
 
well...i got it working again. I now have to use the following

$rd=$fl.$fn;
rmdir($rd);

I must have been smoking something yesterday when I thought it worked fine.

thx n e way though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top