![]() |
PHP file system stuff
Couple 'o php questions. :cool:
|
Re: PHP file system stuff
|
Re: PHP file system stuff
So, I'm trying to remove a directory here...
Windows XP system running Apache 2.0.50 with PHP 4.3.9. (Yes, I know that 2.0.52 is out. Upgrade is coming soon.) I'm trying to remove a directory which is located relative to the current one at ../pages/<dir>. I'm able to delete all the files in the directory, but on trying to remove the directory itself I get a "Permission denied" error. Here's the exact code which applies: PHP Code:
I'm using pretty much the ship configuration which is in the php.ini-dist.recommended (or whatever that file was called) file. Ideas? Was I unclear? :) |
Re: PHP file system stuff
And maybe this is related:
Using the code below (I had something in a different file, but I wrote this stuff out just for testing. I get the same results with both things.) I get... nothing. The page just appears again without the slightest hint it did anything. Actually, on the other one, I have more error checking and it catches that the move_uploaded_file() fails and reports it appropriately. Here's the test code: PHP Code:
--EDIT-- Acutally, after adding the enctype="multipart/form-data" to the form, I now get nothing. It just reloads. |
| All times are GMT -5. The time now is 15:33. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi