Jump to content

Unable to share a folder in Xampp htdocs


MikeSpider

Recommended Posts

I'm pretty much stuck here, looked everywhere in the internet didn't find anything at all. I just went manually in my pc on my folders inside the xampp htdocs, and tried to share with everyone, but just got the same windows message " your folder can't be shared!" seems like a nightmare to me, cause my application depends on sharing a folder which contains some documents. What it does( the app) is: moves (copies) documents from a folder outside the localhost (in my desktop) to a folder inside the htdocs inside my project and organizes files based on their category (documents, contracts, invoices etc), then the admin can perform a search based on category and all the files appear listed. When he clicks the files it opens but in read mode only! I already tried "fopen($file, a)" it takes forever and does not open the doc. and now i see that it does not allow to write or modify files. Is there any way to override this rule? Anyone please help! Mike

Link to comment
Share on other sites

If there's a problem there should be an error message. If you're not seeing an error message then add this to the top of your script: ini_set('display_errors', 1);error_reporting(E_ALL); My first guess would be that PHP does not have access to the files you're trying to open, but an error message would verify that.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...