php - How to forward POST request with adding file parameters in Symfony? -


i need forward post request in symfony before forwarding need convert image base64 $_files parameter. how can this?

are submitting form before forward? if you can do:

if($form->issubmitted() && $form->isvalid){     //do whatever work need in here uploading image      // before forward     return $this->forward('@bundle:action', array(        'request' => $request)); } 

as converting file take @ answer this question. should trick. hope helps!


Comments

Popular posts from this blog

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Create a stacked percentage column -