You are here: Re: upload file issue « PHP Programming Language « IT news, forums, messages
Re: upload file issue

Posted by Emmanuel Petit on 04/17/07 15:46

Sean a écrit :
>
> I am sure that there may be another solution, but I think that you cannot
> path back outside of your webserver. I'd bet that if you moved the 'uploads'
> folder inside the 'website' folder and change the link accordingly, it would
> work.
>
It works fine if I move the 'uploads' folder back on the web site, but
as it needs to be chmod 777, it is now open to everyone, and might
become a security issue on my server.

I read that by putting it outside the web folder, it could not be access
by browsing, but I can not find any way to retrieve the folder, even
that I can put them without any problem.

> As www.mywebsite.com and the website folder should be the same ... I take it
> that having <img src='../../uploads/images/test.gif'> makes no difference?
>
>
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация