Skip to content

multipart file uploads issue + solution #1

Closed
@diab303

Description

@diab303

php://input doesn't work on multipart file uploads so proxying file uploads won't work.

this can be resolved by putting this into .htaccess (assuming the file is called proxy.php)

<Files proxy.php>
php_value  enable_post_data_reading off
</Files>

unfortunately this option can't be changed from inside PHP but it may be useful to note in the documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions