Sorry for being a pain. However I need to see if someone can answer my
question.....
>>
>>I am trying to delete files using "web explorer" THere is a section in
>>the
>>code that states the following...
>>
>>Can I include a shell script into it? Or it is neccessary. I know I have
>>permissions,but I might be wrong. If someone could help me I would
>>appreciate it.
>>
>>Thanks
>>
>>Al
>>case "del":
>> ############### The user has comfirmed the deletion
>> if ($confirm)
>> {
>> ############### Object is a directory
>> if(is_dir($basedir.$file))
>> {
>> // I thought this part would work
>> //but it didn't budge by infusing a shell
>> #system(rmdir -rf $basedir.$file);
>> rmdir($basedir.$file);
>> }
>>
>> ############### Object is a file
>> else
>> {
>> unlink($basedir.$file);
>> }
>> $lastaction = "Deleted $file";
>> html_header();
>> displaydir();
>> }
>>
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]