Announcement

Collapse
No announcement yet.

copy vs move_uploaded_file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • copy vs move_uploaded_file

    I just saw this in image.php (Line: 444) (in the admincp directory). I learned that with PHP4 it's safer to use move_uploaded_file cause it is aware of open_basedir restrictions and safe_mode.

    With all sorts of users in a shared environment, I am an avid fan of all those restrictions. Of course they don't make it 100% safe, but somewhat safer. So could this go into the next version of VB?

    Thanks,
    Tom

  • #2
    What exactly are you proposing? There is already an option in the Admin CP to accommodate open_basedir and safe mode restirctions.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X