[PHP] Upload file on IE8

2010-01-25 Thread Ernie Kemp
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 IE8 I get StartEnd with nothing in between. I expected image/pjpeg.

Re: [PHP] Upload file on IE8

2010-01-25 Thread Ashley Sheridan
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'].End;” in IE8

Re: [PHP] Upload file on IE8

2010-01-25 Thread Eric Lee
On Tue, Jan 26, 2010 at 6:41 AM, Ernie Kemp ernie.k...@sympatico.ca 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

Re: [PHP] Upload file on IE8

2010-01-25 Thread Ashley Sheridan
On Tue, 2010-01-26 at 07:33 +0800, Eric Lee wrote: On Tue, Jan 26, 2010 at 6:41 AM, Ernie Kemp ernie.k...@sympatico.ca 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'] .

RE: [PHP] Upload file on IE8

2010-01-25 Thread Ernie Kemp
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 issue with IE8

RE: [PHP] Upload file on IE8

2010-01-25 Thread Ashley Sheridan
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 On Mon, 2010-01-25 at 17:41 -0500, Ernie Kemp wrote

Re: [PHP] Upload file name not file

2009-05-02 Thread Ashley Sheridan
On Fri, 2009-05-01 at 12:38 -0400, Simon wrote: On Fri, May 1, 2009 at 9:34 AM, MikeP mpel...@princeton.edu 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

[PHP] Upload file name not file

2009-05-01 Thread MikeP
Hello, Id like to use the popup file system box(input name=userfile type=file /) to choose a file name , but I only want to upload the filename , not the file. Can I do that? Thanks Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Upload file name not file

2009-05-01 Thread Simon
Id like to use the popup file system box(input name=userfile type=file /) 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

Re: [PHP] Upload file name not file

2009-05-01 Thread MikeP
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 turne...@gmail.com wrote in message

Re: [PHP] Upload file name not file

2009-05-01 Thread Simon
On Fri, May 1, 2009 at 9:34 AM, MikeP mpel...@princeton.edu 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

[PHP] upload file problem

2008-07-31 Thread Jignesh Thummar
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); echo File .

Re: [PHP] upload file problem

2008-07-31 Thread Eric Butera
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'])) {

Re: [PHP] upload file problem

2008-07-31 Thread Jignesh Thummar
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 defined

Re: [PHP] upload file problem

2008-07-31 Thread Micah Gersten
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's

Re: [PHP] upload file problem

2008-07-31 Thread Daniel Brown
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'])) {

Re: [PHP] upload file problem

2008-07-31 Thread brian
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);

Re: [PHP] upload file problem

2008-07-31 Thread Jignesh Thummar
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

Re: [PHP] upload file then move between servers

2007-04-21 Thread Tijnema !
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

Re: [PHP] upload file then move between servers

2007-04-21 Thread Richard Lynch
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

[PHP] upload file then move between servers

2007-04-20 Thread blackwater dev
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 storing the file in the db but really need it to be

[PHP] upload file

2007-03-04 Thread Alain Roger
Hi, 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 ? thx. -- Alain

Re: [PHP] upload file

2007-03-04 Thread Stut
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

Re: [PHP] upload file - clients path to file?

2005-08-31 Thread cron
PROTECTED] To: php-general@lists.php.net 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 file on the clients pc

[PHP] upload file - clients path to file?

2005-08-30 Thread angelo
Hi all. 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 this possible?

Re: [PHP] upload file - clients path to file?

2005-08-30 Thread Jasper Bryant-Greene
[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

Re: [PHP] upload file problem

2005-07-10 Thread Richard Lynch
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'] =

[PHP] upload file problem

2005-07-09 Thread Ahmed Abdel-Aliem
Hi i have a problem with a code to upload files on server here is the code $f = $HTTP_POST_FILES['News_Pic']; $dst_file_name = generateUniqueId(); $arr = split(\.,$f['name']); $f['name'] = $dst_file_name; $f['name'] .= ..$arr[count($arr)-1]; $dest_dir = 'main/pictures'; $dest = $dest_dir .

[PHP] upload file size limit

2005-01-31 Thread badlya badlu
Hi, 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. thanks in advance santosh

Re: [PHP] upload file size limit

2005-01-31 Thread Wudi
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

Re: [PHP] upload file size limit

2005-01-31 Thread badlya badlu
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 with

Re: [PHP] upload file size limit

2005-01-31 Thread Thomas Seifert
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, visit:

Re: [PHP] upload file size limit

2005-01-31 Thread badlya badlu
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 guess you are

Re: [PHP] upload file size limit

2005-01-31 Thread Richard Lynch
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,

Re: [PHP] upload file size limit

2005-01-31 Thread Robert Sossomon
Look in /etc/httpd/conf.d/php.conf For a buddy with a file upload need I set it to this: Files *.php SetOutputFilter PHP SetInputFilter PHP LimitRequestBody 760217600 /Files You will need to set your upload limit higher in this file for it to work correctly. Robert -- Robert Sossomon,

Re: [PHP] upload file size limit

2005-01-31 Thread badlya badlu
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: Files *.php SetOutputFilter PHP SetInputFilter PHP LimitRequestBody 760217600 /Files You

[PHP] upload file warning

2004-12-16 Thread yangshiqi
I got a php waring when I upload my file: Warning: MAX_FILE_SIZE of 20 bytes exceeded - file [imgpath=mz-n10.pdf] not saved in Unknown on line 0 In the form I write like these: input type='hidden' name='MAX_FILE_SIZE' value=20 input type='file' name='imgpath' And my

[PHP] upload file permission problem

2004-11-21 Thread Michael Leung
Hi all, I just upgraded my server into PHP 5. I run the same script which is working in 4.2.2. But In PHP 5 has followings msg: Warning: move_uploaded_file(upload_files/Gnatt.htm) [function.move-uploaded-file]: failed to open stream: Permission denied in /var/www/html/simple_upload.php on line

[PHP] Upload file form

2004-04-20 Thread Jeff McKeon
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: SNIP ? Select the file type and browse for that file. The press 'Upload'. The file will be uploaded to the server. No changes in the database are done

RE: [PHP] Upload file form

2004-04-20 Thread Jeff McKeon
-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

RE: [PHP] Upload file form SOLVED

2004-04-20 Thread Jeff McKeon
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 -Original Message

[PHP] upload file

2004-03-30 Thread Ketvin
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? Thanks !

Re: [PHP] upload file

2004-03-30 Thread Marek Kilimajer
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,

Re: [PHP] upload file

2004-03-30 Thread Raditha Dissanayake
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?

[PHP] Upload file field not working as a form element

2004-03-20 Thread Vernon
As much as I try I cannot get a file field in a form inserted into a MySQL record. I've even tried to get it to echo to the page when the page is submitted to itself and it's not reading the field. What am I missing here? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Upload file size limits

2004-01-25 Thread Chris Edwards
I would like to give the users of my web site the ability to upload video type files, up to 12 megs in size. I notice in my PHI.INI there is a memory_limit =8M ; Maximum amount of memory a script may consume (8MB) does this include temporary such as a file being transferred? Also I

Re: [PHP] Upload file size limits

2004-01-25 Thread David T-G
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) % %

Re: [PHP] upload file size

2004-01-04 Thread niclas meyer
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 at least

Re: [PHP] upload file size

2003-11-17 Thread Raditha Dissanayake
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

Re: [PHP] upload file size

2003-11-16 Thread Jason Wong
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 referring

[PHP] upload file size

2003-11-14 Thread joe
Hi i really need help with an upload script. right now i use if ($HTTP_POST_FILES['userfile']['size']$maxsize) { echo File too big; exit; } to determine if the file is larger than allowed. but the problem is, that if the file IS larger, it is still first fully uploaded and then checked. i tested

Re: [PHP] upload file size

2003-11-14 Thread Gerard Samuel
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

RE: [PHP] upload file size

2003-11-14 Thread Johnson, Kirk
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 input type=file tag: input type=hidden

[PHP] upload file size corruption?

2003-03-16 Thread Ronald Petty
I was wondering if php has a bug or is it apache, and how to determine which it it. Every file I upload to my server, I print the file size and it is twice the normal file size? Any idea what is going on, text files look ok, images are all screwed up, large text files are messed up too actually?

Re: [PHP] upload file size corruption?

2003-03-16 Thread Rasmus Lerdorf
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 General

[PHP] Upload file

2003-01-23 Thread Tyler Durdin
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?

Re: [PHP] Upload file

2003-01-23 Thread 1LT John W. Holmes
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 the

Re: [PHP] Upload file

2003-01-23 Thread Jason Wong
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?

[PHP] Upload file thanks

2002-12-03 Thread Wilmar Perez
Hello guys My problem uploading files was solved, thanks a lot to all those that helped me in any way. Bye -- *** Wilmar Pérez Network Administrator Library System

[PHP] upload file

2002-08-25 Thread Daniel Guerrier
This should be very simple but it isn't working. upload.html has this: form action=upload2.php method=POST enctype=multipart/form-data input type=file name=userfile input type=submit name=submit value=submit /form and upload2.php has this: ?php echo(in post); echo($_POST['userfile]); ?

Re: [PHP] upload file

2002-08-25 Thread Chris Shiflett
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

Re: [PHP] upload file

2002-08-25 Thread Daniel Guerrier
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 Mailing List

[PHP] A Question about PHP upload file

2002-08-15 Thread mintbaggio
Is there is a volume limitted for PHP upload file using HTTP? I heard of there is a 8-9Mb limitted,is it true? Is there a method to solve it?

[PHP] Re: A Question about PHP upload file

2002-08-15 Thread Bogdan Stancescu
http://www.php.net/manual/en/configuration.php#ini.memory-limit http://www.php.net/manual/en/configuration.php#ini.post-max-size http://www.php.net/manual/en/configuration.php#ini.upload-max-filesize Mintbaggio wrote: Is there is a volume limitted for PHP upload file using HTTP? I heard

[PHP] Re: A Question about PHP upload file

2002-08-15 Thread David Robley
In article 002a01c24474$33be4d80$[EMAIL PROTECTED], [EMAIL PROTECTED] says... SXMgdGhlcmUgaXMgYSB2b2x1bWUgbGltaXR0ZWQgZm9yIFBIUCB1cGxvYWQgZmlsZQ0KdXNpbmcg SFRUUD8NCkkgaGVhcmQgb2YgdGhlcmUgaXMgYSA4LTlNYiBsaW1pdHRlZCxpcyBpdCB0cnVlPw0K SXMgdGhlcmUgYSBtZXRob2QgdG8gc29sdmUgaXQ/DQo= If you can

[PHP] Upload File Problem

2002-07-18 Thread Mark Colvin
I have a simple script that attempts to upload a file and save it on the server. When I click send file I get this error message 'Warning: Unable to open '' for reading: No such file or directory in /var/www/html/upload.php on line 5 Couldn't copy the file!'. The file is being uploaded from a Win

RE: [PHP] Upload File Problem

2002-07-18 Thread joakim . andersson
From: Mark Colvin [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 10:09 AM -- upload.php -- ?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 will

RE: [PHP] Upload File Problem

2002-07-18 Thread Mark Colvin
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'

RE: [PHP] Upload File Problem

2002-07-18 Thread joakim . andersson
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']))' returns

RE: [PHP] Upload File Problem

2002-07-18 Thread Mark Colvin
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

[PHP] upload file size

2002-07-05 Thread Norman Zhang
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? Please give me some pointers here. TIA. Regards, Norman --

Re: [PHP] upload file size

2002-07-05 Thread Jason Wong
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? Please

[PHP] Upload File

2002-05-02 Thread Kalpin Erlangga Silaen
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. Thank You -- Kalpin Erlangga Silaen Kalpin is [EMAIL PROTECTED] Kalpin is not a irc warrior http://www.geocities.com/kalpinus

Re: [PHP] Upload File

2002-05-02 Thread Justin French
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

Re: [PHP] Upload File

2002-05-02 Thread 1LT John W. Holmes
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

Re: [PHP]Upload file to system

2002-01-28 Thread sundogcurt
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 Subject: Re: [PHP]Upload file to system You could try contacting your

[PHP]Upload file to system

2002-01-27 Thread Duky Yuen
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 on your harddisk that you want to upload to the server. But I don't know if this is possible. If this is possible.Can somebody tell me which

Re: [PHP]Upload file to system

2002-01-27 Thread sundogcurt
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 on

Re: [PHP]Upload file to system

2002-01-27 Thread Duky Yuen
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

Re: [PHP]Upload file to system

2002-01-27 Thread sundogcurt
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

[PHP] Upload file problems on Win 2K

2001-12-26 Thread Mike Baranski
Hi, I'm trying to fix upload file problems on Win 2K server. I've got the allow directive set to on in the PHP.ini file, and the permissions set to give everyone full access on the directory specified in the ini file. The file never shows up. I'm using code identical to working code for a

RE: [PHP] Upload file problems on Win 2K

2001-12-26 Thread Alok K. Dhir
] Upload file problems on Win 2K Hi, I'm trying to fix upload file problems on Win 2K server. I've got the allow directive set to on in the PHP.ini file, and the permissions set to give everyone full access on the directory specified in the ini file. The file never shows up. I'm using

[PHP] Upload file(s) using socket/fopen

2001-10-25 Thread Dirk Maetens
Hello list, Simple Enough Objective: store file remotely (wu-ftp); MinorSnag: PHP's ftp-functions unavailable at localhost; BelowWorkaround: works fine for deleting remote file; MajorSnag: how to STORE a file remotely using socket? ?php $ftp=fsockopen(ftp.server.com, 21, $errno, $errstr, 60);

[PHP] upload file using socket/fopen

2001-10-25 Thread speedfreak
Hello list, Simple Enough Objective: store file remotely (wu-ftp); MinorSnag: PHP's ftp-functions unavailable at localhost; BelowWorkaround: works fine for deleting remote file; MajorSnag: how to STORE a file remotely using socket? ?php $ftp=fsockopen(ftp.server.com, 21, $errno, $errstr, 60);

[PHP] Upload File Path Problem

2001-10-05 Thread Roger Bryant
All, I am putting together a simple upload program where an HTML form calls a php script passing a file which is then used to upload. I am running this locally currently, prior to rolling out to a test server. My problem is this. The variable $filename I am passing from the form to the php

Re: [PHP] Upload File Path Problem

2001-10-05 Thread root
$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

Re: [PHP] Upload file from my local C:

2001-04-10 Thread Christian Reiniger
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 input type='file' ? Then re-read the

Re: [PHP] Upload file from my local C:

2001-04-10 Thread Keyur Kalaria
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, 2001 4:15 PM Subject: Re: [

[PHP] Upload file from my local C:

2001-04-09 Thread HK Woo
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 Thank You! HK Woo -- PHP General Mailing List

RE: [PHP] Upload file from my local C:

2001-04-09 Thread Johnson, Kirk
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 w

Re: [PHP] Upload file from my local C:

2001-04-09 Thread HK Woo
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 to webserver. However, it is not successful. It prompts that "

Re: [PHP] Upload file from my local C:

2001-04-09 Thread Michael Hall
l 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 to webserver. However, it is not

Re: [PHP] Upload file from my local C:

2001-04-09 Thread Augusto Cesar Castoldi
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 to webserver. However, it is no

Re: [PHP] Upload file from my local C:

2001-04-09 Thread Christian Reiniger
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 some

Re: [PHP] Upload file from my local C:

2001-04-09 Thread HK Woo
al 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 to

Re: [PHP] upload file problems

2001-03-13 Thread Jason Stechschulte
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

[PHP] upload file problems

2001-03-12 Thread Jerry Lake
Using this code snip ?php if (is_uploaded_file($userfile)) { echo $userfile; copy($userfile, "/www/workbox/htdocs/audio"); } else { echo "Possible file upload attack: filename '$userfile'."; } ? /snip I keep getting the following error. the directory exists and is chmoded to

[PHP] upload file

2001-02-10 Thread Marisol Díaz E.
Hello I need to do upload a file, I have problem with instruction copy(?,?); When it copy the file, just copy to tmp, and it change the name. Marisol Daz E. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] upload file

2001-02-10 Thread Boaz Yahav
, February 10, 2001 6:21 PM To: PHP General Subject: [PHP] upload file Hello I need to do upload a file, I have problem with instruction copy(?,?); When it copy the file, just copy to tmp, and it change the name. Marisol Daz E. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e