|
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
Navigation:
[Reply to this message]
|