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 =
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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)?
--
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
?
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
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
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
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
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
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
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
// 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
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
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
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
35 matches
Mail list logo