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.
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. http://www.wampserver.com/en/ and run your server free from home.
http://www.youtube.com/watch?v=-rKDhZJignU
*************
file upload code
*************
<HTML>
<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" />
</HTML>
******
.php
******
<?php
$target = "upload/";
$target = $target . basename( $_FILES['uploaded']['name']) ;
$ok=1;
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
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)