Jump to content

Xampp trouble working on localhost


airbrushtutor

Recommended Posts

Hi Guys - 

 

I'm in the midst of a guided tutorial with headfirstphp - i've finished the tutorial and uploaded it to my server and all works fine + as intended, however it doesn't work correctly on my local machine, when run with xampp.

I get the following page error:

Warning: move_uploaded_file(images/pacosscore copy 2.gif) [function.move-uploaded-file]: failed to open stream: Permission denied in/Applications/XAMPP/xamppfiles/htdocs/headfirstphp/addscore.php on line 32

 

this tells me that it's a permissions error, however i've made sure that all permissions for all users are set to read & write.. so i'm wondering if this may be caused by some other problem? Please let me know if you need to see the code? I don't believe you will need to as it is functioning, it's just a xampp/ localhost problem with moving the uploaded file..

any help of where to look would be appreciated as it would be useful to have a fully functioning application on my local machine:)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.