Skip to content

Web: $_FILES population and move_uploaded_file subset #87

Description

@PurHur

Problem

lib/Web/Superglobals.php declares _FILES in NAMES but does not populate it. Contact forms with <input type="file"> need $_FILES['field']['name'], ['tmp_name'], ['error'], etc.

Multipart parsing (#52) is prerequisite; this issue covers the PHP superglobal shape and minimal upload API.

Goal

Populate $_FILES from parsed multipart bodies and support a minimal move_uploaded_file() for VM (JIT optional later).

Tasks

Acceptance criteria

HTML form with enctype="multipart/form-data" and one file field produces usable $_FILES in VM + CGI driver (#50).

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:webWeb / CGI / superglobalsenhancementNew feature or requestphase-4:stdlibPhase 4 – stdlib for web apps

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions