Anees wrote:
>
>
> $fh = fopen($name,'w') or die("can't open file");
> fwrite($fh,$content);
> fclose($fh);
>
Hi
there was a mistake where i used fopen.
I given the saving location as $sitename."/dir".$filename
instead
$_server['DOCUMENT_ROOT']."/dir/".$filename
Thanks
again
i am looking for native methods from Zend to manage file related operations.
Anees
--
View this message in context:
http://www.nabble.com/How-to-store-attachment-files-into-a-location-in-server-tp20732847p20744033.html
Sent from the Zend Framework mailing list archive at Nabble.com.
- [fw-general] How to store attachment files into a locati... Anees
- Re: [fw-general] How to store attachment files into... Martijn Korse
- Re: [fw-general] How to store attachment files ... Anees
- Re: [fw-general] How to store attachment fi... Anees
- Re: [fw-general] How to store attachmen... phpbrat
- Re: [fw-general] How to store atta... Anees
- Re: [fw-general] How to store ... phpbrat
- Re: [fw-general] How to st... Anees
- Re: [fw-general] How to st... phpbrat
- Re: [fw-general] How to st... Anees
- Re: [fw-general] How to st... phpbrat
- Re: [fw-general] How to store ... phpbrat
- [fw-general] prioritize co... Anders Gunnarsson
- Re: [fw-general] prioritiz... Brenton Alker
