Re: Re: Prob in file uploading on windows server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Check the safemode variable value in php.ini of your windows machine. If it is on then you can not upload files. So, change that to OFF and try.

 Thanks & Regards
Udayakumar Sarangapani
Sr. PHP Developer
CompIndia Infotech Pvt. Ltd.
Chennai.

"Science is nothing but logic..."





________________________________
From: paragchaure <paragchaure@xxxxxxxxx>
To: php-objects@xxxxxxxxxxxxxxx
Sent: Friday, 6 February, 2009 11:37:16 AM
Subject:  Re: Prob in file uploading on windows server


I have given the 777 permissions to the folder though it is not working on windows
this is the code that i using 

if(($_FILES[ "resumefile" ]["size"] <90000))
{
if($_FILES[" resumefile" ]["error" ] > 0 )
{
echo "Erroe Code : ".$_FILES["resumefi le"]["error" ];
}
else 
{
move_uploaded_ file($_FILES[ "resumefile" ]["tmp_name" ], 
"upload\\".$ _FILES["resumefi le"]["name" ]); 
}
}

there Any other way to upload the file 

with regards
Parag

--- In php-objects@ yahoogroups. com, Brian H <brianh781@. ..> wrote:
>
> Make sure the folder you are uploading to has the correct permissions.
> 
> On Wed, Feb 4, 2009 at 11:27 PM, amit choure <paragchaure@ ...> wrote:
> 
> >   hi all
> > I have script of file uploading it works in Linux/Unix server but this
> > script is not working at windows server .
> > There is any method or changes in script?
> >
> > Please help me
> >
> > with regards
> > Parag
> >
> > Add more friends to your messenger and enjoy! Go to
> > http://messenger. yahoo.com/ invite/
> >
> > [Non-text portions of this message have been removed]
> >
> > 
> >
> 
> 
> [Non-text portions of this message have been removed]
>


   


      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux