Jump to content

mattsutton

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mattsutton's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. thanks for that, i will have a play around and let you know how i get on
  2. Hi, Thanks for your reply. Basically the index page is a php page called index, which has a php script inside it which displays the contents of any folder that the page is placed in. (e.g. list of word documents in that folder, pdf's etc) Let me explain what im doing. Im building a site for a company that examine and certify lifting equipment. The guy wants to upload certificates in word format via ftp to his customers individual folders, so they can download them to save paper and postage. heres how it should work. user is created --> username, company name, password etc stored in database --> email containing link to the folder that has just been created and login details are emailed to customer --> customer clicks link --> ENTERS USERNAME AND PASSWORD --> index page displayed. (list of word documents is displayed which they can download) basically what i need is: for each new folder to only be accessable using the username and password supplied for that specific folder. Everything else is done, its just password protecting folders that have been created when a new user is added that is giving me a headache. Sorry, i expect thats just as confusing as the first post!
  3. hi, I am building a site where the admin user can create new users in the database. When the admin user creates a user, the details are sent to the database, a new folder is created on the server with that user name *mkdir(.../.../.../$username) etc, an email is sent to the user containing a link to that folder, which contains an index page which shows the contents of that folder. BUT, can someone help me on how i password protect (automatically) that folder so that only the username and password for that folder can see the index page.... Thanks, Matt.
  4. Hi, im new here I am trying to make a system where a users details are added to a mysql database via a form, then at the same time as this is happening a new folder is made for their username on the server. Everything seems like it should work fine but im getting an error message when creating the folder. im using mkdir() and the code is <? mkdir(".../.../accounts/$username")?> When i hit submit to process all the data i get the error message... "Warning: mkdir(http://www.redspidercreative.co.uk/clients/liftingtackle/accounts/redspider): No such file or directory" if i use the username "redspider" folder permissions are set to 777 i cant think what else im doing wrong. Any help would be much appreciated thanks! Matt
×
×
  • 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.