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
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
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 = $_SE
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 g
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.
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
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.
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 f
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 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
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
> 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
> > >
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
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
> 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,
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
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
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
> 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
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 ne
/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?
>>
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
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
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
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
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
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 t
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
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,
I followed the examples in the FAQ and was able to make the upload work,
using client HTML code similar to this:
File Name:
The problem is that it works great with Netscape, but fails with IE.
If the client is Netscape, the "somephp.php" program gets the $filename=
/tmp/phpmo4QE9
and $f
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 use
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 =
>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
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
// 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
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:
This is the action from that form:
// Creates the image file with a timestamp
$timestamp = time();
$image= $timestamp
36 matches
Mail list logo