SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Mar 2001
    Location
    N/A
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Using PHP i want to make a folder on the host(which is my computer) when someone signs u on my website, and also add there username and password to the end of my ftp server's ini file so they can upload there web page to the newly created folder.

    i am using apache with PHP4
    How do i do this????

  2. #2
    SitePoint Zealot
    Join Date
    Jun 2000
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello,

    You can use the php 'mkdir' function which works with Apache...(this will create your directory)....

    Then use the php file functions (e.g. fwrite(), with append options if needed) to write your file.

    Regards,

    Jason


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •