Re: [PHP] Problems with upload

2004-03-08 Thread kringla
Hi I am also running debian, and if I have safe_mode=On I am unable to upload images and get the following warnings. The code works if I disable safe_mode, but I have to get it working with safe_mode also. If I ever will see any money stream to me from my 'boss'... -

Re: [PHP] Problems with upload

2004-03-08 Thread Jason Wong
On Tuesday 09 March 2004 00:11, Martin Hjort Eriksen wrote: > Here is some of the code I am using, to acces the uploaded file: > > if(!file_exists($_FILES['binFile']['tmp_name'])) { > return "Filen ".$_FILES['binFile']['name']." kan ikke findes > på serveren. > Er fejlen vedvarende

Re: [PHP] Problems with upload

2004-03-08 Thread Martin Hjort Eriksen
The standard settings for upload: ; File Uploads ; ; Whether to allow HTTP file uploads. file_uploads = On ; Temporary directory for HTTP uploaded files (will use system default if not ; specified). upload_tmp_dir = /tmp ; Maximum allowed size for uploaded files

Re: [PHP] Problems with upload

2004-03-08 Thread Raditha Dissanayake
Do you have any wierd setting for upload temp dir? (can't remember the directive) in your php.ini file? Martin Hjort Eriksen wrote: Jason Wong wrote: On Monday 08 March 2004 23:35, Martin Hjort Eriksen wrote: I am running a fullt upgraded Debain "testing" system, and I have a smaller problem

Re: [PHP] Problems with upload

2004-03-08 Thread Martin Hjort Eriksen
Jason Wong wrote: On Monday 08 March 2004 23:35, Martin Hjort Eriksen wrote: I am running a fullt upgraded Debain "testing" system, and I have a smaller problem with uploading files. Does the example in the manual work for you? If it does, what does the php error log say when you run *you

Re: [PHP] Problems with upload

2004-03-08 Thread Jason Wong
On Monday 08 March 2004 23:35, Martin Hjort Eriksen wrote: > I am running a fullt upgraded Debain "testing" system, and I have a > smaller problem with uploading files. Does the example in the manual work for you? If it does, what does the php error log say when you run *your* code? Post some con

[PHP] Problems with upload

2004-03-08 Thread Martin Hjort Eriksen
I am running a fullt upgraded Debain "testing" system, and I have a smaller problem with uploading files. I use my installation to develop PHP applications, and a part of this making file upload scripts. A have a basic form, in which i can upload a file, the header information gets passed fine

Re: [PHP] Problems with upload

2002-05-30 Thread Jason Wong
On Friday 31 May 2002 01:57, Aaron wrote: > I am trying to upload files to a server. I have the script and it works on > other servers but when I try to upload to this paticular server, I get the > following: > > Warning: Max file size of 2 bytes exceeded - file [userfile] not saved in > Unknown

[PHP] Problems with upload

2002-05-30 Thread Aaron
I am trying to upload files to a server. I have the script and it works on other servers but when I try to upload to this paticular server, I get the following: Warning: Max file size of 2 bytes exceeded - file [userfile] not saved in Unknown on line 0 I have checked the php.ini file and the u