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 f

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

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.

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 i

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
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: [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 tim

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 > > >

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 er

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 d

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,

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 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 guesse

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 t

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 - t

Re: [PHP] Uploading file

2002-09-04 Thread Justin French
/phpnYLV2J >> Name: 323lake.jpg >> Size: 48254 >> Type: image/pjpeg >> >> But I couldn't find the uploaded file, nor the /tmp/phpnYLV2J path. >> Do I normally do a copy after the upload? >> Can I just change the tmp path and filename when I upload? >>

Re: [PHP] Uploading file

2002-09-04 Thread skitum
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 PROTECTE

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 and

RE: [PHP] Uploading file

2002-09-03 Thread Clemson Chan
uesday, 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 and after that you are deleting the temp file, you should copy the files first This is your code if(isset($UploadedFile)) { unlink($UploadedFi

Re: [PHP] Uploading file

2002-09-03 Thread Rodrigo Dominguez
ploaded a file > > Local File: /tmp/phpnYLV2J > Name: 323lake.jpg > Size: 48254 > Type: image/pjpeg > > But I couldn't find the uploaded file, nor the /tmp/phpnYLV2J path. > Do I normally do a copy after the upload? > Can I just change the tmp path and filename when I uplo

RE: [PHP] Uploading file

2002-09-03 Thread Clemson Chan
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 Hi friend, http://www.php.net/manu

RE: [PHP] Uploading file

2002-09-03 Thread victor
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 new to this grou

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

Re: [PHP] uploading file

2001-02-08 Thread Shane McBride
expert on this, or any other, topic... - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 08, 2001 3:40 AM Subject: Re: [PHP] uploading file > // Creates the image file with a timestamp > $timestamp =

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

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 image f

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 (is_uplo