---oOo--- Allowing users to execute CGI scripts in any directory should only
be considered if: ... a.. You have no users, and nobody ever visits your
server. ... Extracted Quote: Security Tips - Apache HTTP
Server ---oOo--- ------oOo---------------oOo------ Julien Bonastre
[The_RadiX] The-Spectrum Network CEO ABN: 64 235 749 494
julien@xxxxxxxxxxxxxxxx
www.the-spectrum.org ------oOo---------------oOo------
----- Original Message -----
From: "Julien Bonastre" <julien@xxxxxxxxxxxxxxxx>
To: <amol@xxxxxxxxxx>
Sent: Friday, December 09, 2005 10:25 PM
Subject: Re: Quick question
Got a quick fix,
If you are planning on doing this upload more often than once a decade I
suggest:
a) move closer to your host you are uploading to, I mean close enough to
run a fibre optic strand to it.
b) reconsider your data storage and how much or what you need to be on the
host
c) in parallel with response (a), move the host to where you are, host
from business front or home whichever applies, find suitable ISP that will
accomodate these needs, that way minimal transfer resources are required
over a LAN..
---oOo--- Allowing users to execute CGI scripts in any directory should
only be considered if: ... a.. You have no users, and nobody ever visits
your server. ... Extracted Quote: Security Tips - Apache HTTP
Server ---oOo--- ------oOo---------------oOo------ Julien Bonastre
[The_RadiX] The-Spectrum Network CEO ABN: 64 235 749 494
julien@xxxxxxxxxxxxxxxx
www.the-spectrum.org ------oOo---------------oOo------
----- Original Message -----
From: "Amol Hatwar" <amol@xxxxxxxxxx>
To: "Chris Payne" <chris@xxxxxxxxxxxx>; <php-db@xxxxxxxxxxxxx>
Sent: Friday, December 09, 2005 9:27 AM
Subject: Re: Quick question
** Comments Inline **
*chop*
Basically I need to be able to upload 1gig files via FTP which is based
on
Whoa! Did I read ONE GIG? By FTP I understand *the* File Transfer
Protocol. How is it based on PHP?
PHP, when the file uploads successfully it then adds the info to a mysql
database so that the administration program can control the programs
uploaded, but I can't upload any large files only small ones.
On FTP? Or from a PHP generated Web page?
Any help would REALLY be appreciated as this is quite urgent and I've
searched the net for examples but couldn't find what I needed.
For this answer I am assuming that you want to stick One Gig-o-files
using a PHP script. Let me know if this isn't the case. There are two
things to consider here:
1. The PHP script time-out (usually 30 secs) and the max-upload (2 MB)
2. The Apache Process recycle-time (look for settings in httpd.conf)
You can try playing around with these values. However, it is not good
for your scripts,Apache and PHP to stay in memory for such a long time
(till your huge file gets uploaded). They simply aren't designed to do
that. They are designed to just serve the requested page and shut up.
I'd suggest you use some different mechanism like SCP (if you don't want
to touch FTP) or rsync over SSH if you'd like the thing run unattended.
Regards,
ah
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php