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 - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -