Re: [PHP] Strange behaviour with uploaded files .. XAMPP on Windows

2009-10-27 Thread Ashley Sheridan
On Tue, 2009-10-27 at 11:31 +1000, Angus Mann wrote: > Hi all. I'm not sure if this is really a PHP question or specific to XAMPP, > or windows in general... > > I have XAMPP including PHP 4.29 running on a Vista machine. > > When I use a form to upload a file, using $_FILES['uploadedfile']['na

Re: [PHP] Strange behaviour with uploaded files .. XAMPP on Windows

2009-10-26 Thread Angus Mann
Yep, you were right. When I look, now I see that the permissions for the file are different to locally created files. Thanks for that ! Yeah, definitely sounds like a permissions issue. I'm not much of a windows admin, but this looks like it might help: http://www.mydigitallife.info/2007

Re: [PHP] Strange behaviour with uploaded files .. XAMPP on Windows

2009-10-26 Thread Brady Mitchell
On Mon, Oct 26, 2009 at 6:31 PM, Angus Mann wrote: > When I use a form to upload a file, using $_FILES['uploadedfile']['name'] > and move_uploaded-file($_FILES['uploadedfile']['name'], $targetpath) strange > effects happen. > > The file is uploaded to the target directory just as it should. > > Bu

[PHP] Strange behaviour with uploaded files .. XAMPP on Windows

2009-10-26 Thread Angus Mann
Hi all. I'm not sure if this is really a PHP question or specific to XAMPP, or windows in general... I have XAMPP including PHP 4.29 running on a Vista machine. When I use a form to upload a file, using $_FILES['uploadedfile']['name'] and move_uploaded-file($_FILES['uploadedfile']['name'], $ta