Skip to content

Loading the .phar from a web application #269

@rec0de

Description

@rec0de

I guess this is a real noob question, but I have been running into some problems trying to use the library with my website.

When I include the .phar archive into a web application, the first line ("#!/usr/bin/env php") is interpreted as HTML and output to every page I use the library in.

Editing the .phar to remove the first line obviously breaks the signature and so far I haven't found a way to avoid outputting the first line every time the .phar is loaded.

How do I correctly use the library in this scenario?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions