Help - Search - Members - Calendar
Full Version: why cant upload
HTMLHelp Forums > Programming > Web Server Configuration
he....why i cant upload my rar file to 000webhost.coM? it say max size is 5mb im uploading 2.7mb and after 5 min says too big file
Maybe they disallow certain file types. Not unusual and understandable for a free host.
do you know a webhost where i can upload my dating scripts to test them?
If you pay for hosting, just about anyone. Free I don't know. I don't keep tracks.
what if i pay about anyone?
What I said above. Just about any paid host.
so only if i pay i can upload that script?
NO! But I don't know what free hosts allow rar.

Unpack the thing and there shouldn't be a problem. What are you going to do with the rar on the server anyway? It's not like you can run the scrips(s) from in there.
Cookie Creative
You might also be using to much 'server time' allotted to your free account.
Redoubtably their will will be tight restrictions in place on a free account.

try this. and run your server free from home.

file upload code
<b>File Upload</b>
<form enctype="multipart/form-data" action="upload.php" method="POST">
<input name="uploaded" type="file" /><br />
<input type="submit" value="Upload" />

$target = "upload/";
$target = $target . basename( $_FILES['uploaded']['name']) ;
if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target))
echo "The file ". basename( $_FILES['uploaded']['name']). " has been uploaded";
else {
echo "Sorry, there was a problem uploading your file.";

this assumes theres a folder in your webserver called upload and will place a browse button and upload button on your site and upload it into upload folder

hope this helps someone
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.