[PHP] uploading file encoding error

2010-05-27 Thread Manolis Vlachakis
hallo there everyone! i am uploading a file in a php applet i developed and i face a problem while i upload greek named files.. have no problem with the english or so on files... is there a way to use iconv or something else so as to solve my problem ? my code looks like that... $uploaddir =

Re: [PHP] uploading file encoding error

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 17:49 +0300, Manolis Vlachakis wrote: hallo there everyone! i am uploading a file in a php applet i developed and i face a problem while i upload greek named files.. have no problem with the english or so on files... is there a way to use iconv or something else so as

Re: [PHP] uploading file encoding error

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 18:03 +0300, Manolis Vlachakis wrote: i am using gentoo and on the server side i cant see either the files with their greek names but i had no problem in the past handling them even though i couldn't see them... my servers log say that they uploaded the file but

[PHP] uploading file outside WEB Root

2008-09-01 Thread Angelo Zanetti
Hi All, For security purposes I would like to upload a file outside the webroot. I have got this to work on my local dev machine but it doesn't seem to work on the live server. I have tried both the relative path and also the full path (from the $_SERVER[DOCUMENT_ROOT] variable). Now I can't

[PHP] uploading file

2005-04-13 Thread marc serra
Hi, i want to create a form to upload a file on a server. My problem is that i want to check the filesize before sending it because if the filesize is superior than 2 MB it failed and i don't want to wait for a long time for uploading a file that will fail. Can you please give me a solution to

Re: [PHP] uploading file

2005-04-13 Thread Richard Davey
Hello Marc, Wednesday, April 13, 2005, 3:08:06 PM, you wrote: ms Hi, i want to create a form to upload a file on a server. My ms problem is that i want to check the filesize before sending it ms because if the filesize is superior than 2 MB it failed and i ms don't want to wait for a long time

Re: [PHP] uploading file

2005-04-13 Thread Joseph Connolly
I though you could limit it in the php.ini file. OR, you can determine it's length through php and then discard it. I remember reading something about limiting file size and overidding that limit in the script. If i find it i will post it here. Richard Davey wrote: Hello Marc, Wednesday, April

Re[2]: [PHP] uploading file

2005-04-13 Thread Richard Davey
Hello Joseph, Wednesday, April 13, 2005, 5:42:42 PM, you wrote: JC I though you could limit it in the php.ini file. OR, you can JC determine it's length through php and then discard it. I remember JC reading something about limiting file size and overidding that JC limit in the script. If i find

Re: [PHP] uploading file

2005-04-13 Thread John Nichel
Joseph Connolly wrote: I though you could limit it in the php.ini file. OR, you can determine it's length through php and then discard it. I remember reading something about limiting file size and overidding that limit in the script. If i find it i will post it here. You can limit it with PHP.

Re: [PHP] uploading file

2005-04-13 Thread Joseph Connolly
Thanks for the info. That makes sense. John Nichel wrote: Joseph Connolly wrote: I though you could limit it in the php.ini file. OR, you can determine it's length through php and then discard it. I remember reading something about limiting file size and overidding that limit in the script. If

Re: [PHP] uploading file

2005-04-13 Thread Greg Donald
On 4/13/05, Joseph Connolly [EMAIL PROTECTED] wrote: I though you could limit it in the php.ini file. You can. OR, you can determine it's length through php and then discard it. You can. I remember reading something about limiting file size and overidding that limit in the script. If i

[PHP] Uploading file problem

2003-03-06 Thread Amanda McComb
I'm very new to PHP, so I hope no one is offended by reading my very basic questions. I have created a web form that saves some data to a database and uploads three files, copies them to a new directory, and renames them. From my work machine and home machine, it works great for me - there are

RE: [PHP] Uploading file problem

2003-03-06 Thread Rich Gray
I'm very new to PHP, so I hope no one is offended by reading my very basic questions. I have created a web form that saves some data to a database and uploads three files, copies them to a new directory, and renames them. From my work machine and home machine, it works great for me - there

RE: [PHP] Uploading file problem

2003-03-06 Thread Amanda McComb
The files go to different directories, but I checked the permissions on all of the directories, and they are all '777'. I am able to upload files, so I think the directory is ok. The server is unix. I am going to ask my boss to send me the files he is trying to upload to see if the files are

Re: [PHP] Uploading file problem

2003-03-06 Thread Mark Heintz PHP Mailing Lists
What do you mean by fails at the copy? Have you verified that the filename and path you're copying to is valid? Otherwise, if the filename that is failing is consistently the same, and if it's attempting to overwrite an existing file, it could be a permissions problem. Just a couple of

Re: [PHP] Uploading file problem

2003-03-06 Thread Amanda McComb
Well, I have a statement that says: if ([EMAIL PROTECTED]($photo, $long_path . speakers/ . $photo_name)) { echo an error }else{ proceed with renaming the file } The error that is echoed after the copy is the one that pops up. So, it could be some other problem, but

Re: [PHP] Uploading file problem

2003-03-06 Thread 1LT John W. Holmes
Well, I have a statement that says: if ([EMAIL PROTECTED]($photo, $long_path . speakers/ . $photo_name)) { echo an error }else{ proceed with renaming the file } The error that is echoed after the copy is the one that pops up. So, it could be some other problem, but I'm not

Re: [PHP] Uploading file problem

2003-03-06 Thread Jason Wong
On Friday 07 March 2003 03:28, Amanda McComb wrote: Well, I have a statement that says: if ([EMAIL PROTECTED]($photo, $long_path . speakers/ . $photo_name)) { echo an error }else{ proceed with renaming the file } The copy() function allows you to specify a

Re: [PHP] Uploading file problem

2003-03-06 Thread Amanda McComb
Thanks!! I'll give that a try! On Thu, 6 Mar 2003, 1LT John W. Holmes wrote: Well, I have a statement that says: if ([EMAIL PROTECTED]($photo, $long_path . speakers/ . $photo_name)) { echo an error }else{ proceed with renaming the file } The error that is echoed

RE: [PHP] Uploading file problem

2003-03-06 Thread Rich Gray
Thanks!! I'll give that a try! On Thu, 6 Mar 2003, 1LT John W. Holmes wrote: Well, I have a statement that says: if ([EMAIL PROTECTED]($photo, $long_path . speakers/ . $photo_name)) { echo an error }else{ proceed with renaming the file } The error

Re: [PHP] Uploading file

2002-09-04 Thread skitum
i have the same problem. Where is the kind soul who can help us? Peace Love skitum - Original Message - From: Clemson Chan [EMAIL PROTECTED] To: Juan Pablo Aqueveque [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, September 04, 2002 12:25 AM Subject: RE: [PHP] Uploading file

Re: [PHP] Uploading file

2002-09-04 Thread Justin French
the same problem. Where is the kind soul who can help us? Peace Love skitum - Original Message - From: Clemson Chan [EMAIL PROTECTED] To: Juan Pablo Aqueveque [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, September 04, 2002 12:25 AM Subject: RE: [PHP] Uploading file

[PHP] Uploading file

2002-09-03 Thread Clemson Chan
Hi, I am new to this group. I am trying to figure out how to let people to upload image files to my website. My ISP is using PHP 3 (I believe). If someone can give me simple example, that will be great. Thanks. --Clemson How can I tell what version of PHP is running on the system (linux)? --

Re: [PHP] Uploading file

2002-09-03 Thread Juan Pablo Aqueveque
Hi friend, http://www.php.net/manual/en/features.file-upload.php And take a look to the User Contributed Notes --jp At 13:03 03-09-2002 -0700, Clemson Chan wrote: Hi, I am new to this group. I am trying to figure out how to let people to upload image files to my website. My ISP is using PHP 3

RE: [PHP] Uploading file

2002-09-03 Thread victor
? phpinfo(); ? tell you most things about php and some things about web server and dbs - Victor www.argilent.com -Original Message- From: Clemson Chan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 4:04 PM To: [EMAIL PROTECTED] Subject: [PHP] Uploading file Hi, I am

RE: [PHP] Uploading file

2002-09-03 Thread Clemson Chan
a copy after the upload? Can I just change the tmp path and filename when I upload? Thanks. --Clemson -Original Message- From: Juan Pablo Aqueveque [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 7:58 AM To: Clemson Chan; [EMAIL PROTECTED] Subject: Re: [PHP] Uploading file

Re: [PHP] Uploading file

2002-09-03 Thread Rodrigo Dominguez
ROTECTED] Subject: Re: [PHP] Uploading file Hi friend, http://www.php.net/manual/en/features.file-upload.php And take a look to the User Contributed Notes --jp At 13:03 03-09-2002 -0700, Clemson Chan wrote: Hi, I am new to this group. I am trying to figure out how to let people to upload ima

RE: [PHP] Uploading file

2002-09-03 Thread Clemson Chan
3:55 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Uploading file You are doing wrong... you are checking for the temp file and after that you are deleting the temp file, you should copy the files first This is your code if(isset($UploadedFile)) { unlink($UploadedFile); // Here you

RE: [PHP] Uploading file

2002-09-03 Thread Clemson Chan
relative paths work too. Thank you so much. --Clemson -Original Message- From: Rodrigo Dominguez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 3:55 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Uploading file You are doing wrong... you are checking for the temp file

[PHP] Uploading file to php

2002-01-18 Thread Mike Schroeder
Hi, I followed the examples in the FAQ and was able to make the upload work, using client HTML code similar to this: FORM NAME=the_form ENCTYPE=multipart/form-data METHOD=POST ACTION=somephp.php File Name: INPUT NAME=filename TYPE=file INPUT TYPE=submit VALUE=submit /FORM The problem is that

[PHP] uploading file to seperate server

2001-03-10 Thread Thomas Edison Jr.
basically i've gotta write a script that uploads the file that user is uploading NOT to the server on which the scripts are - but to a seperate server. Problem is, i'm expecting huge uploads, and i have got ample space, 3 to 400 MB's. but it's on seperate servers from where my site is. When a

Re: [PHP] uploading file

2001-02-08 Thread Richard Lynch
// Creates the image file with a timestamp $timestamp = time(); $image= $timestamp.$picture_name; if ($PLATFORM == "windows") { $new_path = str_replace('^', '\\', $WINDOWS_PATH); What's with the "^"?... And, since \ is special in PHP, you are changing ^ to \? Why? echo $picture; if

RE: [PHP] uploading file

2001-02-08 Thread Maxim Maletsky
Everyone say : "Good morning mr. Lynch" ! Man, I enjoy that, Cheers, Maxim Maletsky -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 5:41 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] uploading file // Creates the

Re: [PHP] uploading file

2001-02-08 Thread Phil Driscoll
Everyone say : "Good morning mr. Lynch" ! Hear Hear! I was all overcome with a wave of nostalgia :) Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] uploading file

2001-02-05 Thread Shane McBride
OK, I'm not sure if the file is getting uploaded or not, and it certainly is not getting copied to the permanent directory. Here's what I have: This creates the upload form: FORM method="post" ENCTYPE="multipart/form-data" action="add_record2.php" INPUT type="file" name="picture" size=30 /form