[PHP] File upload problem

2001-08-23 Thread A.D. Vijverberg
Hello there, I am trying to create a form for uploading files to the local intranet. Therefore I created a form for uploading files as mentioned in the PHP manual. After submitting the form I want to copy the file to the intranet with as name the original name on the system of the client. The

[PHP] Re: Apache/PHP File Upload problems

2001-08-14 Thread Martin Laws
Thanks for the message Richard, I've been advised to upgrade to a new version (now running 4.0.6) and it works fine. Martin Richard Lynch wrote: If I try to submit a file for upload using the form using Netscape I get Document contains no data. If I do the same in IE5.0 it just waits

[PHP] Apache/PHP File Upload problems

2001-08-13 Thread Martin Laws
I have a server running SuSE Linux Pro V7.0 (with security patches) , Apache 1.3.19 , and PHP 3.0.17-dev. The database engine I am using is MySQL 3.22.32 (not relevant for this problem though). I am trying to get file uploads working to the server, I currently have a page which is written in PHP

[PHP] Re: Apache/PHP File Upload problems

2001-08-13 Thread Richard Lynch
If I try to submit a file for upload using the form using Netscape I get Document contains no data. If I do the same in IE5.0 it just waits forever. Looking at the apache server error_log file I appear to be getting a Segmentation Fault (11) each time I try and Post the contents of the

[PHP] file upload problem - urgent help needed

2001-07-31 Thread Steve Brett
i know this has been posted before but i still haven't figured it out. the bloke who runs the server for a 'client' of mine has set safe mode on and therefore the standard file upload scripts fail. i needed to create a 'dump' of the database in text files whihc i've done by creating a dir

Re: [PHP] File Upload

2001-07-29 Thread Philip Murray
Quoting Gerard Samuel [EMAIL PROTECTED]: Hey all, Im running freebsd 4.3, apache 1.3.20, mysq.3.23.39, php 4.0.6. Im trying to figure out file uploading. If I echo $pic, $pic_name, $pic_size, $pic_type, after the form is submitted, everything echoes correctly. In my script I have ==

Re: [PHP] File Upload

2001-07-29 Thread Gerard Samuel
Phil, thats why you get the big bucks. Dammit, I was messing around with this all day. Thanks it works now. Gerard Philip Murray wrote: Quoting Gerard Samuel [EMAIL PROTECTED]: Hey all, Im running freebsd 4.3, apache 1.3.20, mysq.3.23.39, php 4.0.6. Im trying to figure out file

RE: [PHP] File Upload Size Limits

2001-07-27 Thread Gunther E. Biernat
I once had the same problem in a similar environment, but I never worked on it to fix it because it was sufficient for the given purpose. Later, I moved the script 1:1 (including php.ini) to a server running caudium as web server software and the problem was gone... Huh? Did anyone have any

[PHP] File Upload Size Limits

2001-07-26 Thread Michael Conley
I am running PHP 4.0pl1 with Apache 1.3.14 on RedHat Linux 7.1. I am trying to do a file upload from the users PC to my web server. If I do a small file, the transfer goes fine. If I do a large file ( 50 MB), the transfer fails saying either the file was not available for reading or my script

RE: [PHP] File Upload Size Limits

2001-07-26 Thread Michael Conley
Did anyone have any thoughts on this? I can upload an 8 MB file, but after that the upload fails. -Original Message- From: Michael Conley [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 7:41 AM To: '[EMAIL PROTECTED]' Subject: [PHP] File Upload Size Limits I am running PHP

[PHP] File Upload Abject Misery Solved

2001-07-20 Thread Jason Rennie
Thank you for everybody tried to help with the file uploading problem. I figured out the problem. Don't you hate it how the obvious mistakes are the hardest to find. The answer was, it is ENCTYPE not ENC_TYPE doh! Thanks again everybody Jason -- PHP General Mailing List

Re: [PHP] File Upload Abject Misery Solved

2001-07-20 Thread David Robley
On Fri, 20 Jul 2001 18:49, Jason Rennie wrote: Thank you for everybody tried to help with the file uploading problem. I figured out the problem. Don't you hate it how the obvious mistakes are the hardest to find. The answer was, it is ENCTYPE not ENC_TYPE doh! Thanks again

Re: [PHP] File Upload Headaches

2001-07-19 Thread David Robley
On Thu, 19 Jul 2001 16:06, Jason Rennie wrote: Hi all, Can anybody see what is wrong with this code ?? echo \$userfile = $userfile; echo $HTTP_POST_FILES['userfile']['tmp_name']; // now to provide an assignment submission box print P; print FORM

[PHP] File Upload Headaches

2001-07-18 Thread Jason Rennie
Hi all, Can anybody see what is wrong with this code ?? echo \$userfile = $userfile; echo $HTTP_POST_FILES['userfile']['tmp_name']; // now to provide an assignment submission box print P; print FORM

[PHP] File upload content type problem

2001-07-11 Thread Prokop Vlan
Hi all. This is the first time I write something to newsgroups. I've this problem: After upgrading PHP3 -PHP4 and changing the variables to array ($file_type - $HTTP_POST_FILES['file']['type'] ) The variables that are automatically created when uploading a $file have all worked properly exept

[PHP] file upload

2001-07-02 Thread Wilbert Enserink
Hi all, i'm using php version 4.0.5 and i'm playing around with the file upload command using form and script which i copied from php.net Unfornunately the script is giving an error: Warning: Unable to open '/tmp/phpmOSK48' for reading: No such file or directory in

RE: [PHP] file upload

2001-07-02 Thread Adrian Ciutureanu
PROTECTED]] Sent: 2 iulie 2001 17:08 To: [EMAIL PROTECTED] Subject: [PHP] file upload Hi all, i'm using php version 4.0.5 and i'm playing around with the file upload command using form and script which i copied from php.net Unfornunately the script is giving an error

Re: [PHP] file upload

2001-07-02 Thread Wilbert Enserink
thanx adrian. I humbly bow for da masta :-] Wilbert - Original Message - From: Adrian Ciutureanu [EMAIL PROTECTED] To: Wilbert Enserink [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 4:19 PM Subject: RE: [PHP] file upload Try

[PHP] file upload: $userfile is never none

2001-06-23 Thread Matthias Bendel
sice i installed php 3.0.18 html forms whith blank file-input never returns 'none'. $userfile is always unset. with php 3.0.12 my file-upload scripts worked perfectly. i know i could do samething like: if ($userfile != 'none' strlen($userfile)) { ... } but i have alot of scripts to change.

[PHP] file upload

2001-06-20 Thread dave go
Hi, I have tried everything and still having problem uploading. Actually, my problem is with IE, I got a unable to read file or file not found message from IE. But uploading is fine with NS. Does anyone has this experience? Any pointers? My file is only 20K word document and I have set the max

[PHP] File upload - disappearing variables

2001-05-24 Thread Steve Cook
Hi folks, I've been banging my head against a problem with file uploads for the last few days. Perhaps someone here has seen this before. My problem is that when handling my file uploads, I can print out the values of my form variables, both using HTTP_POST_VARS[var] and $var. I can also see

[PHP] File upload form

2001-05-22 Thread Boget, Chris
Below is the (very) simple form that I'm using to allow users to upload files to my site: --- html head titleUpload Attachment/title /head body br center h3Upload File/h3 You are uploading from an unsecure server.br FORM ENCTYPE=multipart/form-data

Re: [PHP] File upload form

2001-05-22 Thread Charles Williams \(CEO\)
sniped for brevities sake ;) Chris, Have you asked what browsers they are using? Also, what are you using to serve this page? chuck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

RE: [PHP] File upload form

2001-05-22 Thread Boget, Chris
Have you asked what browsers they are using? This happens primarily on IE but it also happens using NS Also, what are you using to serve this page? ? PHP 4.0.4 and Apache. Chris

Re: [PHP] File upload !!!!

2001-05-14 Thread Matthias Roggendorf
Hi, thanks for the responses! Here is the code snippet: The form: FORM ENCTYPE=multipart/form-data ACTION=upload.php METHOD=POST INPUT TYPE=hidden name=MAX_FILE_SIZE value=1000 Send this file: INPUT NAME=userfile TYPE=file INPUT TYPE=submit VALUE=Send File The PHP part: if

re: [PHP] File upload !!!

2001-05-14 Thread Rares
Is your file greater than 1000 bytes? If it is, this is the answer: the file you try to upload is too large. Increase the limit (beware of the built-in limit of PHP - in php.ini) INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="1000" -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] File upload !!!!

2001-05-14 Thread Deependra B. Tandukar
Increase your file size limit from 1000 or only the file size smaller or equal to 1000bytes will be uploaded. DT - Original Message - From: Matthias Roggendorf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 14, 2001 12:36 PM Subject: Re: [PHP] File upload Hi, thanks

RE: [PHP] File upload !!!!

2001-05-14 Thread Jaime Bozza
; Matthias Roggendorf Subject: Re: [PHP] File upload Hi, A snippet of code could help, but I recently experienced two problems with uploading and gaining the information. Are you using the correct ENCTYPE for the upload, along with using POST (GET doesn't work). Also, if you are trying to us

[PHP] File upload !!!!

2001-05-13 Thread Matthias Roggendorf
Hi, sorry for asking such easy things but I really have a hard time to get this to work: I use exactly the scripts which are given on the PHP website to upload files. The problem is that the variable $userfile just contains none and $userfile_size is 0. The rest of the variables have the right

Re: [PHP] File upload !!!!

2001-05-13 Thread Kevin Williams
Hi, A snippet of code could help, but I recently experienced two problems with uploading and gaining the information. Are you using the correct ENCTYPE for the upload, along with using POST (GET doesn't work). Also, if you are trying to us the information from inside a function, I had to

Re: [PHP] File upload !!!!

2001-05-13 Thread Chris Cameron
Unless you're using PHP3, I'd try using $HTTP_POST_FILES variable as suggested in http://www.php.net/manual/en/features.file-upload.php. Chris -- ... perhaps yer just such a man you put an embarasing fire in her loins - Noah A. On Sun, 13 May 2001, Matthias Roggendorf wrote: Hi,

[PHP] File upload using form

2001-05-09 Thread Gregory Eycken
Hi! %-) The code below makes a form. This form creates a temporary file that contains the data of the original source file. This temp file is sent to the server using FTP. On my first config (Win NT4, Apache 1.3.19, PHP 4.0.4pl1), the temp file is exactly the same as the original file and so

[PHP] File upload using form

2001-05-09 Thread Gregory Eycken
Hi! %-) The code below makes a form. This form creates a temporary file that contains the data of the original source file. This temp file is sent to the server using FTP. On my first config (Win NT4, Apache 1.3.19, PHP 4.0.4pl1), the temp file is exactly the same as the original file and so

Re: [PHP] File upload problems.

2001-05-05 Thread Yasuo Ohgaki
Sounds like you don't copy tmp files to other place. Most tmp files are deleted after program execution, PHP deletes tmp files as well. Refer to PHP manual for details. Regards, -- Yasuo Ohgaki Hilbert Mostert [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

[PHP] File upload problems.

2001-05-04 Thread Hilbert Mostert
Hello all, I have some serious problems with file uploads, when i upload a file to the server it creates the $userfile, $userfile_type, $userfile_name and $userfile_size variables, but it doesn't create the actual file in the /tmp dir (the upload directory). I have used redhat 7.0 with apache

[PHP] File upload form

2001-05-01 Thread Boget, Chris
Below is the (very) simple form that I'm using to allow users to upload files to my site: --- html head titleUpload Attachment/title /head body br center h3Upload File/h3 You are uploading from an unsecure server.br FORM ENCTYPE=multipart/form-data

RE: [PHP] File upload form

2001-05-01 Thread Boget, Chris
The problem that I'm experiencing using the above form is that when some users (and the problem is consistent for those users) submit the above form, *none* of the POST variables are getting passed to the receiving page. None of the hidden variables, not the input type = file variable,

RE: [PHP] File upload form

2001-05-01 Thread Boget, Chris
Again, any help would be greatly appreciated! could be a browser specific issue. have you checked into the possibility that people having problems are all using the same browser? I don't know what all of them are using, but most are using IE. I don't know how feasable it would be to get

[PHP] File upload

2001-05-01 Thread Boget, Chris
From the manual: Handling file uploads Uploading multiple files Common Pitfalls Not validating which file you operate on may mean that users can access sensitive information in other directories. What is meant by the above? How would you validate that you weren't operating on the

[PHP] file upload failed....:(

2001-04-15 Thread JoshuaHu
I use PHP 4.04p11 on Apache. But my upload.php can't work... f1 is the name of file-upload-variable ?php if (copy($f1,"upload.txt")) { echo "bUpload successfully"; $fname=substring (strrchr($f1_name,"\"),1); } unlink ($f1); ? The browser returns Parse error: parse error in

RE: [PHP] file upload failed....:(

2001-04-15 Thread Ankur Verma
is substr(). hope that helps regards Ankur Verma New Delhi India -Original Message- From: JoshuaHu [mailto:[EMAIL PROTECTED]] Sent: Monday, April 16, 2001 9:28 AM To: [EMAIL PROTECTED] Subject: [PHP] file upload failed:( I use PHP 4.04p11 on Apache. But my upload.php can't work...

[PHP] file upload

2001-04-13 Thread luis
hi! I've php4.0.4pl1 and apache1.3.14 installed and I got a problem after the file is uploaded, using the copy function. The uploaded file was automatically added 2 lines in the beggining of the file, tellling the content-type of the file. Is there any way not to write those line into the

Re: [PHP] file upload

2001-04-13 Thread maatt
Is there any way not to write those line into the uploaded file? It's a bug in 4.0.4pl1 on (AFAIK) RH7 and Apache. Will be fixed in 4.0.5. You can't avoid them, but use something like the following to strip them out: /* void fix_broken_header(reference file) * Incorporates fix for problem

Re: [PHP] file upload question

2001-04-05 Thread Renze Munnik
Joe Stump wrote: I'm in the habit of putting all my form variables into an array (ie: input type="text" name="f[firstname]" value="? echo $f['firstname']; ?") so that I have a nice little package to pass to functions. My question is can you put files into those as well? If so how does it

Re: [PHP] file upload question

2001-04-05 Thread Yasuo Ohgaki
Yes. Refer to PHP Manual. There is description for that. -- Yasuo Ohgaki "Joe Stump" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm in the habit of putting all my form variables into an array (ie: input type="text" name="f[firstname]" value="? echo

Re: [PHP] File upload via HTML forms

2001-04-03 Thread \[Intent A/S\] Tais M. Hansen
Hi! system(), exec(), popen() and similar has been disabled in the system I'm working on, if that's what you're talking about. :( I can't read the temp file because it's created in PHP's UID which is not the same as the script's. I also tried the FTP approach, but apparently the files written

Re: [PHP] File upload via HTML forms

2001-04-03 Thread \[Intent A/S\] Tais M. Hansen
SOLVED! Setting TMPDIR="site-specific-upload-directory" at execution time of the PHP parser, made it work. The directory must have a+rwx though! -- -- Intent A/S Tais M. Hansen Web Developer ""[Intent A/S] Tais M. Hansen"" [EMAIL PROTECTED] wrote in message 9abu1j$99q$[EMAIL

[PHP] file upload

2001-04-03 Thread Augusto Cesar Castoldi
I'm having a problem with file upload. I have "INPUT NAME="arqcliente" TYPE="file"" in the HTML file. The action of the form is "upload.php", and in the upload.php3 I have this line "INPUT NAME="arqcliente" TYPE="file" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] file upload

2001-04-03 Thread Augusto Cesar Castoldi
wrote: And the problem is? - Original Message - From: "Augusto Cesar Castoldi" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 03, 2001 7:04 PM Subject: [PHP] file upload I'm having a problem with file upload. I have "INPUT NAME="ar

Re: [PHP] file upload

2001-04-03 Thread Augusto Cesar Castoldi
I get this error message: Warning: Unable to open 'F:\\Augusto\\Ws_ftp.log' for reading: No such file or directory in /home/httpd/html/admin/upload.php3 on line 5 regards, augusto On Tue, 3 Apr 2001, Andrew Rush wrote: on 4/3/01 1:04 PM, [EMAIL PROTECTED] splat open and thusly melted:

RES: [PHP] file upload

2001-04-03 Thread Augusto Cesar Castoldi
inal- De: Andrew Rush [mailto:[EMAIL PROTECTED]] Enviada em: tera-feira, 3 de abril de 2001 18:05 Para: Augusto Cesar Castoldi Assunto: Re: [PHP] file upload on 4/3/01 4:51 PM, Augusto Cesar Castoldi at [EMAIL PROTECTED] wrote: hehe, I forgot. I'm getting this error messagem: -

[PHP] File upload via HTML forms

2001-04-02 Thread \[Intent A/S\] Tais M. Hansen
Hi! I'm currently working with a site on a safe mode enabled server. First off, there's no way safe mode can be disabled. Now, I need to be able to upload a file via a HTML form post, read and copy this file to a different location. But when the file is uploaded, it is placed in a tmp dir with

RE: [PHP] File upload via HTML forms

2001-04-02 Thread John Almberg
Howdy, You should be able to read this file using the file system functions. The PHP process (if it is set up properly) should have read access to this directory. The problem you will have is *writing* it to your own directory, as the PHP process probably *doesn't* have write access to your

RE: [PHP] File upload and database optimization questions

2001-03-27 Thread Jason Lotito
3. At the time of upload, it is possible to specify a list of users who can "view" and "modify" the file. Currently I am storing this list as a whitespace-separated list in a mySQL TEXT column. Column "view" data: 3 11 1 At the time of displaying the list, I first SELECT * the

[PHP] File upload and database optimization questions

2001-03-26 Thread Vikram Vaswani
Hello all, I'm in the process of building a document-storage system for my firm with PHP. The goal is this is essentially to allow users to upload documents to our server (central repository) and allow other users to view/modify these files. I have a number of questions, most of them related to

RE: [PHP] File upload and database optimization questions

2001-03-26 Thread Jason Murray
1. 2. Both seem fine to me. 3. At the time of upload, it is possible to specify a list of users who can "view" and "modify" the file. Currently I am storing this list as a whitespace-separated list in a mySQL TEXT column. Column "view" data: 3 11 1 At the time of displaying the

[PHP] File Upload Size Limit Problem

2001-03-10 Thread Jeff Oien
I've modified a script for uploading multiple files and am trying to get it to produce an error if the size of the file is larger than 2 MB but can't get it to work. Here is the code in question with the who code below. When I try to upload a 3 MB file it doesn't produce an error. Everything

Re: [PHP] File Upload Size Limit Problem

2001-03-10 Thread Yasuo Ohgaki
""Jeff Oien"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I've modified a script for uploading multiple files and am trying to get it to produce an error if the size of the file is larger than 2 MB but can't get it to work. Here is the code in question with

[PHP] file upload tutorial.

2001-03-09 Thread Jerry Lake
Anyone know where I can find a file upload tutorial ? Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] file upload tutorial.

2001-03-09 Thread Aaron Tuller
does anyone look at the manual anymore? there's TONS of info at: http://www.php.net/manual/en/features.file-upload.php -aaron At 1:10 PM -0800 3/9/01, Jerry Lake wrote: Anyone know where I can find a file upload tutorial ? Jerry Lake- [EMAIL PROTECTED] Web Designer Europa

RE: [PHP] file upload tutorial.

2001-03-09 Thread Jerry Lake
] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Aaron Tuller [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 1:17 PM To: Jerry Lake; [EMAIL PROTECTED] Subject: Re: [PHP] file upload tutorial. does

[PHP] File Upload

2001-03-06 Thread Cedric Veilleux
Hi, I have problems with Post File Uploads... When trying to upload very small files it works, although my browser timeouts or I get a Server Hangup Description: Server Hangup message Is it Apache that times out? I am wondering what is causing this and what can be done.. Thank you,

[PHP] File Upload doesn't work with Netscape Serious problem!

2001-03-04 Thread Dhaval Desai
Hi! File upload doesn't work with Netscape Navigato. I have Netscape COmmunicator 4.5. I try to upload files and I get Network Error. If it is working for any of you guys please give me the URL so that I can test it out and check my problem.. Help me out. Thank You! Cheers!~ Dhaval

[PHP] File upload not for Netscape?

2001-03-02 Thread Dhaval Desai
Hi! File upload doesn't seem to work from Netscape. It works with Internet Explorer. In netscape it says Network Error Occured.. Why's that..? Thanl You! Dhaval Desai __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail.

Re: [PHP] File Upload Strangeness

2001-02-27 Thread Chris Lee
you will find some browsers dont work like they should, opera doesnt seem to like my uploads. ?php include_once('database.egn'); include_once('time.egn'); if ($db_file != 'none' AND $db_file AND is_uploaded_file($db_file) AND filesize($db_file)) { $db_file =

RE: [PHP] File Upload Strangeness

2001-02-27 Thread Jason Murray
form method=post enctype='multipart/form-data' action='$PHP_SELF' input type=file name=db_file input type=submit /form Don't you need a MAX_FILE_SIZE for this to work properly? Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] File Upload Strangeness

2001-02-26 Thread Jason Murray
Hi there, We are currently using 3.0.16 (I know :(). I have a form action pointing to $PHP_SELF. After submitting the form information, $userfile contains what I expect in $userfile_name. I have had all sorts of troubles with file uploads lately, but eventually they start working. Not this

Re: [PHP] file upload error w/internet exploder!

2001-02-23 Thread Richard Lynch
I've created a simple form that uploads file to my server. I noticed that I'm having problems when I use Internet Explorer 4.5 and 5.0 on the Mac (I haven't checked it yet on the pc). It may have something to do with the path to the file. When I use Netscape, the entire path is displayed in

Re: [PHP] File upload problem on IIS/NT4

2001-02-20 Thread Phil Driscoll
Make sure that upload_tmp_dir in your php.ini file is set to something sensible for a windows machine. I have it set to f:\php\temp (and you also need to make sure that the directory specified actually exists). Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112

[PHP] File upload problem on IIS/NT4

2001-02-19 Thread Josh G
Hi guys, I'm having a problem with file uploads, and I can't seem to fix it. I'm on IIS using php as an ISAPI module on NT4, and file uploads seem to work, but $userfile does not exist. Any ideas on how I can fix it? userfile:\\php8 userfile_name:notes.txt Cheers, Gfunk -

Re: [PHP] File upload problem on IIS/NT4

2001-02-19 Thread John Vanderbeck
- Original Message - From: Josh G [EMAIL PROTECTED] To: PHP User Group [EMAIL PROTECTED] Sent: Monday, February 19, 2001 6:58 PM Subject: [PHP] File upload problem on IIS/NT4 Hi guys, I'm having a problem with file uploads, and I can't seem to fix it. I'm on IIS using php as an ISAPI module on NT4

Re: [PHP] file upload size limits

2001-02-15 Thread Nick Winfield
On Thu, 15 Feb 2001, Scott wrote: I am uploading files and want to limit the size of the file. I can do this as long as the file that I am uploading doesn't exceed the Server limit. We don't own the server so I can't change any configuration on the server. Is there a way to Catch the

[PHP] File Upload equiv. with Java/JSP

2001-02-14 Thread jason cox
Does anyone know the difference between file upload handling in PHP and with Java/JSP? An example of the Java equiv. would be most appreciated. I already know how to do it with PHP and am trying to do a bit of conversion. I'm interested more in the backend processing. thx, jason

Re: [PHP] File Upload equiv. with Java/JSP

2001-02-14 Thread Michael Stearne
I'm not sure but I think that may be something still missing from JSP. I am not sure and believe I read about a class or something that handles it. Looking at java.sun.com would probably be your best bet. Michael jason cox wrote: Does anyone know the difference between file upload handling

[PHP] File Upload stuck in the midst

2001-02-13 Thread Dhaval Desai
Hi! I am facing some problems while uploading files.. I just copied the code from php.net from the section "Handling File Uploads". My index.php pages has the following code: html head titleFile Uploads/title /head body FORM

Re: [PHP] File Upload stuck in the midst

2001-02-13 Thread Ankur Verma
To: [EMAIL PROTECTED] Sent: Tuesday, February 13, 2001 2:10 PM Subject: [PHP] File Upload stuck in the midst Hi! I am facing some problems while uploading files.. I just copied the code from php.net from the section "Handling File Uploads". My index.php pages has the following

Re: [PHP] File Upload stuck in the midst

2001-02-13 Thread Ankur Verma
y 13, 2001 2:10 PM Subject: [PHP] File Upload stuck in the midst Hi! I am facing some problems while uploading files.. I just copied the code from php.net from the section "Handling File Uploads". My index.php pages has the following code: html head titleFile Uploads/title

[PHP] file upload temp file is and isn't there

2001-02-13 Thread Aaron D. Turner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Solaris 7 Apache 1.3.14 PHP 4.0.4p1 For the life of me I can't figure out what's going on. I have: form enctype='multipart/form-data' action='/admin/upload.php' method='post' input type=hidden name=MAX_FILE_SIZE value=5000 input

Re: [PHP] file upload temp file is and isn't there

2001-02-13 Thread Michael McGlothlin
A lil clip from Devedge.. you need a VALUE="" field along w/ a NAME="" maybe? This places an element on an HTML form that lets the user supply a file as input. When the form is submitted, the content of the specified file is sent to the server as the value portion of the name/value pair for

Re: [PHP] file upload temp file is and isn't there

2001-02-13 Thread Aaron D. Turner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 13 Feb 2001, Michael McGlothlin wrote: A lil clip from Devedge.. you need a VALUE="" field along w/ a NAME="" maybe? A VALUE= isn't required for TYPE=file (and adding it didn't solve my problem). This places an element on an HTML

Re: [PHP] file upload temp file is and isn't there

2001-02-13 Thread jason cox
Aaron, Are you processing the file on the page you're "posting" to? Could you send your processing code so we can have a look? If you're still having problems, I can send you an example. Jason --- "Aaron D. Turner" [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: [PHP] file upload temp file is and isn't there

2001-02-13 Thread Aaron D. Turner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 13 Feb 2001, jason cox wrote: Aaron, Are you processing the file on the page you're "posting" to? Yep. A little more info this time. Ok this makes no freaking sense to me: I can upload my /etc/passwd file - -rw-r--r--1 root

Re: [PHP] file upload temp file is and isn't there

2001-02-13 Thread Aaron D. Turner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ah, figured out the problem. MAX_FILE_SIZE is in BYTES not Kilobytes. Any file 5K was killed. - -- Aaron Turner [EMAIL PROTECTED]|synfin.net|linuxkb.org URI:www.synfin.net They that can give up essential liberty to obtain a little temporary

[PHP] File upload - ascii format

2001-02-06 Thread Shane McBride
How can I ensure that a file is transferred in ascii mode using the following: form enctype="multipart/form-data" method="post" action="do_upload.php" pstrongFile to Upload:/strongbr input type="file" name="img1" size="30"/p emplresults.txtinput type="radio" name="file_type"

Re: [PHP] File upload - ascii format

2001-02-06 Thread David Robley
On Wed, 7 Feb 2001 13:42, Shane McBride wrote: How can I ensure that a file is transferred in ascii mode using the following: form enctype="multipart/form-data" method="post" action="do_upload.php" pstrongFile to Upload:/strongbr input type="file" name="img1" size="30"/p

Re: [PHP] File upload - ascii format

2001-02-06 Thread David Robley
On Wed, 7 Feb 2001 13:58, David Robley wrote: On Wed, 7 Feb 2001 13:42, Shane McBride wrote: How can I ensure that a file is transferred in ascii mode using the following: form enctype="multipart/form-data" method="post" action="do_upload.php" pstrongFile to Upload:/strongbr

[PHP] File upload problem

2001-01-29 Thread Hugo Trovao Mota
Hi! I've recently upgraded my system to Redhat 7, running Apache 1.3.14, PHP 4.0.4pl1 and mod_perl 1.24. Since that, some of my PHP scripts just stopped working (they worked just fine before). When I use file upload, all the uploaded files get a "free bonus" 'Content-Type' header that makes

[PHP] File upload error

2001-01-26 Thread Data Driven Design
I have a script that works fine on my server but gives this error on the server where I need it. Warning: File Upload Error - Unable to open temporary file [./php06339aaa] in /home/sites/site9/web/photo_admin/upload.php3 on line 138 Could someone point me in the right direction? Thanks. Data

RE: [PHP] File upload error

2001-01-26 Thread Robert Collins
that sounds like a permissions error. check the permissions for all of the directories and the file along your path. -Original Message- From: Data Driven Design [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 1:04 PM To: [EMAIL PROTECTED] Subject: [PHP] File upload error I

Re: [PHP] File upload on linux

2001-01-19 Thread Brian Clark
Hello MacBane, (M == "MacBane") [EMAIL PROTECTED] writes: M I have some file upload code but it is not woking on debian linux, M could some one give me a hand snip M $the_path is set some where else What is the value of $the_path? M $path = "/var/www/cms/gentext/$section/$doctype/"; This

<    1   2   3   4   5   6