|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
PHP file system stuff
Couple 'o php questions.
![]()
|
|
#2
|
|||||
|
|||||
|
Re: PHP file system stuff
|
|
#3
|
||||
|
||||
|
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? ![]() Last edited by Ryan M. : 05-12-2004 at 15:06. |
|
#4
|
||||
|
||||
|
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. Last edited by Ryan M. : 06-12-2004 at 07:43. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What do you wish you knew about the new control system? | Joe Ross | Control System | 2 | 09-01-2004 21:47 |
| openFIRST switches debugging system to Bugzilla | Timothy D. Ginn | FIRST-related Organizations | 0 | 28-12-2003 00:32 |
| Need a FIRST Robotics control system | kershawrobotics | General Forum | 3 | 07-07-2003 09:49 |
| Current Monitoring system questions | PyroPhin | Technical Discussion | 44 | 17-02-2003 15:34 |
| who can we buy stuff from?!?! | archiver | 2001 | 7 | 23-06-2002 23:04 |