Hi every:
I have this two methods in my class:
public function executeFiltrarPorApartamentoForm(sfWebRequest $request) {
$this->form = new TbPorApartamentoForm();
$this->setTemplate('porApartamento');
}
public function executeFiltrarPorApartamento(sfWebRequest $request) {
echo 'Enter
I first provided an array of mime types and after that i tried with
the mime category but still nothing, same error .
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send
Try providing the accepted mime types.
http://www.symfony-project.org/forms/1_2/en/B-Validators#chapter_b_sub_sfvalidatorfile
On Sun, Jun 7, 2009 at 19:04, mlmarius wrote:
>
> Hello, i am trying to build a file upload with sf 1.2 and doctrine. I
> am following this tutorial :
> http://www.symfony
Hello, i am trying to build a file upload with sf 1.2 and doctrine. I
am following this tutorial :
http://www.symfony-project.org/forms/1_2/en/11-Doctrine-Integration#chapter_11_sub_handling_the_files_upload
( look for "file upload" ).
I have the following schema ( only 1 model ) :
StoredFile:
This is my version which works form me:
// Enforce full download and prevent caching
session_cache_limiter('none');
// No layout needed for file downloads
$this->setLayout(false);
sfConfig::set('sf
thank you , I tried as your post, but failed,
strange problem.
On 6月6日, 下午9时15分, Filipe Costa wrote:
> An example the way i do it:
>
> $data = fread(fopen('uploads/assets/work_2009.doc', "r"),
> filesize('uploads/assets/work_2009.doc));
> $response = $this->getContext()->getResponse();
>