[PHP] file upload

2004-10-27 Thread Akshay
I've been trying to come up with an algorithm that will allow me to upload all the files in a folder. The scheme I have in mind is to use a feedback form that will let me pick out a target folder on my local machine. Upon submitting the form, I'd like the script to upload all the files in

Re: [PHP] file upload

2004-10-27 Thread raditha dissanayake
Akshay wrote: I've been trying to come up with an algorithm that will allow me to upload all the files in a folder. The scheme I have in mind is to use a feedback form that will let me pick out a target folder on my local machine. Upon submitting the form, I'd like the script to upload all

Re: [PHP] file upload

2004-10-26 Thread Kris
H Setup a CRON job using SCP or cURL. You can use SOAP or create your own similar system. I have never used SOAP but use the same principles. Example: Company X needs some strange format of data (text file, CSV or whatever) delivered to them SECURELY at 5am EST. The company cannot

Re: [PHP] file upload

2004-10-26 Thread Kris
Victor Yes, Chris is correct. Maybe you can POST your file via cURL to the remote script expecting to receive your file from the authentication site. Definitely check PEAR. There is also some info at php.net about new SOAP capabilites built-in to PHP 5. Unfortunately I have only used cURL

RE: [PHP] file upload

2004-10-26 Thread Jesse Castro
Ahh, if you *have* to push the data (which you obviously do) and the authentication site has no other authentication methods then you have to POST the file with PHP. It can be done, there are many classes for it, I can't recommend any specific class, but I'm sure someone else here could.

RE: [PHP] file upload

2004-10-26 Thread Zareef Ahmed
-Original Message- From: Jesse Castro [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 7:13 PM To: Victor C. Cc: [EMAIL PROTECTED] Subject: RE: [PHP] file upload Ahh, if you *have* to push the data (which you obviously do) and the authentication site has no other authentication

[PHP] file upload

2004-10-25 Thread Victor C.
Hi, I'm trying to submit a file from index.php to index2.php. I know how to do file upload in PHP. On index.php I have: FORM ACTION=index2.php METHOD=POST ENCTYPE=multipart/form-data INPUT TYPE=file NAME=myfile SIZE=30 INPUT TYPE=submit NAME=Upload File /FORM The next page would only need to

Re: [PHP] file upload

2004-10-25 Thread Chris
You can't, at least you SHOULDN'T. Just think about what you're asking for, you want to download a file from a users computer, without them knowing about it. Major security/privacy issues there that browsers try to prevent. Chris Victor C. wrote: Hi, I'm trying to submit a file from index.php

Re: [PHP] file upload

2004-10-25 Thread Victor C.
Thanks for answering Chris.. What if I want to send a file from my web server to another site for them to parse? I already know what file I want to send and I do not want to have to select the file by doing browsing. Chris [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] You can't, at

Re: [PHP] file upload

2004-10-25 Thread Chris
Server to Server transfers are a bit different. There are MANY ways to do it. You can put the file in the document root of one server, and download it with the other server. Or you could FTP the file from one server to the other. Just 2 examples. And, you could even POST the file from one to

Re: [PHP] file upload

2004-10-25 Thread Victor C.
See... basically, I have two sites. One site provides user authentication and another one requests the authentication. The requesting site need to send to the authentication site its request in an XML. The authentication site is suppose to get the XML file using $HTTP_POST_FILES. I'm using PHP

Re: [PHP] file upload

2004-10-25 Thread Chris
Ahh, if you *have* to push the data (which you obviously do) and the authentication site has no other authentication methods then you have to POST the file with PHP. It can be done, there are many classes for it, I can't recommend any specific class, but I'm sure someone else here could. I

[PHP] File Upload Problem

2004-10-20 Thread Nathan Mealey
This file upload problem has me very confused. The code is: $upload_dir = '/articles_store/'; $uploadfile = $upload_dir . basename($_FILES['userfile']['name']); if (move_uploaded_file($_FILES['userfile']['tmp_name'],$uploadfile)) { } else { die (Cannot upload file); } (this code is practically

Re: [PHP] File Upload Problem

2004-10-20 Thread Robby Russell
On Wed, 2004-10-20 at 19:27 -0400, Nathan Mealey wrote: This file upload problem has me very confused. The code is: $upload_dir = '/articles_store/'; $uploadfile = $upload_dir . basename($_FILES['userfile']['name']); if (move_uploaded_file($_FILES['userfile']['tmp_name'],$uploadfile)) {

Re: [PHP] File Upload Problem

2004-10-20 Thread Robby Russell
On Wed, 2004-10-20 at 17:00 -0700, Robby Russell wrote: On Wed, 2004-10-20 at 19:27 -0400, Nathan Mealey wrote: This file upload problem has me very confused. The code is: $upload_dir = '/articles_store/'; $uploadfile = $upload_dir . basename($_FILES['userfile']['name']); if

[PHP] File upload problem

2004-09-04 Thread Dre
I'm trying to upload a file using a form the upload code I'm using is //== ?php // settings $base_img_dir = http://localhost/app_images/;; include(db.php); // generate unique id for use in filename $uniq =uniqid(); $filename =

Re: [PHP] File upload problem

2004-09-04 Thread Jason Wong
On Saturday 04 September 2004 23:36, Dre wrote: I'm trying to upload a file using a form $base_img_dir = http://localhost/app_images/;; The destination directory/file has to be a path on the local filesystem. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software

Re: [PHP] File upload problem

2004-09-04 Thread Dre
thanks Jason .. it worked thanks again Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Saturday 04 September 2004 23:36, Dre wrote: I'm trying to upload a file using a form $base_img_dir = http://localhost/app_images/;; The destination directory/file has to be a

Re: [PHP] File Upload Problems

2004-08-11 Thread Mark Collin
(Sorry if this is a repost, had some problems with my news client not sending properly) Thanks for the pointers Raditha, unfortunately I still can't get it working. I have been banging away at this for a few days now, and I currently have the following my script: ini_set(max_execution_time,

Re: [PHP] File Upload Problems

2004-08-11 Thread Justin Patrin
On 11 Aug 2004 21:30:38 -, Mark Collin [EMAIL PROTECTED] wrote: (Sorry if this is a repost, had some problems with my news client not sending properly) Thanks for the pointers Raditha, unfortunately I still can't get it working. I have been banging away at this for a few days now, and

[PHP] File Upload Problems

2004-08-05 Thread Mark Collin
I'm having problems with my file upload code. If I start to upload files larger than a approx 400k the page seems to time out and I get a page cannot be displayed error. I have checked the php.ini on the server and max file size is 2Mb and max Post size is 8Mb. I initially thought that the

Re: [PHP] File Upload Problems

2004-08-05 Thread raditha dissanayake
Mark Collin wrote: I'm having problems with my file upload code. If I start to upload files larger than a approx 400k the page seems to time out and I get a page cannot be displayed error. I have checked the php.ini on the server and max file size is 2Mb and max Post size is 8Mb. This is

[PHP] File Upload Question

2004-07-12 Thread Vail, Warren
Perhaps this is more about HTML than PHP, but the PHP $_FILES var seems to be set up to allow a list of files to be uploaded. How does one get the pop-up window to allow a user to select (ctrl-click or whatever) multiple files in the same pop-up window? Everything I have tried has left the user

Re: [PHP] File Upload Question

2004-07-12 Thread John W. Holmes
Vail, Warren wrote: Perhaps this is more about HTML than PHP, but the PHP $_FILES var seems to be set up to allow a list of files to be uploaded. How does one get the pop-up window to allow a user to select (ctrl-click or whatever) multiple files in the same pop-up window? Everything I have

Re: [PHP] File Upload Question

2004-07-12 Thread xin
] To: [EMAIL PROTECTED] Sent: Monday, July 12, 2004 12:15 PM Subject: [PHP] File Upload Question Perhaps this is more about HTML than PHP, but the PHP $_FILES var seems to be set up to allow a list of files to be uploaded. How does one get the pop-up window to allow a user to select (ctrl-click

Re: [PHP] file upload and permission problem.

2004-07-06 Thread Angelo binc2
. - http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file upload and permission problem.

2004-07-06 Thread raditha dissanayake
Sneak past the PHP file upload limits. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] file upload and permission problem.

2004-07-05 Thread Angelo binc2
Hi all I am trying to upload a file using PHP. I can successfully create a folder, but when I try upload the file it gives me the following error when using the move_uploaded_file function: Warning: move_uploaded_file(c:/program files/apache group/apache/htdocs/zerodocs/40/)

Re: [PHP] file upload and permission problem.

2004-07-05 Thread raditha dissanayake
giving write permissions is all that it would take. -- Raditha Dissanayake. - http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] File Upload within form

2004-05-26 Thread Tom Chubb
=spec !-- set the max file size -- input type=hidden name=MAX_FILE_SIZE value=50 input type=submit value=upload /form ?php //FILE UPLOAD SCRIPT $file = $_POST[file]; $path = /relative/directory/to/file; //SET THIS TO THE RELATIVE PATH FROM WHERE THE SCRIPT IS TO WHERE THE FILE SHOULD BE UPLOADED

[PHP] file upload via email

2004-04-22 Thread Yury B .
Hi, I believe there is possibility to upload html and other types of files to the site location via email. Using Cron I can make script to retreave POP3 email messages with sertain content/attachments which would be translated to the form of files and site update can be done this way. The

Re: [PHP] file upload via email

2004-04-22 Thread Torsten Roehr
Yury B . [EMAIL PROTECTED]@ctb-mesg6.saix.net wrote in message news:[EMAIL PROTECTED] Hi, I believe there is possibility to upload html and other types of files to the site location via email. Using Cron I can make script to retreave POP3 email messages with sertain content/attachments which

[PHP] file upload via email

2004-04-22 Thread Yury
Hi, I believe there is possibility to upload html and other types of files to the site location via email. Using Cron I can make script to retreave POP3 email messages with sertain content/attachments which would be translated to the form of files and site update can be done this way. The

Re: [PHP] file upload via email

2004-04-22 Thread Yury
Thank you very much I'll try it Torsten Roehr [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yury B . [EMAIL PROTECTED]@ctb-mesg6.saix.net wrote in message news:[EMAIL PROTECTED] Hi, I believe there is possibility to upload html and other types of files to the site location

Re: [PHP] file upload via email

2004-04-22 Thread Yury
Sorry, This message is sent by mistake: Yury [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I believe there is possibility to upload html and other types of files to the site location via email. Using Cron I can make script to retreave POP3 email messages with sertain

[PHP] File upload problem

2004-04-21 Thread William Merrick
Hi, I have two php pages that upload files to a mysql db. I do not know how to change this code to accept more than plain text files. Specifically, I would like to accept .doc and .xls files. Can anyone help? Thanks...Will This is my upload form body h3 Upload a New File/h3 form

[PHP] File Upload Recommendations

2004-04-16 Thread Ryan Schefke
Can anyone recommend a file upload script (or if you have one) that has the following: * Restricts size/dimensions * Restricts file type/extension * Customizeable to specify directory * Allows user to delete files (optional) * Restricts # of files uploaded to a

Re: [PHP] File Upload Recommendations

2004-04-16 Thread John Nichel
Ryan Schefke wrote: Can anyone recommend a file upload script (or if you have one) that has the following: * Restricts size/dimensions * Restricts file type/extension * Customizeable to specify directory * Allows user to delete files (optional) * Restricts # of

RE: [PHP] File Upload Recommendations

2004-04-16 Thread Ryan Schefke
, 2004 10:12 AM To: Php-General-Help Subject: Re: [PHP] File Upload Recommendations Ryan Schefke wrote: Can anyone recommend a file upload script (or if you have one) that has the following: * Restricts size/dimensions * Restricts file type/extension * Customizeable

[PHP] file upload

2004-04-15 Thread Anthony Ritter
In the following snippet, which uploads binary files to a mySQL database it works fine when Register Globals are set to ON. . mysql_connect(localhost,root,pass); mysql_select_db(adatabase); $data = addslashes(fread(fopen($form_data, r), filesize($form_data)));

Re: [PHP] file upload

2004-04-15 Thread David T-G
Tony (I'm guessing) -- ...and then Anthony Ritter said... % % In the following snippet, which uploads binary files to a mySQL database it % works fine when Register Globals are set to ON. ... % $data = addslashes(fread(fopen($form_data, r), filesize($form_data))); This line is important to

[PHP] File upload fails over 500k

2004-04-15 Thread Gawain
Hi all, A script of mine is having problems file uploads over 500k. I've read the documentation and have written scripts previously that uploaded large files without problems. I'm sure there's something pesky that I've missed, but I can't figure out what it is. The script behaves the same way

[PHP] File upload fails over 500k (solved)

2004-04-15 Thread Gawain
Hi all, As usual, it's something simple. A long time ago when I had originally coded the form, I left a MAX_FILE_SIZE directive in the HTML form. I'm using templates so my code is separate from the HTML... I was so totally focused on finding a code-based solution, I forgot to look right under

Re: [PHP] File upload fails over 500k

2004-04-15 Thread Richard Davey
Hello Gawain, Thursday, April 15, 2004, 9:47:50 PM, you wrote: G I have no idea where the apparent 500k choke point is coming from... Any ideas? Check the MAX_FILE_SIZE setting in your upload form - some people claim it has no relevance, but they're wrong :) -- Best regards, Richard Davey

Re: [PHP] File upload fails over 500k (solved)

2004-04-15 Thread Richard Davey
Hello Gawain, Thursday, April 15, 2004, 10:04:34 PM, you wrote: G As usual, it's something simple. A long time ago when I had G originally coded the form, I left a MAX_FILE_SIZE directive in the G HTML form. I'm using templates so my code is separate from the HTML... Rats.. next time I'll read

Re: [PHP] File upload progress

2004-04-07 Thread Raditha Dissanayake
Eric Wood wrote: - Original Message - I posted about this the other day. I was directed to look at megaupload http://www.raditha.com/megaupload/ It works pretty well, I believe it uses Apache::Request to get the raw post info. I recently began to use megaupload, it

[PHP] File upload progress

2004-04-06 Thread Jeff McKeon
Does anyone know of a way to display the %complete of a file upload using a form (POST) method? In other words, I have a form for uploading files to the server. The files are pretty large, 50,000+ lines and it takes a good 3-4 minutes to upload. Is there any way to show the progress of this

RE: [PHP] File upload progress

2004-04-06 Thread Steve Murphy
: [PHP] File upload progress Does anyone know of a way to display the %complete of a file upload using a form (POST) method? In other words, I have a form for uploading files to the server. The files are pretty large, 50,000+ lines and it takes a good 3-4 minutes to upload. Is there any way

Re: [PHP] File upload progress

2004-04-06 Thread John W. Holmes
From: Jeff McKeon [EMAIL PROTECTED] Does anyone know of a way to display the %complete of a file upload using a form (POST) method? Look on phpclasses.org. I noticed there was a class mentioned in their last mailer that did just this. ---John Holmes... -- PHP General Mailing List

RE: [PHP] File upload progress

2004-04-06 Thread Jeff McKeon
-Original Message- From: Steve Murphy [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 4:58 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] File upload progress I posted about this the other day. I was directed to look at megaupload http://www.raditha.com/megaupload

RE: [PHP] File upload progress

2004-04-06 Thread Jeff McKeon
- From: Jeff McKeon [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 4:40 PM To: [EMAIL PROTECTED] Subject: [PHP] File upload progress Does anyone know of a way to display the %complete of a file upload using a form (POST) method? In other words, I have a form for uploading files

RE: [PHP] File upload progress

2004-04-06 Thread Steve Murphy
for this function in 4.4. Steve -Original Message- From: Jeff McKeon [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 5:18 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] File upload progress I posted about this the other day. I was directed to look at megaupload http

Re: [PHP] File upload progress

2004-04-06 Thread Curt Zirzow
* Thus wrote Steve Murphy ([EMAIL PROTECTED]): I'm sorry to hear that. You could use one of the million ASP meters but then you have to use IE on winblows which may or may not be an issue for you. Cross compatibility would also be solved if this was done by PHP. Maybe someone at PHP will

RE: [PHP] File upload progress

2004-04-06 Thread Steve Murphy
PROTECTED] Sent: Tuesday, April 06, 2004 6:04 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] File upload progress * Thus wrote Steve Murphy ([EMAIL PROTECTED]): I'm sorry to hear that. You could use one of the million ASP meters but then you have to use IE on winblows which may or may not be an issue

RE: [PHP] File upload progress

2004-04-06 Thread daniel
all upgrade. Steve -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 6:04 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] File upload progress * Thus wrote Steve Murphy ([EMAIL PROTECTED]): I'm sorry to hear that. You could use one

Re: [PHP] File upload progress

2004-04-06 Thread Raditha Dissanayake
[EMAIL PROTECTED] wrote: There is a java appley which can do uploads, lemme know if u want me to find it Perhaps you are thinking of http://www.radinks.com/upload/ (this is a shameless plug) :-) Curt, Thats a very valid point. But as it was stated before, the average user does not

Re: [PHP] File upload progress

2004-04-06 Thread Raditha Dissanayake
Jeff McKeon wrote: I posted about this the other day. I was directed to look at megaupload http://www.raditha.com/megaupload/ It works pretty well, I believe it uses Apache::Request to get the raw post info. Unfortunately, the web server being used is IIS on a Windows Server, not Apache

Re: [PHP] File upload progress

2004-04-06 Thread daniel
never worked for me plus what is this drag and drop system ? i get an exception Jeff McKeon wrote: I posted about this the other day. I was directed to look at megaupload http://www.raditha.com/megaupload/ It works pretty well, I believe it uses Apache::Request to get the raw post info.

Re: [PHP] File upload progress

2004-04-06 Thread Raditha Dissanayake
[EMAIL PROTECTED] wrote: never worked for me plus what is this drag and drop system ? i get an exception Let's take this discussion to the mega upload message board (at http://www.sourceforge.net/projects/megaupload/) . I am sure others would appreciate that. thanx. Jeff McKeon wrote:

Re: [PHP] File upload progress

2004-04-06 Thread Eric Wood
- Original Message - I posted about this the other day. I was directed to look at megaupload http://www.raditha.com/megaupload/ It works pretty well, I believe it uses Apache::Request to get the raw post info. I recently began to use megaupload, it relies on perl cgi to measure

[PHP] File Upload problems

2004-03-16 Thread Bruno Santos
Can someone tell me why this is happening ? i've tryed everything, since changing file, directory permissions, owner, etc i upload a file and, i give this erros someone has any ideia ??? File Type: text/plain *Warning*: move_uploaded_file(teste.txt): failed to open stream:

[PHP] FIle Upload problems

2004-03-05 Thread Brian V Bonini
The form: form enctype=multipart/form-data action=?php echo $_SERVER['PHP_SELF'] ? method=POST input type=hidden name=MAX_FILE_SIZE value=1 fieldset legendAdd Rider/legend label for=rider_nameName:/label input type=text name=rider_name id=rider_name size=30 maxlength=30 /br / label

[PHP] File upload question

2004-01-21 Thread Igor Kryltsov
Hi, If I allow multiple file uploads in my custom designed discussion board if there any way to collect all attachments file names by reloading page and than upload all of them on Post button (form submission)? Displaying multiple input type=file on a page does not look as a nice solution

Re: [PHP] File upload question

2004-01-21 Thread Raditha Dissanayake
Hi Igor, The approach taken by yahoo etc is the most popular. In your case you will just need to enter the message in it's entirity in the database as you normally would but perhaps mark it as a draft so that it does not become visible. SHAMLESS PLUG: alternatively you can use rad upload at

Re: [PHP] File upload question

2004-01-21 Thread Igor Kryltsov
Hi, You recommend to allocate post id when Compose mail pressed and set draft(boolean) = true. Than I can attach files one by one linking them to post_id in DB. This approach is better than mine, I think, as files will be already linked to post_id in DB and if post will never be submitted prune

[PHP] file upload - But outside of web directory...?

2004-01-12 Thread Tristan . Pretty
Hi there... I keep all my downloads outside of the web folder on my site. I only allow users to download them by them using the download page, and changing teh header info when a file is requested.. What I want to do now, is allow the other site users to upload files to that same directory...

Re: [PHP] file upload - But outside of web directory...?

2004-01-12 Thread Richard Davey
Hello Tristan, Monday, January 12, 2004, 2:30:15 PM, you wrote: TPrsc What I want to do now, is allow the other site users to upload files to TPrsc that same directory... TPrsc From what I'v estudied on line, I can't do this, but I'm not convinced... TPrsc Anyone know if this os possible, via a

[PHP] File Upload Name Mangling Question

2004-01-12 Thread Peter Vertes
I'm trying to upload a JPEG image into a database using PHP and I was successful with the upload. However today I wanted to add a check to make sure the user can only upload JPEG files and not any other files so I use preg_match() to check for the strings .jpg or .jpeg in the filename and

Re: [PHP] File Upload Name Mangling Question

2004-01-12 Thread Richard Davey
Hello Peter, Tuesday, January 13, 2004, 12:25:14 AM, you wrote: PV Instead of it being picture.jpg it was PV /tmp/progtemp/php/uploads/phpeZQiXd.  Can anyone shed some light PV as to how I could check to make sure that only JPEG images get PV uploaded ?  Thanks in advance... The filename isn't

Re: [PHP] File Upload Name Mangling Question

2004-01-12 Thread Peter Vertes
On Mon, 2004-01-12 at 19:33, Richard Davey wrote: The filename isn't always the best way to tell. I mean I could rename an mp3 to jpg and you'd think it was a jpg and happily insert it into your database. Instead it's probably better to test the integrity of the image itself. I didn't

[PHP] File Upload on a MAC-Browser didn't work

2003-12-20 Thread Volker Dähn
Hi,   The following script works on any browser on windows xp. But not on a mac (osx) It simply shows the temp-directoryname. Is anybody out there who could help me to fix this problem? How will the upload work with Safari? Thanks for your help.    This is the form for the upload:     form

RE: [PHP] File upload problem

2003-12-20 Thread Larry Brown
According to the documentation you have to have the maxfilesize tag before the input tag. -Original Message- From: Dino Costantini [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 6:34 PM To: [EMAIL PROTECTED] Subject: [PHP] File upload problem i'm trying to write a page

Re: [PHP] File upload problem

2003-12-18 Thread Blake Schroeder
This works for me My Form ?php ? form enctype=multipart/form-data action=savefile.php method=POST input type=hidden name=MAX_FILE_SIZE value=10 Send this file: input name=filename type=file input type=submit value=Send File /form savefile.php ?php // In PHP earlier then 4.1.0,

[PHP] [PHP]: File upload problem

2003-12-17 Thread Dino Costantini
sto cercando di scrivere una pagina per l'upload di file, ho copiato dei sorgenti ma non funzionano. queste sono le pagine: -form.html form action=upload.php method=post enctype=multipart/form-data input type=file name=upfile input type=hidden name=MAX_FILE_SIZE value=1 input

[PHP] File upload problem

2003-12-17 Thread Dino Costantini
i'm trying to write a page which allows user to upload file. theese are my sources but they didn't work, anyone could help me? -form.html form action=upload.php method=post enctype=multipart/form-data input type=file name=upfile input type=hidden name=MAX_FILE_SIZE value=1 input

[PHP] File upload issue

2003-11-29 Thread Binay
Hi all, In my php.ini file, file_uploads value is set to OFF. Hence stopping HTTP_UPLOAD functionlaity. But in my script i am turning it On using ini_set(file_uploads,1) but still it doesn't upload the file. I don have access to modify the php.ini file hence trying to play with script only.

Re: [PHP] File upload issue

2003-11-29 Thread Robert Cummings
On Sat, 2003-11-29 at 02:36, Binay wrote: Hi all, In my php.ini file, file_uploads value is set to OFF. Hence stopping HTTP_UPLOAD functionlaity. But in my script i am turning it On using ini_set(file_uploads,1) but still it doesn't upload the file. I don have access to modify the

RE: [PHP] File upload issue

2003-11-29 Thread Bronislav Klucka
Are u working in safe mode? What does the ini_set function return? did u try ini_get then to see what is current value? Brona Hi all, In my php.ini file, file_uploads value is set to OFF. Hence stopping HTTP_UPLOAD functionlaity. But in my script i am turning it On using

Re: [PHP] File upload issue

2003-11-29 Thread Binay
- Original Message - From: Bronislav Klucka [EMAIL PROTECTED] To: PHP Konference [EMAIL PROTECTED]; Binay [EMAIL PROTECTED] Sent: Saturday, November 29, 2003 1:08 PM Subject: RE: [PHP] File upload issue Are u working in safe mode? safe_mode is OFF What

Re: [PHP] php: file upload program limitation..

2003-10-30 Thread Marek Kilimajer
max_execution_time does not affect file uploads. Php script and thus also the timer starts after the upload is finished. max_input_time might influence it as it is the time allowed for the browser to post the data. Justin French wrote: See these three directives in php.ini: max_execution_time

[PHP] php: file upload program limitation..

2003-10-29 Thread Louie Miranda
Hello, Im made a file upload program. I limit my php.ini to accept only 5mb but i told on my website that it is 2mb only. Now here's my problem. I only upload a 1.5mb and a 1.7mb file when ever i submit it the browser displays the page cannot be displayed but when ever i upload a file lower

Re: [PHP] php: file upload program limitation..

2003-10-29 Thread Justin French
On Thursday, October 30, 2003, at 01:40 PM, Louie Miranda wrote: Im made a file upload program. I limit my php.ini to accept only 5mb but i told on my website that it is 2mb only. Now here's my problem. I only upload a 1.5mb and a 1.7mb file when ever i submit it the browser displays the

[PHP] File Upload problem

2003-10-20 Thread Grant Rutherford
Hi there, I'm trying to get a file upload to work with PHP. The file I'm attempting to upload is a 742kB pdf file, but this will have to work for files up to 50Mb of all types eventually. The following test pages work fine if the receiving page (testdone) is saved with an html extension, but

Re: [PHP] File Upload problem

2003-10-20 Thread Grant Rutherford
I've tried a few more things, still with no success. Increasing post_max_size and upload_max_filesize to 100M doesn't fix the problem. Turning error logging on doesn't seem to catch any errors. Is it possible that this is a problem with apache, and if so how should I go about fixing it?

RE: [PHP] File Upload problem

2003-10-20 Thread Jay Blanchard
[snip] I've tried a few more things, still with no success. Increasing post_max_size and upload_max_filesize to 100M doesn't fix the problem. Turning error logging on doesn't seem to catch any errors. Is it possible that this is a problem with apache, and if so how should I go about

Re: [PHP] File Upload problem

2003-10-20 Thread Grant Rutherford
Hi there, I'm running PHP version 4.2.2 I included all of my code in my origional post. If you would like it reposted, I can do that. I retried it with exactly the same code as the manual has in the file uploads section (cut and paste). I'm merely trying to get the upload to work, I'm not

RE: [PHP] File Upload problem

2003-10-20 Thread Jay Blanchard
[snip] I included all of my code in my origional post. If you would like it reposted, I can do that. I retried it with exactly the same code as the manual has in the file uploads section (cut and paste). I'm merely trying to get the upload to work, I'm not concerned about handling the file

Re: [PHP] File Upload problem

2003-10-20 Thread Grant Rutherford
I found the problem!!! Buried deep within the manual: LimitRequestBody in /etc/httpd/conf.d/php.conf was set too small. Thanks for your time everyone, Grant -- Grant Rutherford Iders Incorporated 600A Clifton Street Winnipeg, MB R3G 2X6 http://www.iders.ca tel: 204-779-5400 ext 36 fax:

RE: [PHP] File upload meter

2003-10-08 Thread Steve Murphy
what's available (not much right now) from Enderson's project. Note this is not the official site. -Original Message- From: Hardik Doshi [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 9:47 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] File upload meter Hi Group

Re: [PHP] File upload meter

2003-10-08 Thread Raditha Dissanayake
available (not much right now) from Enderson's project. Note this is not the official site. -Original Message- From: Hardik Doshi [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 9:47 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] File upload meter Hi Group, It's

RE: [PHP] File upload meter

2003-10-08 Thread Jeremy Johnstone
- From: Hardik Doshi [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 9:47 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] File upload meter Hi Group, It's really nice to see the file upload meter developed by Doru Theodor Petrescu (http://pdoru.from.ro/). He did

Re: [PHP] File upload meter

2003-10-08 Thread Hardik Doshi
this is not the official site. -Original Message- From: Hardik Doshi [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 9:47 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] File upload meter Hi Group, It's really nice to see the file upload meter

[PHP] File upload meter

2003-10-08 Thread Hardik Doshi
Hi Group, It's really nice to see the file upload meter developed by Doru Theodor Petrescu (http://pdoru.from.ro/). He did a nice job. He created serveral patches for the php 4 to enable the file upload meter. I was just wondering what will happen to the file upload meter once the php 5.0 will

Re: [PHP] File upload meter

2003-10-08 Thread Raditha Dissanayake
Hi I remembers seeing something about this in Zend.com sometime back but sadly i have forgotten which one it was. I can assure you it most certainly isn't my progress meter because the architecture is different :-) best regards Hardik Doshi wrote: Hi Radhitha, Can you please let me know

[PHP] File Upload Issues

2003-09-20 Thread Shad Kaske
I was hoping to get a bit of help with a strange file upload issue that I am having. Below is a simple form that I am using as an example. The output from the $_FILES array follows that. The thing that I am unable to resolve is the fact that the file upload returns the name of the file the user is

Re: [PHP] File Upload Issues

2003-09-20 Thread Tom Rogers
Hi, Sunday, September 21, 2003, 1:10:29 PM, you wrote: SK I was hoping to get a bit of help with a strange file upload issue that SK I am having. Below is a simple form that I am using as an example. The SK output from the $_FILES array follows that. The thing that I am unable SK to resolve is

[PHP] file upload problem

2003-08-23 Thread Matthias Wulkow
Hi , I try to upload a file with such an input type = 'file' field. My form looks like: echo form action = '. $_SERVER[PHP_SELF].' method = 'GET' enctype = 'multipart/form-data'\n; ... echo tdinput type = 'file' name = 'newtextupload' accept='text/*'/td\n; ... echo tdinput type = 'submit'

Re: [PHP] file upload problem

2003-08-23 Thread Jim Lucas
when you are uploading files via a form, you must use the POST method. Jim Lucas - Original Message - From: Matthias Wulkow [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 23, 2003 11:16 AM Subject: [PHP] file upload problem Hi , I try to upload a file

Re: [PHP] file upload problem

2003-08-23 Thread Matthias Wulkow
Hallo Jim, am Samstag, 23. August 2003 um 21:16 hast Du Folgendes gekritzelt: JL when you are uploading files via a form, you must use the POST method. well, I tried the example from http://de.php.net/manual/de/features.file-upload.php#features.file-upload.post-method and that doesn't work

Re: [PHP] file upload problem

2003-08-23 Thread Jim Lucas
- Original Message - From: Matthias Wulkow [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Jim Lucas [EMAIL PROTECTED] Sent: Saturday, August 23, 2003 12:27 PM Subject: Re: [PHP] file upload problem Hallo Jim, am Samstag, 23. August 2003 um 21:16 hast Du Folgendes gekritzelt: JL when

<    1   2   3   4   5   6   >