[symfony-users] Symfony on Shared Hosting

2011-02-06 Thread Mohd Imran
Hi folks, I want to run symfony project on shared hosting, and i am not allowed to create the virtual host there. Is there any way to run symfony on shared hosting (using .htaccess)? Thanks -Imran -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Re: get object for edit the form

2011-06-17 Thread Mohd Imran
Hey Gantulga, Thanks for reply. I don't want to pass the id value in URL. I have a form which contains the id value in hidden field. I can get the post id values like this way: $params = $request-getParameter('form_name'); $id = $params['id']; But i am not comfortable with hard-coding the

[symfony-users] Re: Get form field value before bind

2011-06-17 Thread Mohd Imran
Hi Gantulga, Thanks again. I have two criteria for fetch the object. e.g- where username='xxx' and id ='3'; I couldn't understand the sf_format in the routing rule / comment/:name/:date.:sf_format How $this-getRoute()-getObject() return an object with form's posts values? I don't have

[symfony-users] get form reference in post validator class

2011-06-17 Thread Mohd Imran
Hi folks Is there any way to get the form reference object in custom post validator class? class myPostValidator extends sfValidatorBase { public function configure($options = array(), $messages = array()) { } protected function doClean($values) { // How to get form object here ?