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
Post a Comment