flowjs / flow-php-server

flow.js php server library, validates uploaded chunks and safely merges all chunks to a single file
http://flowjs.github.io/ng-flow/
MIT License
245 stars 42 forks source link

[Question] How to read additional query parameters server side #19

Closed npx closed 9 years ago

npx commented 9 years ago

Hey there,

and thank you for the great work on this library.

This issue can be deleted. In case someone else is wondering, in Laravel 5 the standard Request::input('parametername') does the trick.

Cheers

alkorschun commented 8 years ago

I would like to know how we could read the query values on the serverside if we are using jus plain PHP.

channaveer commented 3 years ago

You can set it with query in the config

var flow = new Flow({
    /** Other settings */
    query: { '_token' : '{{ csrf_token() }}', 'greeting' : 'hello' } /* Add your additional params to pass here */
});