Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread German Geek
make sure the permissions on the folders are right, so at least read for the httpd in the tmp folder and write in the destination folder. since its moving i would make them both writeable to the webserver daemon user. permissions can be annoying are necessary though... They caught me quite a few ti

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Alpár Török
2009/2/7 Dušan Novaković > On Sat, Feb 7, 2009 at 12:29 PM, Alpár Török wrote: > > > > > > 2009/2/7 Dušan Novaković > >> > >> Hi, > >> > >> I'm having problem with function move_uploaded_file() under Linux > >> (Slackware 12.2). It simply won't execute only that function in php > >> file. So m

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Ashley Sheridan
On Sat, 2009-02-07 at 14:03 +0100, Carlos Medina wrote: > Chris schrieb: > > > >> if($_FILES['file']['name'] && $_FILES['file']['size']<55){ > >> > >> $file_name = "news_".$_FILES['file']['name']; > >> $image="../_img/news

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Carlos Medina
Chris schrieb: if($_FILES['file']['name'] && $_FILES['file']['size']<55){ $file_name = "news_".$_FILES['file']['name']; $image="../_img/news/".$file_name; //Upload file

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Chris
if($_FILES['file']['name'] && $_FILES['file']['size']<55){ $file_name = "news_".$_FILES['file']['name']; $image="../_img/news/".$file_name;

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Dušan Novaković
On Sat, Feb 7, 2009 at 12:29 PM, Alpár Török wrote: > > > 2009/2/7 Dušan Novaković >> >> Hi, >> >> I'm having problem with function move_uploaded_file() under Linux >> (Slackware 12.2). It  simply won't execute only that function in php >> file. So maybe I should add something to http.config file

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Alpár Török
2009/2/7 Dušan Novaković > Hi, > > I'm having problem with function move_uploaded_file() under Linux > (Slackware 12.2). It simply won't execute only that function in php > file. So maybe I should add something to http.config file or ? I > tried to execute that php file under Windows and it

[PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Dušan Novaković
Hi, I'm having problem with function move_uploaded_file() under Linux (Slackware 12.2). It simply won't execute only that function in php file. So maybe I should add something to http.config file or ? I tried to execute that php file under Windows and it's working just fine (I've copied whol

[PHP] Re: move_uploaded_file() problem

2004-10-08 Thread Tim Van Wassenhove
In article <[EMAIL PROTECTED]>, Daniel Lahey wrote: > I'm seeing a very strange problem with move_uploaded_file(...). I'm > uploading jpegs and the transfer appears to go a little too quickly, > and when I look at the directory listing, the files are about twice the > size that they should be. Wh