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
https://forums.phpfreaks.com/topic/276053-xampp-trouble-working-on-localhost/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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