Jump to content

php upload permissions


firelior

Recommended Posts

I have a question,

Is it possible to upload stuff to a folder, and that still no-one could see it?

I want to upload stuff using php, and I don't want anybody to be able to see the folder directly..

 

with permissions 777 it doesn't work.

how do i do it?

 

 

thanks

Link to comment
Share on other sites

Mosts good hosts provide you with a private directory outside the web root directory so that isn't accessible via a browser, but that scripts can see.  Check this with you host.

 

Alternatively, if you have access to edit your .htaccess files, it can be done with these too.

 

Regards

Huggie

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.