Nice to see you're willing to work on it :)
And be sure to check out the concatenate issue.
You'll want to have something like this:
<?php
...
$finalpath = $this->downdir . $this->filename;
$i = 0;
while(file_exists($finalpath)){
$finalpath = $this->downdir...
Noticed the useragent is just mozilla..
so why not let people decide which useragent they want to set?
And add error handling.
Anyway, nice piece of code.
That's one of the things I can delete of my 'I wanna code this:' list :p
edit:
This worry's me:
<?php
...
$contents = fread($bh[$i]...
Aren't such scripts for sale nowadays?
I did a quick google and found this:
http://www.celerondude.com/php-uploader-v6
But if you really want to have a custom one, you're going to want to spend a few bucks.
I agree, using a paid host will improve the speed of your blog aswell. Use one of the hosts you can find in this forum.. But still, you are risking a lot.
Where did you get the idea that it would be safer to start a blog of your own?
If it gets too popular the police knows all they have to do is track down 1 guy in order to shut it all down. The risk is always higher if you post on sites you own yourself.
I'm really forcing myself here to stay calm after reading OP's post..
When I voted for ' Other File Host ' I didn't read the first post yet.
For me a good filehost is a host that doesn't delete my account without a VERY good reason. It has to have...
In my case it's probably because of the huge amounts of traffic I created with http://file-remoter.com
The banned server was my most used server.
It's funny how they banned it after I stopped allowing new members/renewals.
I'm on the leaseweb network btw.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.