Re: [PHP] Re: File upload in map drive with PHP

2012-01-26 Thread Jim Lucas
On 01/26/2012 07:13 AM, Jim Giner wrote: You're using a GET in your script when your form is a POST. and if you look at the method value you will see that he is passing upload=1 in the URL. Which would be seen as a GET value. -- Jim Lucas http://www.cmsws.com/ http://www.cmsws.com/examples

Re: [PHP] Re: File upload in map drive with PHP

2012-01-26 Thread Stuart Dallas
On 26 Jan 2012, at 15:10, Mehmet YAYLA wrote: > > I'm using code this bellow. > > > if (!empty($_GET["upload"])) { >$uploaddir ="x:\\file/"; > >$uploadfile = $_FILES['userfile']['name']; > >print ""; > >if (move_uploaded_file($

RE: [PHP] Re: File upload in map drive with PHP

2012-01-26 Thread Mehmet YAYLA
print "Dosya yüklenemedi. Tekrar deneyiniz"; } print ""; } ?> Select image: > To: php-general@lists.php.net > From: jim.gi...@al

[PHP] Re: File upload in map drive with PHP

2012-01-26 Thread Jim Giner
Do you mean you are trying to do an upload of a file on a mapped drive, such as a network drive? Is this upload using an html form with an tag? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: File Upload Problem [SOLVED]

2011-04-11 Thread tedd
At 10:07 AM -0400 4/11/11, tedd wrote: At 7:37 AM +0100 4/11/11, Ashley Sheridan wrote: "tedd" wrote: >So, knowing this -- does anyone have any idea as to what is wrong? What happens if you diff the various config files involved directly, php.ini, https.conf, any other site-specific *.conf

Re: [PHP] Re: File Upload Problem

2011-04-11 Thread tedd
At 7:37 AM +0100 4/11/11, Ashley Sheridan wrote: "tedd" wrote: >So, knowing this -- does anyone have any idea as to what is wrong? What happens if you diff the various config files involved directly, php.ini, https.conf, any other site-specific *.conf files used by apache. Sometimes its a

Re: [PHP] Re: File Upload Problem

2011-04-11 Thread Hans Åhlin
I had some similar problem with Windows 7, it had to do with UAC and folder rights. Apache/PHP could read but not write to any dir except the ones that all users could write to. I solved it by allowing every one to read, write and change content in the directory where I needed PHP to handle/control

Re: [PHP] Re: File Upload Problem

2011-04-10 Thread Louis Huppenbauer
Is there already a file with the same name? Apparently copy won't overwrite a file on windows if it already exists. Maybe you have the same problem ffproberen2 at dodgeit dot com had on the php.net/move_uploaded_file manpage? 2011/4/10 tedd : > At 7:15 AM +0200 4/7/11, Wojciech Kupiec wrote: >> >

[PHP] Re: File Upload Problem

2011-04-10 Thread tedd
At 7:15 AM +0200 4/7/11, Wojciech Kupiec wrote: On 06/04/11 19:10, tedd wrote: -snip- What could be wrong? What should I be looking for? If you really want to get help, publish your code. I don't think that's true. I should be able to ask a technical question with observations and inquire a

[PHP] Re: File Upload Problem

2011-04-06 Thread Wojciech Kupiec
On 06/04/11 19:10, tedd wrote: Hi gang: I wrote a simple script to upload image files from my desktop to a server -- the exact same code works on two servers, but fails on a third. I suspect there is something set different between the servers, but I can't find it. Oddly enough, I can upload i

Re: [PHP] Re: File-Upload per Drag-N-Drop?

2010-12-29 Thread Bastien Koert
On Wed, Dec 29, 2010 at 3:03 PM, Robert Cummings wrote: > On 10-12-29 03:02 PM, Robert Cummings wrote: >> >> On 10-12-29 02:54 PM, Michelle Konzack wrote: >>> >>> Hello Tommy Pham, >>> >>> Am 2010-12-29 10:33:30, hacktest Du folgendes herunter: This sounds like RIA = Rich Internet Applic

Re: [PHP] Re: File-Upload per Drag-N-Drop?

2010-12-29 Thread Robert Cummings
On 10-12-29 03:02 PM, Robert Cummings wrote: On 10-12-29 02:54 PM, Michelle Konzack wrote: Hello Tommy Pham, Am 2010-12-29 10:33:30, hacktest Du folgendes herunter: This sounds like RIA = Rich Internet Application. Try google'ing for it. This was the missing keyword. Thanks. Found DHTML a

Re: [PHP] Re: File-Upload per Drag-N-Drop?

2010-12-29 Thread Robert Cummings
On 10-12-29 02:54 PM, Michelle Konzack wrote: Hello Tommy Pham, Am 2010-12-29 10:33:30, hacktest Du folgendes herunter: This sounds like RIA = Rich Internet Application. Try google'ing for it. This was the missing keyword. Thanks. Found DHTML and posibility for a flash/gnash app which

[PHP] Re: File-Upload per Drag-N-Drop?

2010-12-29 Thread Michelle Konzack
Hello Tommy Pham, Am 2010-12-29 10:33:30, hacktest Du folgendes herunter: > This sounds like RIA = Rich Internet Application. Try google'ing for it. This was the missing keyword. Thanks. Found DHTML and posibility for a flash/gnash app which support the Drag-N-Drop. If has only to creat

Re: [PHP] Re: file upload question

2009-08-03 Thread Daniel Echalar
i add me to the question. 2009/8/3 Peter Ford > seb wrote: > > Hey all, > > > > i am using move_upload function to upload files to the server, but i > > want to add a feature that will allow files to be archived that have > > been uploaded already. > > > > so, the problem is: > > > > i upload a

[PHP] Re: file upload question

2009-08-03 Thread Peter Ford
seb wrote: > Hey all, > > i am using move_upload function to upload files to the server, but i > want to add a feature that will allow files to be archived that have > been uploaded already. > > so, the problem is: > > i upload a file that i want to "upgrade" and move the old file to an > archiv

[PHP] Re: File Upload Security

2008-04-14 Thread Al
I don't pay any attention to MIME sent by the client. I check the MIME returned from getimagesize() and I'm not too certain of it. i need to do further research. I do check the images have width and height and I extract the embedded text stuff. I'm going to look into your suggestion. Thanks.

[PHP] Re: File Upload Security

2008-04-14 Thread Peter Ford
Al wrote: Thanks guys. I had written a newer version restricted to images which checks MIME and image width and height. I have one application which needs a text file. I think I'll have my users hide a password in it and scan the whole file for other signs of scripts, etc. Al wrote: One o

[PHP] Re: File Upload Security

2008-04-12 Thread Al
Thanks guys. I had written a newer version restricted to images which checks MIME and image width and height. I have one application which needs a text file. I think I'll have my users hide a password in it and scan the whole file for Al wrote: One of my sites has been hacked and I'm trying

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Sukhwinder Singh
From: "Jim Lucas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Sukhwinder Singh" <[EMAIL PROTECTED]>; "Jim Moseby" <[EMAIL PROTECTED]>; ; "Stut" <[EMAIL PROTECTED]> Sent: Saturday, June 09, 2007 3:55 AM Subject: Re: [PHP] Re:

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Tijnema
On 6/9/07, Jim Lucas <[EMAIL PROTECTED]> wrote: Richard Lynch wrote: available hard drive space any possible hard disk quota limit single file size limit of the OS file size limit of Apache ( mentioned by another replier ) Apache < 2.x is less than 2g Apache 2.x is greater than 2g

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Jim Lucas
Richard Lynch wrote: On Fri, June 8, 2007 4:03 pm, Jim Lucas wrote: afaik, you are using the stock php.ini setting while you are uploading. This should not be taken to mean that if one changes php.ini, that the change does not affect file upload -- it definitely does matter... Not sure Jim me

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Richard Lynch
On Fri, June 8, 2007 4:03 pm, Jim Lucas wrote: > afaik, you are using the stock php.ini setting while you are > uploading. This should not be taken to mean that if one changes php.ini, that the change does not affect file upload -- it definitely does matter... Not sure Jim meant that Sukhwinder w

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Jim Lucas
move the file and update the database. Thanks, Sukhwinder Singh - Original Message - From: "Jim Moseby" <[EMAIL PROTECTED]> To: "'Sukhwinder Singh'" <[EMAIL PROTECTED]>; "Abdullah Ramazanoglu" <[EMAIL PROTECTED]> Cc: Se

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
Richard Lynch wrote: On Fri, June 8, 2007 10:17 am, Sukhwinder Singh wrote: Stut, thank you very much for explaining things and trying to help. The applet *does* POST to PHP. However, it has the option to upload to an FTP server "the choice of using HTTP, HTTPS or FTP connections for your

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Sukhwinder Singh
- Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Sukhwinder Singh" <[EMAIL PROTECTED]> Cc: "Jim Moseby" <[EMAIL PROTECTED]>; ; "Stut" <[EMAIL PROTECTED]> Sent: Friday, June 08, 2007 11:32 PM Subject: R

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Sukhwinder Singh
From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Sukhwinder Singh" <[EMAIL PROTECTED]> Cc: "Stut" <[EMAIL PROTECTED]>; "Jim Moseby" <[EMAIL PROTECTED]>; Sent: Friday, June 08, 2007 11:39 PM Subject: Re: [PHP] Re: File Upload - post_max_size

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Richard Lynch
On Fri, June 8, 2007 10:17 am, Sukhwinder Singh wrote: > Stut, thank you very much for explaining things and trying to help. > >> The applet *does* POST to PHP. However, it has the option to upload >> to an >> FTP server "the choice of using HTTP, HTTPS or FTP connections >> for >> your transfe

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Richard Lynch
On Fri, June 8, 2007 8:58 am, Sukhwinder Singh wrote: > I had a look at that. My problem is that along with uploading file I > also > have to post some other information as well. File names are randomly > generated. Jupload seems to do the work other than that POST problem. > Client > is asking for

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Sukhwinder Singh
t;Stut" <[EMAIL PROTECTED]> To: "Sukhwinder Singh" <[EMAIL PROTECTED]> Cc: "Jim Moseby" <[EMAIL PROTECTED]>; Sent: Friday, June 08, 2007 8:01 PM Subject: Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs Sukhwinder Singh wrot

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
Brad Fuller wrote: Have a look at "Filechucker" http://encodable.com/filechucker/ My company purchased this program for a small project; It's quite inexpensive ($39 USD) and works well. It's written in perl and does not post to PHP, and we've used it to upload large files and it seems to handle

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
Sukhwinder Singh wrote: Stut, thank you very much for explaining things and trying to help. That's no problem, it's what I'm here for (I knew there was a reason). The applet *does* POST to PHP. However, it has the option to upload to an FTP server "the choice of using HTTP, HTTPS or FTP c

RE: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Brad Fuller
ume they are using > custom activex controls. > > Looks like I have to post that php's upload limit of 1.99 gb > to php internal mailing list. > > Thanks again, > Sukhwinder Singh > > > > > . - Original Message - > From: "Stut&qu

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Zoltán Németh
which > claim unlimited upload size. I assume they are using custom activex > controls. > > Looks like I have to post that php's upload limit of 1.99 gb to php internal > mailing list. > > Thanks again, > Sukhwinder Singh > > > > > . ----- Origin

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Sukhwinder Singh
PROTECTED]> To: "Sukhwinder Singh" <[EMAIL PROTECTED]> Cc: "Jim Moseby" <[EMAIL PROTECTED]>; Sent: Friday, June 08, 2007 6:42 PM Subject: Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs Sukhwinder Singh wrote: PHP's handling o

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
Sukhwinder Singh wrote: PHP's handling of uploaded files is confusing. I have added logging to the script to which jupload posts. Logging suggests that php file is only accessed after file is completely uploaded by jupload. I also checked apache access logs. Entry in apache log appears only aft

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Sukhwinder Singh
ot; <[EMAIL PROTECTED]> To: "'Sukhwinder Singh'" <[EMAIL PROTECTED]>; "Abdullah Ramazanoglu" <[EMAIL PROTECTED]> Cc: Sent: Friday, June 08, 2007 5:40 PM Subject: RE: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs Any

RE: [PHP] Re: File Upload - post_max_size and upload_max_filesiz e in GBs

2007-06-08 Thread Jim Moseby
> > Any suggestion to use some other applet. Any freeware etc. Or > one not so > expensive and which overcomes this php's 1.99 gb limit. > I will again suggest http://radinks.com/upload/ . It does not use POST to transfer huge files. JM -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Sukhwinder Singh
ne not so expensive and which overcomes this php's 1.99 gb limit. Sukwhinder Singh - Original Message - From: "Abdullah Ramazanoglu" <[EMAIL PROTECTED]> To: Sent: Friday, June 08, 2007 3:37 AM Subject: [PHP] Re: File Upload - post_max_size and upload_max_filesize in

[PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Abdullah Ramazanoglu
Sukhwinder Singh dedi ki: --8<-- > I have read. I have been trying to find out way for last two days. > I can say about jupload and how it seems to work. > It uploads file to server in a temporary directory. > It has postURL parameter. Then it POSTS the data to php file. > Because it POSTS, the

[PHP] Re: File Upload Security and chmod

2006-09-22 Thread Jo�o C�ndido de Souza Neto
I always use the ftp functions of php to upload files. I think it´s more safe than move_uploaded_file function. ""Andy Hultgren"" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Hi, > I am relatively new to php and am trying to set up a file upload > process for my website.

[PHP] Re: File Upload Max Size

2005-10-01 Thread Anas Mughal
I don't think you are doing FTP. I think you mean uploading using an upload form. Just increase the threshold in the php.ini file or set it in the script. Hope this helps. On 9/30/05, Matt Palermo <[EMAIL PROTECTED]> wrote: > Hello everyone. I'm basically building a PHP FTP client app. This ap

Re: [PHP] Re: File Upload Max Size

2005-09-30 Thread Carlos Olmos
if you don't have access to php.ini then use ini_set("upload_max_filesize","10M"). At 06:29 p.m. 30/09/2005 +0100, zzapper wrote: On Fri, 30 Sep 2005 08:42:28 -0400, wrote: >Well, I would like to at least be able to upload a 10mb - 15mb file. I >don't need it to upload files that are HU

[PHP] Re: File Upload Max Size

2005-09-30 Thread zzapper
On Fri, 30 Sep 2005 08:42:28 -0400, wrote: >Well, I would like to at least be able to upload a 10mb - 15mb file. I >don't need it to upload files that are HUGE, just a reasonable size. > > >"zzapper" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >> On Fri, 30 Sep 2005 01:19:01 -

[PHP] Re: File Upload Max Size

2005-09-30 Thread Matt Palermo
Well, I would like to at least be able to upload a 10mb - 15mb file. I don't need it to upload files that are HUGE, just a reasonable size. "zzapper" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, 30 Sep 2005 01:19:01 -0400, wrote: > >>Hello everyone. I'm basically bui

[PHP] Re: File Upload Max Size

2005-09-30 Thread zzapper
On Fri, 30 Sep 2005 01:19:01 -0400, wrote: >Hello everyone. I'm basically building a PHP FTP client app. This app >connects to an FTP server and allows the user to edit/delete >files/permissions, etc. I've gotten to the point where I have started to >create a file upload feature. The probl

[PHP] Re: file upload

2005-06-21 Thread Sergey
use $HTTP_POST_FILES for older php versions ""Han"" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: news:[EMAIL PROTECTED] > Hello, > > I'm having a problem with a file upload. The following works on one server > I use : - > > -

[PHP] Re: file upload

2005-04-04 Thread Jason Barnett
Search the list archives for "(noob) file" -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://php.net/manual/en/index.php STFW | http://www.google.com/search?q=php LAZY | http://mycroft.mozdev.or

[PHP] Re: File Upload Question

2004-07-12 Thread Arnout Boks
As far as I know, this is not possible. You can however generate more file-upload boxes dynamicly. In this way, users can click an 'Upload another file'-button to display an extra upload form-element. Check the 'variable variables'-part in the PHP reference (user notes) for an example of this const

[PHP] Re: File Upload within form

2004-05-26 Thread Torsten Roehr
"Tom Chubb" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am trying to design a custom form script and I've stumbled across a small > problem. > I want to implement a file upload into the form, but rather than posting to > another file I want to refresh the form and then show that

Re: [PHP] Re: FIle Upload problems

2004-03-06 Thread Brian V Bonini
> Do yourself a favour, study the example in the manual, get it working, > understand how it works, Lighten up Francis, it was 10pm at night after a 14 hour day and 62 hour week. I appreciate the help but can do without the cynicism. -- Brian V Bonini <[EMAIL PROTECTED]> -- PHP General Ma

Re: [PHP] Re: FIle Upload problems

2004-03-05 Thread Jason Wong
On Saturday 06 March 2004 10:42, Brian V Bonini wrote: > On Fri, 2004-03-05 at 21:33, Andre Cerqueira wrote: > > try echo'ing $_FILES['image_upload']['tmp_name'], and check if the path > > exists > > Gives me nothing, hmmm... If you had enable error reporting and checked what errors were reported

Re: [PHP] Re: FIle Upload problems

2004-03-05 Thread Brian V Bonini
On Fri, 2004-03-05 at 21:33, Andre Cerqueira wrote: > try echo'ing $_FILES['image_upload']['tmp_name'], and check if the path > exists Gives me nothing, hmmm... > > maybe some wrong configuration on php.ini > upload_tmp_dir ? %more php.ini && ls -l / | grep tmp register_globals = On upload_tmp

[PHP] Re: FIle Upload problems

2004-03-05 Thread Andre Cerqueira
try echo'ing $_FILES['image_upload']['tmp_name'], and check if the path exists maybe some wrong configuration on php.ini upload_tmp_dir ? it is usually a good idea trying to isolate the smallest piece of code that gives the unwanted result makes it easier for other ppl to help, and sometimes you

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

2003-12-23 Thread Volker Dähn
Hi Chris, I already posted it as an SAFARI-ERROR to Apple. Maybe you could do the same. I think, it's more possible apple fixes the problem, the more error-messages they get. Actually i try to identify the situation in which the skript is echoing the TMP-Directory. This is the form for the uploa

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

2003-12-23 Thread Volker Dähn
Hi Chris, I already posted it as an SAFARI-ERROR to Apple. Maybe you could do the same. I think, it's more possible apple fixes the problem, the more error-messages they get. Actually i try to identify the situation in which the skript is echoing the TMP-Directory. This is the form for the uploa

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

2003-12-22 Thread Chris
I had a similar problem, but never found an answer. In my situation, the browser hung when I uploaded a file greater than 800 records. I found a post that said I should echo something to the browser on a regular basis during the upload, but that didn't work. This is still of interest to me to solv

Re: [PHP] Re: File Upload problem

2003-10-20 Thread Grant Rutherford
No, I'm afraid that the results are nearly instantaneous. If it timed out, there should be a corresponding delay before I got the error message. Thanks, Grant pete M wrote: It might be the script timing out - defaults to 20 seconds check set_time_limit() regards pete -- Grant Rutherford Ider

[PHP] Re: File Upload problem

2003-10-20 Thread pete M
It might be the script timing out - defaults to 20 seconds check set_time_limit() regards pete Grant Rutherford wrote: 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 typ

[PHP] Re: file upload problem

2003-08-23 Thread Catalin Trifu
Hi, > echo " = 'multipart/form-data'>\n"; I think that the methos should be POST not GET Second, you may want to save the file first with, move_uploaded_file (see http://de.php.net/manual/en/function.move-uploaded-file.php), then you will be able to see it. Of course you will f

[PHP] Re: File upload

2003-07-25 Thread Peda
> did you look what comes from your form? try: > var_export($_FILES); It comes the empty array: array( ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: File upload

2003-07-25 Thread sven
Peda wrote: > I want to upload some file to my web site. > > The upload_single.php script is just this:> $ime = $_FILES["thefile"]["name"]; > print ($ime); > > I just want for begining to print the name of file. > But It doesn't work. did you look what comes from your form? try: var_export($

[PHP] Re: File upload HELP!!!

2003-06-27 Thread Dustin Pate
I believe your problem has something to do with the fact that the filename has spaces in it. "Ian Young" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Tearing our hair out here. Have been trying for ever to get files to upload. > The good news. We are connecting to database and obt

[PHP] Re: File upload problem

2003-06-05 Thread Sami Kollanus
Thanks for the idea. I didn't think that solution before, bacause in the previous PHP-version it was impossible to upload empty files. Now server makes empty file even, if there is no file to upload. I still would like to know, where is the reason for the change of function in the server. Is t

[PHP] Re: File upload problem

2003-06-05 Thread Mi5ha
If you don't want users to write empty files to your server, why don't you just stop them ? You can write something like this: if ($HTTP_POST_FILES['file1']['size']!=0){ move_uploaded_file($HTTP_POST_FILES['file1']['tmp_name'], $upload_dir.$HTTP_POST_FILES['file1']['name']); } else { echo "WAR

[PHP] Re: file upload

2003-04-05 Thread Alexander Weber
Seems correct to me, try to upload the file with different browsers. Opera, Netscape, M$. e.g. Rich Text could be: application/MSword, text/richtext, and some other "nice" applications ;-) Cheers, Alex "Anders Thoresson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Am

[PHP] Re: File upload and permissions

2003-03-06 Thread KK
yeah, unfortunately 777 is the way to go. "Charles Kline" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have a form which uploads a file to my server. The files that are > uploaded will be .doc files and will need to be able to be downloaded > from a web page. > > My script works

[PHP] Re: File upload problem

2003-01-23 Thread Neil M
John M wrote: Hello, I have the code below. It's a simple file upload. But it doesn't work. Before the line if(isset( $Submit )) is an echo which can I read. But after choosing a file and press a submit nothing happens. Why is if(isset( $Submit )) always false? Maybe my apache or php config is wr

[PHP] Re: File upload problem

2003-01-21 Thread Bobby Patel
Since you have 'safe-mode' on, Register globals will be turned off, so you should test $HTTP_POST_VARS['Submit'], instead. "John M" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I have the code below. It's a simple file upload. But it doesn't work. >

Re: [PHP] Re: File Upload

2002-12-14 Thread Bogdan Stancescu
--Original Message- From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 22:09 To: [EMAIL PROTECTED] Subject: [PHP] Re: File Upload Globals on? File uploads allowed? Safe mode off? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: File Upload

2002-12-13 Thread Miro Kralovic
Hi Bodgan.. yes, I have globals On, Uploads On and SafeMode=off.. no luck... I did it exactly by the book, damn it..:-( -Original Message- From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 22:09 To: [EMAIL PROTECTED] Subject: [PHP] Re: File Upload

[PHP] Re: File Upload

2002-12-13 Thread Bogdan Stancescu
Globals on? File uploads allowed? Safe mode off? Miro Kralovic wrote: Hi everybody, I'm trying to upload a file using the following scripts, but it doesn't work, it actually doesn't get through the first line of PHP script at all and displays "a problem has occured" message. I'm running the scri

RE: [PHP] Re: File Upload Problem

2002-10-31 Thread Richard Archer
l that could be wrong as I'm not an expert on file uploads, but it might be a place to start looking. Regards, Rich -Original Message- From: David Freeman [mailto:dfreeman@;outbackqld.net.au] Sent: 30 October 2002 9:23 pm To: [EMAIL PROTECTED] Subject: RE: [PHP] Re: File Upload P

RE: [PHP] Re: File Upload Problem

2002-10-31 Thread David Robley
In article <01c2805a$8a2a11a0$4b0a0a0a@skink>, [EMAIL PROTECTED] says... > > G'day David > > > > My problem is that files uploaded through a form are > > > increasing in size. > > > Doesn't that look like the EOL characters are being > > translated after the fashion of ftp ascii trans

RE: [PHP] Re: File Upload Problem

2002-10-30 Thread David Freeman
G'day David > > My problem is that files uploaded through a form are > > increasing in size. > Doesn't that look like the EOL characters are being > translated after the fashion of ftp ascii transfers? > Maybe have a look at the two versions in a > hex viewer and see if that is the cas

[PHP] Re: File Upload Problem

2002-10-30 Thread David Robley
In article <002e01c27f99$20e35b50$030a0a0a@skink>, [EMAIL PROTECTED] says... > Hi All > > I'll start by saying that I've checked the online manual (and comments) > as well as having done a Google search on this with no success. > > My problem is that files uploaded through a form are increasing

[PHP] Re: file upload > 2 MB

2002-09-09 Thread Erwin
Andy wrote: > Hi there, > > I am trying to configure php inside the httpd.conf to allow file > uploads inside a special directory with more than 2 MB. > > Somehow the syntax is wrong, since I do get the errormsg that there > are 2 arguments required. Here is the code: > > # special settings for we

[PHP] RE: File upload security and virus considerations

2002-09-06 Thread YC Nyon
I am doing an application where users can upload a *.zip file into the server. Virus and hackers threats are my main concern. Anyone mind sharing their experiences on how to deal with it. If u suggest any antivirus, please specifiy the name. the server is on windows platform. Also, if it's virus,

[PHP] Re: file upload problem

2002-09-05 Thread nicos
Take a look at http://www.php.net/manual/sv/printwn/features.file-upload.php, your pages should be named .php and not .php3 if you support PHP4. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet "Ram K" <[EMAIL PROTECTED]> a écrit dans le message de

[PHP] Re: File upload memory usage.

2002-07-26 Thread Reid Sutherland
> > I don't think HTTP POST upload is going to be reliable for *that* size > files, no matter *what* you do... Well from the tests I have done it has worked fine. There is no reason why it shouldn't either. > > Give them an FTP account or something. > No an option for hundreds of people wi

[PHP] Re: File upload memory usage.

2002-07-26 Thread Richard Lynch
>I'm currently locked in a battle with PHP and file uploads. I've >searched the list to no avail. I actually found a guy with the same >problem who ended up using perl to make this work. I'm trying to avoid >that. > >The problem is, I'm dealing with huge POST uploads (100+ mb). And Ye Gods!

[PHP] Re: File Upload

2002-07-01 Thread Richard Lynch
In article <[EMAIL PROTECTED]> , [EMAIL PROTECTED] (Fgôk ŞôündÉö) wrote: >In php.ini, upload_max_filesize = 8MB. >When I try to upload file over 5MB, my php file didn't work correctly. >I mean post variable in the php file are lost, session variables also are >lost ... Are you 100% sure that

Re: [PHP] Re: file upload / no tmp name or size?

2002-05-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Philip Hallstrom declared > Just a guess, but is the file you are uploading larger than 3000 bytes? > If so, then what you are seeing is normal since PHP is rejecting it > because it's too large. You know, sometimes I amaze myself wit

[PHP] Re: file upload / no tmp name or size?

2002-05-01 Thread Philip Hallstrom
Just a guess, but is the file you are uploading larger than 3000 bytes? If so, then what you are seeing is normal since PHP is rejecting it because it's too large. -philip On Wed, 1 May 2002, Nick Wilson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > * and then 1LT John W. Holme

[PHP] Re: file upload problem (files > 7.5mb)

2002-03-05 Thread Peter Clarke
"Stefan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > i wrote a php uploadscript and it works fine till the file is not larger > then 7.5mb. > is set the max upload file size in the upladfrom as well as in php.ini to > 100mb. but it still doesn't work! > system is linux red hat

[PHP] Re: file upload problem (files > 7.5mb)

2002-03-04 Thread Joe Van Meer
Hi there:) Are you using the hidden form field with the max file limit set? Cheers, Joe :) Stefan <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > i wrote a php uploadscript and it works fine till the file is not larger > then 7.5mb. > is set the max upload file size in the uplad

[PHP] Re: File Upload -- File Trailer Partial

2002-02-05 Thread Michael Kimsal
Richard Lynch wrote: > Please Cc: me -- I can't keep up with anything like the full volume of > PHP-General any more and have only lurked for quite some time :-( > I guess I'm seeking reassurance that: > > A) File upload not known to be broken > B) move_uploaded_file completely finishes and

[PHP] RE: file upload with story

2002-01-22 Thread Tim Ward
I found everything I needed to upload images here: http://www.php.net/manual/en/features.file-upload.php Tim www.chessish.com -- From: will hives [SMTP:[EMAIL PROTECTED]] Sent: 2

[PHP] Re: File Upload Question...

2001-12-27 Thread Jesus Maria Bianco T.
Hi, Remember 2nd Q: The file is Upload to a temporaly direcory, later you copy from temporaly (temporaly name) to a final (rename the file) destination. Under *NIX, I don't if Windows's PHP when upload tthe file, the file is copied to a temporaly directory. Bye, I've still My Question abou

[PHP] Re: File Upload Question...

2001-12-27 Thread Jeremy Reed
Your first question. To see that the file uploaded successfully using the web browser, one would have to have access to your computer's file system. In her book, she used this merely as an example to show that the file had, indeed, been uploaded. This should not be used as something that you all

[PHP] Re: file upload problem - Warning: Max file size of 8 bytes exceeded

2001-12-15 Thread David Serrano
I'm not sure if you've read this or not but it may help: http://www.php.net/manual/en/features.file-upload.php -David Serrano ([EMAIL PROTECTED]) "Lee Philip Reilly" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I have an HTML form containing a file

[PHP] Re: File upload

2001-10-31 Thread Liz Fulghum
Your files are being uploaded to the pre-defined temporary directory. $userfile contains the name of the temporary file the file was uploaded as. After you run all the checks on the file to make sure its valid, you should use copy() to move the file to its permament home in your file system, then

[PHP] Re: File Upload and NT...

2001-08-25 Thread Adrian D'Costa
Hi, I had this problem. If you say that even without the getimagesize() it is not being uploaded. Then try this. If you declared $the_image in the try using $the_image_name. From the manual this is what I figured out and it works (on linux) In PHP, the following variables will be defined w

RE: [PHP] Re: File Upload Size Limits

2001-07-27 Thread Michael Conley
y, July 27, 2001 7:27 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: File Upload Size Limits I think you need to check your Apache time limits too. Michael Conley wrote: > 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 w

[PHP] Re: File Upload Size Limits

2001-07-27 Thread bill
I think you need to check your Apache time limits too. Michael Conley wrote: > 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),