Please clear my doubts!

Status
Not open for further replies.

sreerag135993

New Member
Messages
5
Reaction score
0
Points
0
Sir,
x10hosting.com is a great service.
Thank you very much.
please clear my these doubts,

1) I have a slow internet connection.But I want to upload some large files (about 10MB to100Mb).(not illegal files).Is it possible?? Downloading from remote server (url uploading) using php is prohibited???

I hope a friendly reply from you.

I respect your Terms and Services.
I want to give some useful services to visiters of my website.I have been read T&C.But I can\'t learn all the conditions. Because I am not fluent in English.So If I made a mistake, then please warn me by email.I will correct that.
yours
faithfully
sree
 

callumacrae

not alex mac
Community Support
Messages
5,257
Reaction score
97
Points
48
Yup, uploading large files is fine. It just might take a while to upload XD

Downloading remote files using file_get_contents / curl / whatever is allowed.
 

sreerag135993

New Member
Messages
5
Reaction score
0
Points
0
Thanks.
But I don't know more about php,scripting,etc.
I get a php(remote url download script) file from my friend.
For confirmation,I will add that script.
plz check and reply.
=====================================
<form method="post">
<input name="url" size="50" />
<input name="submit" type="submit" />
</form>
<?php

// maximum execution time in seconds
set_time_limit (24 * 60 * 60);

if (!isset($_POST['submit'])) die();

// folder to save downloaded files to. must end with slash
$destination_folder = 'mydownloads/';

$url = $_POST['url'];
$newfname = $destination_folder . basename($url);

$file = fopen ($url, "rb");
if ($file) {
$newf = fopen ($newfname, "wb");

if ($newf)
while(!feof($file)) {
fwrite($newf, fread($file, 1024 * 8 ), 1024 * 8 );
}
}

if ($file) {
fclose($file);
}

if ($newf) {
fclose($newf);
}

=======================================

I want to add this script in public_html folder.(for temporary file storing service. )
Is it allowed?
If yes, thanks.
If No, I will not publish that page link.

waiting for reply.

---------- Post added at 08:07 PM ---------- Previous post was at 06:08 PM ----------

Sir,
Are you offline now?
Anyway one more doubt, External links of movies,songs,softwares are allowed???
I mean rapidshare,hotfile,etc.
 
Last edited:

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

We don't allow file storage. All files must be related to your site.
Links to external illegal material such as pirated software/music is prohibited.

Thanks.
 
Status
Not open for further replies.
Top