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

Posted by Jerry Stuckle on 04/24/06 01:50

frizzle wrote:
<old posts snipped>
>
>
> PHP & OS are similar.
> My upload function is below.
> Hope it can get me/you any further ...
> (again, really thanks for all the help!!)
>
> Frizzle.
>

<code snipped>

Sorry for the delay - I missed this one when you posted earlier in the week.

Well, it isn't how I would have done it, but it should work.

First thing I would have done was to move the uploaded file from the temp
directory a working directory (move_uploaded_file() ). This gets it completely
out of the temporary director (which could be something like /tmp) where there
may be limitations on what you can do with it.

Then I'd do the resizing or whatever I need in my workarea.

I'm also not sure why you're ftping back to yourself (at least I assume it's
yourself). Why not just store the file where you want it?

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

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