SAFE MODE

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JaazzMan

    SAFE MODE

    hello!, I'm devoloping a web gallery in php. The user may upload images
    for every news posted. Every news has a internal number that references a
    folder with the same name that the new. The folder has 2 folders inside
    called 'main' and 'thumb', for big images and thumbnails.
    This may appear like this

    /123
    /main
    photo1.jpg
    photo2.jpg
    /thumb
    photo1.jpg
    photo2.jpg
    /124
    /main
    photo51.jpg
    photo32.jpg
    /thumb
    photo51.jpg
    photo32.jpg

    do you understand? I try to make the folders on the fly with mkdir, but
    SAFE MODE is activated, so I can't do anything inside the folder I have
    just created.

    Please help me!! any idea??
Working...