NYCPHP Meetup

NYPHP.org

[nycphp-talk] Re: Cannot debug issue with uploading a large file

John Reynolds john at johnreynolds.net
Thu Feb 8 15:28:12 EST 2007


This might be dopey, but the section on php.net about handling file uploads
mentions a hidden field you put in your HTML form to specify max upload
size. I think it's optional, but if you have it, and the max size is wrong,
or if it's in the wrong place (it needs to be before the input field), maybe
that's the culprit? I was just thinking it's client-side, since you're
getting no info from $_FILES. -- john r.

>>> -----Original Message-----
>>> From: talk-request at lists.nyphp.org 
>>> [mailto:talk-request at lists.nyphp.org] 
>>> Sent: Thursday, February 08, 2007 3:27 PM
>>> To: talk at lists.nyphp.org
>>> Subject: talk Digest, Vol 4, Issue 15
>>> 
>>> Send talk mailing list submissions to
>>> 	talk at lists.nyphp.org
>>> 
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>> 	http://lists.nyphp.org/mailman/listinfo/talk
>>> or, via email, send a message with subject or body 'help' to
>>> 	talk-request at lists.nyphp.org
>>> 
>>> You can reach the person managing the list at
>>> 	talk-owner at lists.nyphp.org
>>> 
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of talk digest..."
>>> 
>>> 
>>> Today's Topics:
>>> 
>>>    1. Re: Cannot debug issue with uploading a large file (Dan Cech)
>>>    2. Re: Cannot debug issue with uploading a large file 
>>> (Randal Rust)
>>>    3. Open Source cell Phone usage tracker.....
>>>       (Fee, Patrick J (US SSA))
>>>    4. Re: Cannot debug issue with uploading a large file 
>>> (Randal Rust)
>>>    5. Re: Removing www. (Nate Abele)
>>>    6. WAP Email Portal (Matt Juszczak)
>>>    7. Re: Re: Removing www. (inforequest)
>>>    8. Re: WAP Email Portal (Nicholas Hart)
>>>    9. Re: WAP Email Portal (Matt Juszczak)
>>>   10. Re: WAP Email Portal (Nicholas Hart)
>>>   11. Re: WAP Email Portal (Rolan Yang)
>>>   12. Re: WAP Email Portal (Matt Juszczak)
>>> 
>>> 
>>> ------------------------------------------------------------
----------
>>> 
>>> Message: 1
>>> Date: Thu, 08 Feb 2007 12:03:30 -0500
>>> From: Dan Cech <dcech at phpwerx.net>
>>> Subject: Re: [nycphp-talk] Cannot debug issue with uploading a large
>>> 	file
>>> To: NYPHP Talk <talk at lists.nyphp.org>
>>> Message-ID: <45CB57E2.5090606 at phpwerx.net>
>>> Content-Type: text/plain; charset=UTF-8
>>> 
>>> Randal Rust wrote:
>>> > I have a 10MB file that needs to be uploaded through a form. Seems
>>> > simple enough. Just modify php.ini to allow larger files, or user
>>> > ini_set().
>>> > 
>>> > The problem is that when I select this file and try to upload it,
>>> > nothing get passed in the $_REQUEST array, so I can't 
>>> figure out what
>>> > is going on here.
>>> > 
>>> > Basically, I have this:
>>> > 
>>> > if(isset($_POST['save'])){
>>> > //process form
>>> > echo 'form is submitted';
>>> > }
>>> > 
>>> > If I select a smaller file, it prints the message. If I select the
>>> > larger one, no luck.
>>> > 
>>> > Any ideas?
>>> 
>>> There is also a limit in Apache
>>> 
>>> http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody
>>> 
>>> Dan
>>> 
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Message: 2
>>> Date: Thu, 8 Feb 2007 12:14:23 -0500
>>> From: "Randal Rust" <randalrust at gmail.com>
>>> Subject: Re: [nycphp-talk] Cannot debug issue with uploading a large
>>> 	file
>>> To: "NYPHP Talk" <talk at lists.nyphp.org>
>>> Message-ID:
>>> 	<a9caffe50702080914g1bcdcea3w97a404c3858ef821 at mail.gmail.com>
>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>> 
>>> On 2/8/07, Tom Melendez <tom at supertom.com> wrote:
>>> 
>>> > Have you turned on display_errors, or looked in the logs?
>>> 
>>> Yes. There is nothing there.
>>> 
>>> > You should also be able to check the $_FILES array for 
>>> the error element....
>>> 
>>> That's part of  the problem. When I upload this larger file, I don't
>>> get the $_FILES array.
>>> 
>>> -- 
>>> Randal Rust
>>> R.Squared Communications
>>> www.r2communications.com
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Message: 3
>>> Date: Thu, 8 Feb 2007 12:23:18 -0500
>>> From: "Fee, Patrick J \(US SSA\)" <patrick.fee at baesystems.com>
>>> Subject: [nycphp-talk] Open Source cell Phone usage tracker.....
>>> To: "NYPHP Talk" <talk at lists.nyphp.org>
>>> Message-ID:
>>> 	
>>> <728813C3358BF04CB3A3DA2341D44A71053F7EC6 at blums0007.na.baesy
>>> stems.com>
>>> Content-Type: text/plain;	charset="us-ascii"
>>> 
>>> Hello Gang,
>>> 
>>> I've been tasked with developing a basic db to track department cell
>>> phone usage, plans, numbers, types of phones and software.  
>>> 
>>> This way corporate knows who has what, and if they are on 
>>> the best plan
>>> and with the latest software (like the a Blackberry 8100 with 4.1.03
>>> software).
>>> 
>>> Does anyone know of an open source solution... perhaps something in
>>> SourceForge?
>>> 
>>> Any ideas would be greatly appreciated.
>>> 
>>> Patrick J. Fee
>>> IT Software Analysis Solutions Group Manager
>>> Tel: (301) 231-1418
>>> Cel: (240) 401-6820
>>> Fax: (301) 231-2635
>>> Patrick.Fee at BAESystems.com
>>> ------------------------------------------------------------
------------
>>> "Our deepest fear is not that we are inadequate. 
>>> Our deepest fear is that we are powerful beyond measure. 
>>> It is our light, not our darkness that most frightens us."    
>>>                          --- Marianne Williamson
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Message: 4
>>> Date: Thu, 8 Feb 2007 12:30:14 -0500
>>> From: "Randal Rust" <randalrust at gmail.com>
>>> Subject: Re: [nycphp-talk] Cannot debug issue with uploading a large
>>> 	file
>>> To: "NYPHP Talk" <talk at lists.nyphp.org>
>>> Message-ID:
>>> 	<a9caffe50702080930o3407776dy29cd982befde9e69 at mail.gmail.com>
>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>> 
>>> On 2/8/07, Dan Cech <dcech at phpwerx.net> wrote:
>>> 
>>> > http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody
>>> 
>>> This sounds like the likely culprit. The thing is, my local server
>>> (1.3) doesn't have this directive.
>>> 
>>> I have the client checking into what the setting is on their server.
>>> 
>>> -- 
>>> Randal Rust
>>> R.Squared Communications
>>> www.r2communications.com
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Message: 5
>>> Date: Thu, 8 Feb 2007 12:31:21 -0500
>>> From: Nate Abele <nate at cakephp.org>
>>> Subject: [nycphp-talk] Re: Removing www.
>>> To: talk at lists.nyphp.org
>>> Message-ID: <C0BC9147-6258-4A4F-8270-21902F5CC9FE at cakephp.org>
>>> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>>> 
>>> Broken on IE7?  Is that like a joke or something?
>>> 
>>> > ummm..... be careful when taking code snippets and 
>>> standards advice  
>>> > from
>>> > a site that doesn't validate and is broken in IE7. 
>>> Especially when it
>>> > promotes a back link campaign IMHO.
>>> 
>>> 
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Message: 6
>>> Date: Thu, 8 Feb 2007 13:22:12 -0500 (EST)
>>> From: Matt Juszczak <matt at atopia.net>
>>> Subject: [nycphp-talk] WAP Email Portal
>>> To: NYPHP Talk <talk at lists.nyphp.org>
>>> Message-ID: <20070208132056.C35617 at saturn.atopia.net>
>>> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>>> 
>>> Hi all,
>>> 
>>> I was wondering if anyone knew of a "decent" wap based email portal 
>>> software that I could install on my webserver.
>>> 
>>> I've designed a tiny one in WML, but I was looking for a 
>>> decent WAP email 
>>> client and i couldn't find one.
>>> 
>>> A better question would probably be: Does anyone know of a decent 
>>> PHP powered WAP-based imap/imaps solution?
>>> 
>>> Thanks,
>>> 
>>> Matt
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Message: 7
>>> Date: Thu, 08 Feb 2007 10:26:20 -0800
>>> From: "inforequest" <1j0lkq002 at sneakemail.com>
>>> Subject: Re: [nycphp-talk] Re: Removing www.
>>> To: talk at lists.nyphp.org
>>> Message-ID: <21856-47719 at sneakemail.com>
>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>> 
>>> Nate Abele nate-at-cakephp.org |nyphp dev/internal group use| wrote:
>>> 
>>> > Broken on IE7?  Is that like a joke or something?
>>> >
>>> >> ummm..... be careful when taking code snippets and 
>>> standards advice  
>>> >> from
>>> >> a site that doesn't validate and is broken in IE7. 
>>> Especially when it
>>> >> promotes a back link campaign IMHO.
>>> >
>>> hahahahahahahahahahahahahahaha. Excellent!
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Message: 8
>>> Date: Thu,  8 Feb 2007 13:26:00 -0500
>>> From: Nicholas Hart <nhart at musicpf.org>
>>> Subject: Re: [nycphp-talk] WAP Email Portal
>>> To: talk at lists.nyphp.org
>>> Message-ID: <20070208132600.513tkeu0cgcc8ckw at mail.mptf.org>
>>> Content-Type: text/plain;	charset=ISO-8859-1;	DelSp="Yes";
>>> 	format="flowed"
>>> 
>>> I highly recommend horde.  Check out their website at: 
>>> http://www.horde.org
>>> 
>>> Regards,
>>> Nick H.
>>> 
>>> 
>>> > Hi all,
>>> >
>>> > I was wondering if anyone knew of a "decent" wap based 
>>> email portal
>>> > software that I could install on my webserver.
>>> >
>>> > I've designed a tiny one in WML, but I was looking for a 
>>> decent WAP
>>> > email client and i couldn't find one.
>>> >
>>> > A better question would probably be: Does anyone know of 
>>> a decent PHP
>>> > powered WAP-based imap/imaps solution?
>>> >
>>> > Thanks,
>>> >
>>> > Matt
>>> > _______________________________________________
>>> > New York PHP Community Talk Mailing List
>>> > http://lists.nyphp.org/mailman/listinfo/talk
>>> >
>>> > NYPHPCon 2006 Presentations Online
>>> > http://www.nyphpcon.com
>>> >
>>> > Show Your Participation in New York PHP
>>> > http://www.nyphp.org/show_participation.php
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Message: 9
>>> Date: Thu, 8 Feb 2007 13:50:13 -0500 (EST)
>>> From: Matt Juszczak <matt at atopia.net>
>>> Subject: Re: [nycphp-talk] WAP Email Portal
>>> To: NYPHP Talk <talk at lists.nyphp.org>
>>> Message-ID: <20070208134946.W44806 at saturn.atopia.net>
>>> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>>> 
>>> Nick,
>>> 
>>> Mimp looks very decent, but it requires horde to be 
>>> installed.  This looks 
>>> like a bit of a gigantic bundle for just a tiny application....
>>> 
>>> -Matt
>>> 
>>> On Thu, 8 Feb 2007, Nicholas Hart wrote:
>>> 
>>> > I highly recommend horde.  Check out their website at: 
>>> http://www.horde.org
>>> >
>>> > Regards,
>>> > Nick H.
>>> >
>>> >
>>> >> Hi all,
>>> >> 
>>> >> I was wondering if anyone knew of a "decent" wap based 
>>> email portal
>>> >> software that I could install on my webserver.
>>> >> 
>>> >> I've designed a tiny one in WML, but I was looking for a 
>>> decent WAP
>>> >> email client and i couldn't find one.
>>> >> 
>>> >> A better question would probably be: Does anyone know of 
>>> a decent PHP
>>> >> powered WAP-based imap/imaps solution?
>>> >> 
>>> >> Thanks,
>>> >> 
>>> >> Matt
>>> >> _______________________________________________
>>> >> New York PHP Community Talk Mailing List
>>> >> http://lists.nyphp.org/mailman/listinfo/talk
>>> >> 
>>> >> NYPHPCon 2006 Presentations Online
>>> >> http://www.nyphpcon.com
>>> >> 
>>> >> Show Your Participation in New York PHP
>>> >> http://www.nyphp.org/show_participation.php
>>> >
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > New York PHP Community Talk Mailing List
>>> > http://lists.nyphp.org/mailman/listinfo/talk
>>> >
>>> > NYPHPCon 2006 Presentations Online
>>> > http://www.nyphpcon.com
>>> >
>>> > Show Your Participation in New York PHP
>>> > http://www.nyphp.org/show_participation.php
>>> >
>>> >
>>> > !DSPAM:45cb6d29365615578519450!
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Message: 10
>>> Date: Thu,  8 Feb 2007 14:15:56 -0500
>>> From: Nicholas Hart <nhart at musicpf.org>
>>> Subject: Re: [nycphp-talk] WAP Email Portal
>>> To: talk at lists.nyphp.org
>>> Message-ID: <20070208141556.v54r2kyqf4w8ws4w at mail.mptf.org>
>>> Content-Type: text/plain;	charset=ISO-8859-1;	DelSp="Yes";
>>> 	format="flowed"
>>> 
>>> Matt,
>>> 
>>> What specifically are you trying to accomplish with it?
>>> 
>>> Nick
>>> 
>>> 
>>> > Nick,
>>> >
>>> > Mimp looks very decent, but it requires horde to be 
>>> installed.  This
>>> > looks like a bit of a gigantic bundle for just a tiny 
>>> application....
>>> >
>>> > -Matt
>>> >
>>> > On Thu, 8 Feb 2007, Nicholas Hart wrote:
>>> >
>>> >> I highly recommend horde.  Check out their website at: 
>>> http://www.horde.org
>>> >>
>>> >> Regards,
>>> >> Nick H.
>>> >>
>>> >>
>>> >>> Hi all,
>>> >>>
>>> >>> I was wondering if anyone knew of a "decent" wap based 
>>> email portal
>>> >>> software that I could install on my webserver.
>>> >>>
>>> >>> I've designed a tiny one in WML, but I was looking for 
>>> a decent WAP
>>> >>> email client and i couldn't find one.
>>> >>>
>>> >>> A better question would probably be: Does anyone know 
>>> of a decent PHP
>>> >>> powered WAP-based imap/imaps solution?
>>> >>>
>>> >>> Thanks,
>>> >>>
>>> >>> Matt
>>> >>> _______________________________________________
>>> >>> New York PHP Community Talk Mailing List
>>> >>> http://lists.nyphp.org/mailman/listinfo/talk
>>> >>>
>>> >>> NYPHPCon 2006 Presentations Online
>>> >>> http://www.nyphpcon.com
>>> >>>
>>> >>> Show Your Participation in New York PHP
>>> >>> http://www.nyphp.org/show_participation.php
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> New York PHP Community Talk Mailing List
>>> >> http://lists.nyphp.org/mailman/listinfo/talk
>>> >>
>>> >> NYPHPCon 2006 Presentations Online
>>> >> http://www.nyphpcon.com
>>> >>
>>> >> Show Your Participation in New York PHP
>>> >> http://www.nyphp.org/show_participation.php
>>> >>
>>> >>
>>> >> !DSPAM:45cb6d29365615578519450!
>>> > _______________________________________________
>>> > New York PHP Community Talk Mailing List
>>> > http://lists.nyphp.org/mailman/listinfo/talk
>>> >
>>> > NYPHPCon 2006 Presentations Online
>>> > http://www.nyphpcon.com
>>> >
>>> > Show Your Participation in New York PHP
>>> > http://www.nyphp.org/show_participation.php
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Message: 11
>>> Date: Thu, 08 Feb 2007 14:41:49 -0500
>>> From: Rolan Yang <rolan at omnistep.com>
>>> Subject: Re: [nycphp-talk] WAP Email Portal
>>> To: NYPHP Talk <talk at lists.nyphp.org>
>>> Message-ID: <45CB7CFD.3020400 at omnistep.com>
>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>> 
>>> Not answering your question directly but, gmail is quite 
>>> usable over wap.
>>> 
>>> ~Rolan
>>> 
>>> Matt Juszczak wrote:
>>> > Hi all,
>>> >
>>> > I was wondering if anyone knew of a "decent" wap based 
>>> email portal 
>>> > software that I could install on my webserver.
>>> >
>>> > I've designed a tiny one in WML, but I was looking for a 
>>> decent WAP 
>>> > email client and i couldn't find one.
>>> >
>>> > A better question would probably be: Does anyone know of 
>>> a decent PHP 
>>> > powered WAP-based imap/imaps solution?
>>> >
>>> >
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Message: 12
>>> Date: Thu, 8 Feb 2007 15:24:27 -0500 (EST)
>>> From: Matt Juszczak <matt at atopia.net>
>>> Subject: Re: [nycphp-talk] WAP Email Portal
>>> To: NYPHP Talk <talk at lists.nyphp.org>
>>> Message-ID: <20070208152410.A47898 at saturn.atopia.net>
>>> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>>> 
>>> I am trying to install something that I can use my WAP 
>>> browser to check 
>>> imap/imaps, write, folders, etc.
>>> 
>>> On Thu, 8 Feb 2007, Nicholas Hart wrote:
>>> 
>>> > Matt,
>>> >
>>> > What specifically are you trying to accomplish with it?
>>> >
>>> > Nick
>>> >
>>> >
>>> >> Nick,
>>> >> 
>>> >> Mimp looks very decent, but it requires horde to be 
>>> installed.  This
>>> >> looks like a bit of a gigantic bundle for just a tiny 
>>> application....
>>> >> 
>>> >> -Matt
>>> >> 
>>> >> On Thu, 8 Feb 2007, Nicholas Hart wrote:
>>> >> 
>>> >>> I highly recommend horde.  Check out their website at: 
>>> >>> http://www.horde.org
>>> >>> 
>>> >>> Regards,
>>> >>> Nick H.
>>> >>> 
>>> >>> 
>>> >>>> Hi all,
>>> >>>> 
>>> >>>> I was wondering if anyone knew of a "decent" wap based 
>>> email portal
>>> >>>> software that I could install on my webserver.
>>> >>>> 
>>> >>>> I've designed a tiny one in WML, but I was looking for 
>>> a decent WAP
>>> >>>> email client and i couldn't find one.
>>> >>>> 
>>> >>>> A better question would probably be: Does anyone know 
>>> of a decent PHP
>>> >>>> powered WAP-based imap/imaps solution?
>>> >>>> 
>>> >>>> Thanks,
>>> >>>> 
>>> >>>> Matt
>>> >>>> _______________________________________________
>>> >>>> New York PHP Community Talk Mailing List
>>> >>>> http://lists.nyphp.org/mailman/listinfo/talk
>>> >>>> 
>>> >>>> NYPHPCon 2006 Presentations Online
>>> >>>> http://www.nyphpcon.com
>>> >>>> 
>>> >>>> Show Your Participation in New York PHP
>>> >>>> http://www.nyphp.org/show_participation.php
>>> >>> 
>>> >>> 
>>> >>> 
>>> >>> 
>>> >>> _______________________________________________
>>> >>> New York PHP Community Talk Mailing List
>>> >>> http://lists.nyphp.org/mailman/listinfo/talk
>>> >>> 
>>> >>> NYPHPCon 2006 Presentations Online
>>> >>> http://www.nyphpcon.com
>>> >>> 
>>> >>> Show Your Participation in New York PHP
>>> >>> http://www.nyphp.org/show_participation.php
>>> >>> 
>>> >>> 
>>> >>> 
>>> >> _______________________________________________
>>> >> New York PHP Community Talk Mailing List
>>> >> http://lists.nyphp.org/mailman/listinfo/talk
>>> >> 
>>> >> NYPHPCon 2006 Presentations Online
>>> >> http://www.nyphpcon.com
>>> >> 
>>> >> Show Your Participation in New York PHP
>>> >> http://www.nyphp.org/show_participation.php
>>> >
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > New York PHP Community Talk Mailing List
>>> > http://lists.nyphp.org/mailman/listinfo/talk
>>> >
>>> > NYPHPCon 2006 Presentations Online
>>> > http://www.nyphpcon.com
>>> >
>>> > Show Your Participation in New York PHP
>>> > http://www.nyphp.org/show_participation.php
>>> >
>>> >
>>> > !DSPAM:45cb78dc485571377085587!
>>> 
>>> 
>>> ------------------------------
>>> 
>>> _______________________________________________
>>> talk mailing list
>>> talk at lists.nyphp.org
>>> http://lists.nyphp.org/mailman/listinfo/talk
>>> 
>>> End of talk Digest, Vol 4, Issue 15
>>> ***********************************
>>> 
>>> 




More information about the talk mailing list