Giter Site home page Giter Site logo

handle binary data about php-console HOT 4 OPEN

seldaek avatar seldaek commented on September 28, 2024
handle binary data

from php-console.

Comments (4)

staabm avatar staabm commented on September 28, 2024

Maybe I could post the code using a regular form and let a iframe render it, but this would change how php-console works, because it renders the output in a DIV atm.

WDYT?

from php-console.

Seldaek avatar Seldaek commented on September 28, 2024

IMO that is sort of on the edge of what this was made for.. It's not really a quick attempt at something if you're generating PDFs :p The only thing I can think of is to have another button than "try" which would be "raw output" or something that does a simple browser POST and only outputs the result of the eval() call so you can do what you want and get it displayed as is in the browser, then hit back if needed to change the code.

from php-console.

staabm avatar staabm commented on September 28, 2024

You are right.. I won't develop such sort of code in the console, but sometimes I extract this type of code from an application and reduce it to a as simple as possible reproducible testcase.

I think it could work if I change the current code handling from AJAX to posting it to an iframe.. any objections?

from php-console.

Seldaek avatar Seldaek commented on September 28, 2024

I am not sure how it would work with large inputs to the iframe, but you
can try..

from php-console.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.