Re: your opinion on this: large file upload to isp instead of web host
- From: Captain Paralytic <paul_lautman@xxxxxxxxx>
- Date: Wed, 6 Feb 2008 05:30:20 -0800 (PST)
On 6 Feb, 12:35, Rob <ratkin...@xxxxxxxxxxxxx> wrote:
On Feb 6, 10:47 am, henribaeyens <cont...@xxxxxxxxxx> wrote:
Hello,
I'd like some input on this idea.
I'm working on a site that'll serve streaming video (kinda like youtube
but WAY more confidential, if you know what I mean). The problem though
is that the web host isn't very flexible: the upload file size limit is 2
megs and we'll be using 10 to 20 megs files. They can be ftp'd, but
that's not a practical solution: see, videos (FLVs) are meant to be
uploaded thru an admin interface along with some other data such as
title, subject, keywords, date of recording, and all that is fed to a
database (the process has to be fluid: the admin shan't have to enter the
video's data, update the database, and then open an ftp client to upload
the actual file). So I was thinking about using the isp. In a nutshell,
the video file would be uploaded not to the web hosts disk but to the
isp's. The database will store a link to the remote file. Of course, I'll
have to make sure that the streaming would still be fast enough. But many
pages and blogs feature youtube media, and I don't really see any
difference.
Practically, how do I tell php not to upload to the web host but to the
isp?
Does this seem like a viable alternative? or what?
Henri
First of all, even though your ISP may give you more disk space than
your hosting company, I would check the details of your agreement with
them. You may find that they reserve the right to delete your data if
you're using the space to host files. A lot of companies do this to
stop their bandwidth being eaten up.
Should you want to do it, you need to make sure your ISP allows PHP
scripts.
Create your web site as normal with your hosting company. In the
upload script, instead of pointing the form to your normal host, point
it at the ISP server, e.g. <form action="www.my_isp_host.com/
upload.php">
You will need an 'upload.php' script available on your ISP that can
store the file, then redirect your users back to your main site.
Rob.
I was thinking he was referring to the user's isp
.
- Follow-Ups:
- References:
- Prev by Date: Re: your opinion on this: large file upload to isp instead of web host
- Next by Date: Re: your opinion on this: large file upload to isp instead of web host
- Previous by thread: Re: your opinion on this: large file upload to isp instead of web host
- Next by thread: Re: your opinion on this: large file upload to isp instead of web host
- Index(es):
Relevant Pages
|