Jump to content

Recommended Posts

Posted

Apologies - for the last post...

 

I have a set of php scripts in say directory A, which will attempt to create a directory in say B

 

so my script will call a function which performs a mkdir in ../B

 

however it fails with a permissions error.

I've checked the permissions of B and it is 755, so am a little confused as to what's going wrong.

 

Some sample output for the calling page -

 

Warning: mkdir(../newgallery-images/Sovereign/thumbs): Permission denied in /home/imageel/public_html/newgallery/thumbnail.php on line 9

 

..and line 9 is

 

mkdir ("$outdir");

 

and

 

$outdir = "$path/thumbs";

and $path is a parameter - in this case '../newgallery-images/Sovereign'

 

This is probably some stupid mistake on my part, but I would appreciate any assistance from you in resolving it :)

Regards

Ed

btw - it's now 22:35 local time - so I will not be around for ~ 22 hours - damn the day job!!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...