Reply to Re: help about file uploading

Your name:

Reply:


Posted by Rik on 01/19/07 13:43

ali wrote:
> I am writing a script which uploads file to a specific directory; I am
> using javascript to handle client side exceptions and php script which
> actually performs file uploading.
>
> Php scripts gets session id, appends it with uploadpath and creates
> new directory as uploadPath/sessionId. After that it uploads file in
> uploadPath/sessionId/welcome.jpg.
>
>
> It works fine locally but when I uploaded my site to server it is not
> able to create directory rather creates only file i.e
> uploadPath/welcome.jpg and misses out session id.
>
> I have checked rights, I have rights of folder creation,

1. This is clearly not a javascript issue, please post to comp.lang.php,
I've set the forward now.
2. What errors do you get when creating a specific direcory directly
(mkdir('uploadPath/testdir',0777))?
3. Have you checked the session_id is working?

[Posted to comp.lang.php, f'upped to comp.lang.php]
--
Rik Wasmus

[Back to original 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

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