You are here: Re: Upload script failing « PHP Programming Language « IT news, forums, messages
Re: Upload script failing

Posted by Jerry Stuckle on 06/02/07 01:38

Geoff Berrow wrote:
> I have an upload script which I want to use to upload word documents.
> This works fine on my Gradwell account. However on the client's
> (windows) hosting it fails.
>
> C:\WINDOWS\TEMP\php29D.tmp
> Warning: copy(papers/1180718015test.doc) [function.copy]: failed to open
> stream: Permission denied in
> \\nas01\nas\i\s\isbe2007.org\web\uploaddoc.php on line 22
>
> I emailed support (Namesco) and received this reply
>
>>> There is no need to change permissions on Windows hosting. Your files by
>>> default have the permissions to write to directories owned by your own
>>> user.
>
> Any suggestions?
>

They don't have any idea what they're talking about? You may be able to
write to them as your user - but you need to be able to write them them
as the web server's user. Completely separate requirements.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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