Can you tell how to upload the file which have no relative path

thanks

On Mon, Aug 10, 2009 at 5:40 PM, asim nizam <asim...@gmail.com> wrote:

> Thanks it works
>
>
> On Mon, Aug 10, 2009 at 5:37 PM, Eric <ericteub...@googlemail.com> wrote:
>
>>
>> I assume your webservers root path is /var/www
>> Your first path "/civil/web/uploads/assets/abc.jpg" is absolute to
>> this path, so it works.
>> Your second path "var/www/civil/web/uploads/assets/abc.jpg" is
>> relative. The corresponding absolute path ist "var/www/var/www/civil/
>> web/uploads/assets/abc.jpg" which is obviously wrong.
>>
>> On 10 Aug., 13:30, sunny <asim...@gmail.com> wrote:
>> > how to display uploaded image in template!
>> >
>> > i used <img width="200px"  src="/civil/web/uploads/assets/abc.jpg"/>
>> >
>> > it works but
>> >
>> > <img width="200px"  src="var/www/civil/web/uploads/assets/abc.jpg"/>
>> >
>> > this not works!!
>> >
>> > need help
>> >
>> > new to symfony
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to