On Mon, 2010-01-25 at 19:21 -0500, Ernie Kemp wrote:
>
>
>
>
>
>
>
> From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
> Sent: January-25-10 5:53 PM
> To: Ernie Kemp
> Cc: 'PHP General List'
> Subject: Re: [PHP] Upload file on IE8
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: January-25-10 5:53 PM
To: Ernie Kemp
Cc: 'PHP General List'
Subject: Re: [PHP] Upload file on IE8
On Mon, 2010-01-25 at 17:41 -0500, Ernie Kemp wrote:
Good Day,
I’m having an issu
On Tue, 2010-01-26 at 07:33 +0800, Eric Lee wrote:
> On Tue, Jan 26, 2010 at 6:41 AM, Ernie Kemp wrote:
>
> > Good Day,
> >
> >
> >
> > I’m having an issue with IE8, when I go to load a file the
> > program is not filling the $_FILES['user_file']['type'] .
> >
> >
On Tue, Jan 26, 2010 at 6:41 AM, Ernie Kemp wrote:
> Good Day,
>
>
>
> I’m having an issue with IE8, when I go to load a file the
> program is not filling the $_FILES['user_file']['type'] .
>
> When I display “echo "Start".$_FILES['pix']['type']."End";”
> in I
On Mon, 2010-01-25 at 17:41 -0500, Ernie Kemp wrote:
>
>
> Good Day,
>
>
>
> I’m having an issue with IE8, when I go to load a file
> the program is not filling the $_FILES['user_file']['type'] .
>
>
> When I display “echo "Start".$_FILES['pix']['type']."En
On Fri, 2009-05-01 at 12:38 -0400, Simon wrote:
> On Fri, May 1, 2009 at 9:34 AM, MikeP wrote:
> > I'm not trying to get the path, just the filename and size, I know how to
> > get these, but that would include the file using $_Files, but I dont want to
> > upload anything just use the filename an
On Fri, May 1, 2009 at 9:34 AM, MikeP wrote:
> I'm not trying to get the path, just the filename and size, I know how to
> get these, but that would include the file using $_Files, but I dont want to
> upload anything just use the filename and size.(without the path) to insert
> into a DB.
Those
I'm not trying to get the path, just the filename and size, I know how to
get these, but that would include the file using $_Files, but I dont want to
upload anything just use the filename and size.(without the path) to insert
into a DB.
"Simon" wrote in message
news:5f14cf5e0905010629s2253cc3
> Id like to use the popup file system box( />) to choose a file name , but I only want to upload the filename , not the
> file. Can I do that?
You're not supposed to have any access to the remote visitor's
computer, and the path to the file being uploaded could contain
sensitive information (ie.
Thanks.. It's fixed...
- Jignesh
On Thu, Jul 31, 2008 at 6:05 PM, brian <[EMAIL PROTECTED]> wrote:
> Jignesh Thummar wrote:
>>
>> I'm trying to upload the file. It's showing me successfully uploaded.
>> But it's not able to move from temp directory to my defined directory
>>
>> my code:
>>
>> if
Jignesh Thummar wrote:
I'm trying to upload the file. It's showing me successfully uploaded.
But it's not able to move from temp directory to my defined directory
my code:
if (is_uploaded_file($_FILES['myfile']['tmp_name'])) {
move_uploaded_file($_FILES['myfile']['tmp_name'], $myfilename);
On Thu, Jul 31, 2008 at 10:18 AM, Jignesh Thummar
<[EMAIL PROTECTED]> wrote:
> I'm trying to upload the file. It's showing me successfully uploaded.
> But it's not able to move from temp directory to my defined directory
>
> my code:
>
> if (is_uploaded_file($_FILES['myfile']['tmp_name'])) {
> mo
Maybe check the return value of the function:
http://us3.php.net/manual/en/function.move-uploaded-file.php
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Jignesh Thummar wrote:
> I'm trying to upload the file. It's showing me successfully uploaded.
> But it'
it's writable.
On Thu, Jul 31, 2008 at 3:37 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 31, 2008 at 10:18 AM, Jignesh Thummar
> <[EMAIL PROTECTED]> wrote:
>> I'm trying to upload the file. It's showing me successfully uploaded.
>> But it's not able to move from temp directory to my de
On Thu, Jul 31, 2008 at 10:18 AM, Jignesh Thummar
<[EMAIL PROTECTED]> wrote:
> I'm trying to upload the file. It's showing me successfully uploaded.
> But it's not able to move from temp directory to my defined directory
>
> my code:
>
> if (is_uploaded_file($_FILES['myfile']['tmp_name'])) {
> mo
On Fri, April 20, 2007 5:11 pm, blackwater dev wrote:
> I need to allow a user to upload a file. Once the file is up, I need
> to
> then move it to another server and wsync it to our webclusters.
> What's the
> best way to do this with php? I don't really want php issuing root
> commands. I've c
On 4/21/07, blackwater dev <[EMAIL PROTECTED]> wrote:
I need to allow a user to upload a file. Once the file is up, I need to
then move it to another server and wsync it to our webclusters. What's the
best way to do this with php? I don't really want php issuing root
commands. I've considered
Alain Roger wrote:
I would like in fact to make more precise my previous post.
I would like in fact to restrict the file extension (and therefore the user
possibility).
My user should be able only to upload files with extension JPEG, BMP, GIF.
How can i set those parameter ?
You can't control
quot; <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 30, 2005 7:14 AM
Subject: Re: [PHP] upload file - clients path to file?
> [EMAIL PROTECTED] wrote:
> > I havent found an answer after looking at the manual. I'm trying to find
> > out if it possible to find the path of the
[EMAIL PROTECTED] wrote:
I havent found an answer after looking at the manual. I'm trying to find
out if it possible to find the path of the file on the clients pc once
a form has been submitted with the file upload form.
I know its possible to get the file name but I need the whole path.
is thi
On Sat, July 9, 2005 1:39 am, Ahmed Abdel-Aliem said:
> Hi
> i have a problem with a code to upload files on server
> here is the code
>
> $f =& $HTTP_POST_FILES['News_Pic'];
Use $_FILES to stay current...
> $dst_file_name = generateUniqueId();
>
> $arr = split("\.",$f['name']);
>
> $f['name'] =
thanks bobert. I have done it. thanks...
--- Robert Sossomon <[EMAIL PROTECTED]> wrote:
> Look in /etc/httpd/conf.d/php.conf
>
> For a buddy with a file upload need I set it to
> this:
>
>
> SetOutputFilter PHP
> SetInputFilter PHP
> LimitRequestBody 760217600
>
>
>
> You wi
Look in /etc/httpd/conf.d/php.conf
For a buddy with a file upload need I set it to this:
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 760217600
You will need to set your upload limit higher in this file for it to work
correctly.
Robert
--
Robert Sossomon, Business and Tech
badlya badlu wrote:
> I have created one php file for uploading the file. i
> also made changes in /etc/php.ini for size limit. but
> i can not upload the files greater than 5mb. Is there
> any modification which has to be done in other
> configuration file.
Check your POST size limit in, errr, ph
yes
httpd-2.0.49-4
Should i upgrade it?
--- Thomas Seifert <[EMAIL PROTECTED]> wrote:
> On Mon, 31 Jan 2005 03:15:00 -0800, Badlya Badlu
> wrote:
>
> > the path is /etc/php.ini
> > also
> > upload_max_filesize 50M 50M
> >
> > Waiting for reply.
>
> it also depends on your webserver. I gue
On Mon, 31 Jan 2005 03:15:00 -0800, Badlya Badlu wrote:
> the path is /etc/php.ini
> also
> upload_max_filesize 50M 50M
>
> Waiting for reply.
it also depends on your webserver. I guess you are running apache2?
thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
the path is /etc/php.ini
also
upload_max_filesize 50M 50M
Waiting for reply.
--- Wudi <[EMAIL PROTECTED]> wrote:
> Run phpinfo() to see the Configuration File
> (php.ini) Path.
>
>
__
Do you Yahoo!?
Yahoo! Mail - Easier than ever wit
Run phpinfo() to see the Configuration File (php.ini) Path.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The problem is solved.
/etc/httpd/conf.d/php.conf
the parameter LimitRequestBody is set to 524288 by default.
Jeff
> -Original Message-
> From: Jeff McKeon
> Sent: Tuesday, April 20, 2004 10:48 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] Upload file form
>
&g
> -Original Message-
> From: Jeff McKeon
> Sent: Tuesday, April 20, 2004 10:21 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Upload file form
>
>
> Ok, not exactly pure PHP problem but I hope someone here has
> seen this before..
>
> I'm got an upload form on a webpage, here's the code:
Marek Kilimajer wrote:
Ketvin wrote:
Dear list,
I'm using squirrelmail php as my webmail interface, my php.ini have
the option of
upload_max_filesize = 10M
but i'm having problem for adding attachment more than 400k, where
the page will hang. is there any recommended things for me to check?
Ketvin wrote:
Dear list,
I'm using squirrelmail php as my webmail interface, my php.ini have the option of
upload_max_filesize = 10M
but i'm having problem for adding attachment more than 400k, where the page will hang. is there any recommended things for me to check?
post_max_size, max_inp
Chris --
...and then Chris Edwards said...
%
% I would like to give the users of my web site the ability to upload video
% type files, up to 12 megs in size.
OK.
%
% I notice in my PHI.INI there is a
%
% "memory_limit =8M ; Maximum amount of memory a script may consume
% (8MB)"
%
wich kind of files are we talking about?
pictures or others?
"Gerard Samuel" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> On Friday 14 November 2003 12:48 pm, joe wrote:
> > is there a way to check the file size
> > without fully uploading the file?
> >
>
> No there isnt, well
Gerard Samuel wrote:
On Friday 14 November 2003 12:48 pm, joe wrote:
is there a way to check the file size
without fully uploading the file?
No there isnt, well at least not via php...
correct. There are two solutions you can upload with a java applet, the
applet can be configured to lo
On Saturday 15 November 2003 02:40, Johnson, Kirk wrote:
> > this could really kill my bandwidth. is there a way to check
> > the file size
> > without fully uploading the file?
>
> Although it has been called an "urban legend" :), you could try the old
> MAX_FILE_SIZE trick.
I think you may be r
> this could really kill my bandwidth. is there a way to check
> the file size
> without fully uploading the file?
Although it has been called an "urban legend" :), you could try the old
MAX_FILE_SIZE trick. For this, add a hidden tag before the tag:
This is an instruction to the browser to r
On Friday 14 November 2003 12:48 pm, joe wrote:
> is there a way to check the file size
> without fully uploading the file?
>
No there isnt, well at least not via php...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I am going nuts reinstalling over and over again on different computers
> and keep getting this error. I am using 2.0.40 http (I know
> experimental, but don't tell me that :) )
Why not? Since this is the problem. Upgrade to Apache 1.3.27 and
everything will be fine.
-Rasmus
--
PHP Genera
On Thursday 23 January 2003 21:20, Tyler Durdin wrote:
> I am using PHP 4.2.1 and have noticed that I can only upload files with a
> php script when I have the php.ini file set with register globals on. Is
> there a way to use the file upload scripts without having to turn the
> register globals on
> I am using PHP 4.2.1 and have noticed that I can only upload files with a
> php script when I have the php.ini file set with register globals on. Is
> there a way to use the file upload scripts without having to turn the
> register globals on? How about newer versions of PHP?
Yes, you'll use
Thanks
the quote wasn't the issue.
Actually I shold have use $_FILE not $_POST .
--- Chris Shiflett <[EMAIL PROTECTED]> wrote:
> Daniel Guerrier wrote:
>
> >echo($_POST['userfile]);
> >
>
> Do you mean $_POST["userfile"] here? It looks like
> you're missing a quote.
>
>
> --
> PHP General M
Daniel Guerrier wrote:
>echo($_POST['userfile]);
>
Do you mean $_POST["userfile"] here? It looks like you're missing a quote.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Joakim,
Thanks again. $HTTP_POST did the trick. I did look through the archives
before posting but didn't come across this solution. I obviously didn't look
hard enough!
This e-mail is intended for the recipient only and
may contain confiden
> From: Mark Colvin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 18, 2002 12:41 PM
> To: [EMAIL PROTECTED]
>
> Joakim,
>
> Thank you for your reply. I tried your example and get
> 'Possible file upload
> attack: filename.' meaning that 'if
> (is_uploaded_file($_FILES['img1']['tmp_name']))'
Joakim,
Thank you for your reply. I tried your example and get 'Possible file upload
attack: filename.' meaning that 'if
(is_uploaded_file($_FILES['img1']['tmp_name']))' returns false. I put a
couple of echo statements in before the if statement to check '$img1_name'
'$img1_size and '$img1_type'
> From: Mark Colvin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 18, 2002 10:09 AM
>
> -- upload.php --
>
> if ('img1' != "") {
This will allways be true! 'img1' is a string and will never be empty.
You probably mean if($img1 != "")
However, I'm not sure this w
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Saturday 06 July 2002 10:04, Norman Zhang wrote:
>>
> > I can't seem to upload file bigger than 5M even if I set the
> > upload_max_filesize to 20M in php.ini and MAX_FILE_SIZE to 20M in the
> > scr
On Saturday 06 July 2002 10:04, Norman Zhang wrote:
> Hi,
>
> I can't seem to upload file bigger than 5M even if I set the
> upload_max_filesize to 20M in php.ini and MAX_FILE_SIZE to 20M in the
> script. What's am I missing here? Is the temporary upload directory won't
> handle file this size? Pl
> Hi all,
> i want ask something : How to upload files from local to server via php
> ?
> and i want use it with browser.
> Please gimme the code.
Please give me a break. Read the manual, there is a whole chapter telling
you how to do this!
http://www.php.net/manual/en
Assuming you understand e
You might be new to this group, so I'm going to try not to flame you.
1. this group is not for "gimmie the code" -- commonly it's for focused
questions and issues.
2. this topic has been discussed on this list 1000's of times... a quick
search of the archives may in fact reveal a large chunk of
Is that a bad word?
\ :
[EMAIL PROTECTED] wrote:
>Did someone say hosting fees?
>
>- Original Message -
>From: "sundogcurt" <[EMAIL PROTECTED]>
>To: "GENERAL PHP LIST" <[EMAIL PROTECTED]>
>Sent: Monday, January 28, 2002 3:32 PM
>Su
You could try contacting your server admin and seeing if he / she will
increase the limit...
That would be where I would start.
If that doesn't work, my hosting fees are quite reasonable ahah
[EMAIL PROTECTED] wrote:
>Thnx. it's working now. But.. Howcome I can only upload files no bigger
Thnx. it's working now. But.. Howcome I can only upload files no bigger
then 100 kb? I have changed the MAX_FILE_SIZE to 10. Also, I can't
change the php.ini, coz the webserver isn't mine.. what to do now??
Sundogcurt wrote:
> http://www.php.net/manual/en/features.file-upload.php
> http:
http://www.php.net/manual/en/features.file-upload.php
http://www.faqts.com/knowledge_base/view.phtml/aid/988
: )
[EMAIL PROTECTED] wrote:
>I want to make something like when you are attaching something to an
>email in hotmail. I want to make something that searches your own
>computer for files
It'd be simpler to help if you posted the releveant portions of the INI
files and code...
> -Original Message-
> From:
> [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED].
> net] On Behalf Of Mike Baranski
> Sent: Wednesday, December 26, 2001 10:19 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP
$imagefile contains the name of the file in the temp dir. So the name is some
mess like phpx . If you want the file you do copy() or something other.
After the script is done the file is deleted. I prefer using $HTTP_POST_VARS
do var_dump($HTTP_POST_VARS) to see debug info.
Andrey Hristov
I
Hi Reiniger,
try this : copy(addslashes($file),"1.dat")
hope it is clear.
keyur
- Original Message -
From: "Christian Reiniger" <[EMAIL PROTECTED]>
To: "HK Woo" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, April 10, 200
On Monday 09 April 2001 18:35, you wrote:
> Christian
>
> Below is my script.
>
> if (!copy($file,"1.dat")) {
> echo "error"; }
> else {
> echo "successful";
> }
> ?>
>
> NOTE: where $file is passed by other html using form.
how? using a ?
Then re-read the file uploa
Augusto
NO,
An error message is "Warning: Unable
to open 'D:\\PHP\\upload1.php' for reading:"
"Augusto Cesar Castoldi" <[EMAIL PROTECTED]> wrote in message
Pine.GSO.4.10.10104091306290.171-10@venus">news:Pine.GSO.4.10.10104091306290.171-10@venus...
> what`s the error message now? Can be
On Monday 09 April 2001 17:00, you wrote:
> Hi,
>
> I use a command "copy" to upload a file from my local win machine to
> webserver. However, it is not successful. It prompts that "Warning:
> Unable to open 'D:\\PHP\\upload1.php' for reading:". I would like to
> know what is the problem
show us
what`s the error message now? Can be something like "permission denied"...
You should create a diretory and do "chmod 666 dir_name", than you'll have
the right permission to write in this diretory.
regards,
Augusto
On Tue, 10 Apr 2001, HK Woo wrote:
> I have tried to add ENCTYPE as you sugges
I have tried to add ENCTYPE as you suggested. However, it still can't work.
The file is located in my D:
Any more idea?
Thank You!
HK Woo
"Michael Hall" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Is the file on your win machine on C: or D: ? There seem
Is the file on your win machine on C: or D: ? There seems to be some
confusion about that. Also, how are you using 'copy' to upload the file?
Are you using a form with a 'file' input type and
ENCTYPE="multipart/form-data" in the FORM tag, etc?
Just some ideas.
Mick
On Mon, 9 Apr 2001, HK Woo w
Hi, Johnson
The file is located at my local WIN ME machine. The file is set to R/W
HK Woo
""Johnson, Kirk"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Are the permissions set OK?
>
> Kirk
>
> > -Original Message-
> > From: HK Woo [mailto:[EMAIL PR
Are the permissions set OK?
Kirk
> -Original Message-
> From: HK Woo [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 09, 2001 9:01 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Upload file from my local C:
>
>
> Hi,
>
> I use a command "copy" to upload a file from my local win machine
On Mon, Mar 12, 2001 at 10:08:57AM -0800, Jerry Lake wrote:
> copy($userfile, "/www/workbox/htdocs/audio");
>
> I keep getting the following error. the directory exists and is chmoded to
> 777, what am I doing wrong ?
> Warning: Unable to create '/www/workbox/htdocs/audio': Is a directory in
Check out :
http://www.weberdev.com/index.php3?GoTo=ViewArticle.php3?ArticleID=2
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February
68 matches
Mail list logo