On Thu, 6 Jun 2002, Christoph Starkmann wrote:
> Yes. In fact, i would like to prevent having users upload too
> big files. There are two reasons:
> First, I don't want my server space to be consumed by files too big.
> Second, I want to be able to prevent my (limited) traffic to
> be "exhausted"
Hi again, Dan!
> But you still have to rely on your visitors as they could simply use
> another web browser should they wish to DoS your site.
> Security measures
> such as logging in before allowing a file upload can come in
> useful here.
I think I have to agree at this point. I was just hop
>> I know this, not this new to CGI... ;) The only thing I
>> thought/hoped was that maybe there's a way to recieve the file size
>> information before upping the entire file.
>
> It is possible with some browsers:
> http://marc.theaimsgroup.com/?l=php-general&m=102079018906224&w=2
But you s
On Thursday 06 June 2002 17:53, Christoph Starkmann wrote:
> I know this, not this new to CGI... ;) The only thing I thought/hoped
> was that maybe there's a way to recieve the file size information before
> upping the entire file.
It is possible with some browsers:
http://marc.theaimsgro
Hi Dan!
> >> A) Do you want to place a limit on the size of a single file being
> >> uploaded?
> [...]
> > Second, I want to be able to prevent my (limited) traffic to
> > be "exhausted". Simple reason: I pay for anything above let's say
> > 10 GB of traffic. So what PHP offers to me AFAIK enabl
>> A) Do you want to place a limit on the size of a single file being
>> uploaded?
[...]
> Second, I want to be able to prevent my (limited) traffic to
> be "exhausted". Simple reason: I pay for anything above let's say
> 10 GB of traffic. So what PHP offers to me AFAIK enables me to
> protect my
Hi Jim!
> ok, here are a few questions for you to clarify things.
> A) Do you want to place a limit on the size of a single file being
> uploaded?
Yes. In fact, i would like to prevent having users upload too
big files. There are two reasons:
First, I don't want my server space to be consumed
le
file uploads? (this is what it sounds like you are asking, to me anyways)
Answer these two questions and it will help me alot
Jim Lucas
- Original Message -
From: "Christoph Starkmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 8:34
On Wed, 5 Jun 2002, Lowell Allen wrote:
> Add this to your HTML form:
>
The manual says this can be easily bypassed.
Regards.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> From: "andy" <[EMAIL PROTECTED]>
>
> // original question:
>
>
> I would like to be able to really PREVENT uploads, let's say
>>> bigger than 10 MB?!
>>>
>> Add this to your HTML form:
>>
>>
>>
>> HTH
>
>
>
> I tryed this, too. But this does not work at all! I use IE 5.5 and it did
> n
On Wednesday 05 June 2002 16:41, andy wrote:
> // original question:
>
>
> I would like to be able to really PREVENT uploads, let's say
>
> > > bigger than 10 MB?!
> >
> > Add this to your HTML form:
> >
> >
> >
> > HTH
>
>
>
> I tryed this, too. But this does not work at all! I use IE 5.5 and
Hi,
Not sure if this would work in limiting the file size of an
upload or not, but I noticed a line in my php.ini file which seems to limit the
size of any data sent by a POST, of course this would be a serverwide setting I
guess.
the line is;
post_max_size = 8M;
I'm assuming this would b
// original question:
I would like to be able to really PREVENT uploads, let's say
> > bigger than 10 MB?!
> >
> Add this to your HTML form:
>
>
>
> HTH
I tryed this, too. But this does not work at all! I use IE 5.5 and it did
not make any difference. Is there something else we have to take
> From: Christoph Starkmann <[EMAIL PROTECTED]>
>
> Hi There!
>
> When uploading a file with PHP, AFAIK I can only control what will be stored
> on the server. So if someone sends me 100 MB, these will be deleted
> immediately. But, unfortunately, the traffic is produced nevertheless. Is
> there
Hi There!
When uploading a file with PHP, AFAIK I can only control what will be stored
on the server. So if someone sends me 100 MB, these will be deleted
immediately. But, unfortunately, the traffic is produced nevertheless. Is
there any way to check the file size before uploading the file or an
15 matches
Mail list logo