Professional Web Applications Themes

Please could you help me - PHP Development

Hello, Could you please give me the instructions PHP for 1) Create a folder in my web server 2) test if this folder exist or not in my web server 3) give the owner for this folder because i would like the the user can send a picture in this forder Really thank you for the person can give me it Best regards, Dave...

  1. #1

    Default Please could you help me

    Hello,

    Could you please give me the instructions PHP for
    1) Create a folder in my web server
    2) test if this folder exist or not in my web server
    3) give the owner for this folder because i would like the the user can send
    a picture in this forder

    Really thank you for the person can give me it

    Best regards,

    Dave


    Dave Guest

  2. #2

    Default Re: Please could you help me

    On Sun, 15 May 2005 21:53:52 +0200, "Dave" <us> wrote:
     

    http://uk.php.net/filesystem

    --
    Andy Hassall / <co.uk> / <http://www.andyh.co.uk>
    <http://www.andyhsoftware.co.uk/space> Space: disk usage ysis tool
    Andy Guest

  3. #3

    Default Re: Please could you help me

    thank you but for give the owner to th folder could you give the instruction
    please


    "Andy Hassall" <co.uk> a écrit dans le message de news:
    com... 
    >
    > http://uk.php.net/filesystem
    >
    > --
    > Andy Hassall / <co.uk> / <http://www.andyh.co.uk>
    > <http://www.andyhsoftware.co.uk/space> Space: disk usage ysis tool[/ref]


    Dave Guest

  4. #4

    Default Re: Please could you help me

    "Dave" <us> kirjoitti
    viestissä:4287b63d$0$3109$wanadoo.fr... 

    Is chown() perhaps something you are looking for?
    chown
    (PHP 3, PHP 4 , PHP 5)
    chown -- Changes file owner
    Description
    bool chown ( string filename, mixed user)

    Attempts to change the owner of the file filename to user user (specified by
    name or number). Only the superuser may change the owner of a file.

    with fileowner() you get the current owner of file:
    fileowner
    (PHP 3, PHP 4 , PHP 5)
    fileowner -- Gets file owner
    Description
    int fileowner ( string filename)


    Returns the user ID of the owner of the file, or FALSE in case of an error.
    The user ID is returned in numerical format, use posix_getpwuid() to resolve
    it to a username.

    I'm just guessing here though. I didn't quite understund what you were
    looking for...

    --
    "I am pro death penalty. That way people learn
    their lesson for the next time." -- Britney Spears

    com


    Kimmo Guest

  5. #5

    Default Re: Please could you help me

    Kimmo Laine a écrit : 
    >
    >
    > Is chown() perhaps something you are looking for?
    > chown
    > (PHP 3, PHP 4 , PHP 5)
    > chown -- Changes file owner
    > Description
    > bool chown ( string filename, mixed user)
    >
    > Attempts to change the owner of the file filename to user user (specified by
    > name or number). Only the superuser may change the owner of a file.
    >
    > with fileowner() you get the current owner of file:
    > fileowner
    > (PHP 3, PHP 4 , PHP 5)
    > fileowner -- Gets file owner
    > Description
    > int fileowner ( string filename)
    >
    >
    > Returns the user ID of the owner of the file, or FALSE in case of an error.
    > The user ID is returned in numerical format, use posix_getpwuid() to resolve
    > it to a username.
    >
    > I'm just guessing here though. I didn't quite understund what you were
    > looking for...
    >[/ref]
    you probably don't want to change the owner.

    if you want apache to upload to a folder, apache must have write
    permissions. same as reading.
    Mig21 Guest

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139