Jump to content

Recommended Posts

OK, if I wanted to create a script called fileupload.php (that is called using a FORM in an HTML file), that is located at the following location (example):

 

www.mysite.com/admin/fileupload.php

 

and let's say that I wanted to upload to a folder located at "www.mysite.com/content/photos/trips"

 

How can I do this?  I would image that I would need to change the permissions of the "trips" folder to do this.  Can I upload to this location even though the PHP script is not in the same folder as where the file is being uploaded to?  Also, can you change directory permissions via a PHP script (if so, how)?

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.