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

Posted by Jerry Stuckle on 03/22/07 13:11

luigi7up wrote:
> On Mar 21, 6:16 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> luigi7up wrote:
>>> On Mar 21, 5:38 am, "Mitul" <patel.mitu...@gmail.com> wrote:
>>>> Hi,
>>>> Check file permission of /user_upload/ directory. give write
>>>> permission for that directory. apply 0777 permission to that
>>>> directory.
>>>> Regards,
>>>> ~~Mitz~~
>>>> Nothing is Impossible because ImPossible itself mean that I m
>>>> Possible.
>>>> On Mar 20, 10:46 pm, "luigi7up" <luigi...@gmail.com> wrote:
>>>>> Weird problem I have, really :)
>>>>> I wrote a script that uploads files to /user_upload/ directory. On
>>>>> localhost version of my site everything works just fine. I mean files
>>>>> are uploaded well. With online version I'm having problems. Files that
>>>>> are uploaded can't be seen over FTP client (Total Commander FTP). I
>>>>> know they are uploaded because if I try to list upload folder over
>>>>> http: over my browser, the files are there...?! So files are up there
>>>>> but Im unable to see them over FTP client...
>>>>> any idea?
>>>>> Thanks
>>>>> Luka
>>> Thanks, already done that.
>>> Permissions are 777 to user_upload...
>>> Still no solution...
>> Your problem is you directory has the settings at 777 - but the FILES
>> don't. And they are owned by the webserver's userid - which is
>> different from your ftp userid.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
>
> Ive run into that user problem once upon a time. I think it is called
> "user apache" and only server admin can aproach to those files?
>
> Is there way to work this out so that i can see those files by ftp?
>
> Maybe chmod in PHP script durin upload?
>
> Some nicer way?
>
> Thank you very much...
>

Yes, you can chmod it if your server allows you to (many shared hots
have disabled this).

Your best place to follow up would be a Unix/Linux admin newsgroup. You
also should get a good book on Unix/Linux administration. It will help
you understand a lot of these things.

But this has nothing to do with PHP.

--
==================
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

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