Quote Originally Posted by Mr Happy View Post
That's a fair point. I see now why you don't want to do that and your probably right. I've another feature request. Again I don't mind if it's not added but I think it could be useful and I know this could easily be done as a hook but that relies on people adding it which most probably wouldn't so hear me out.


Why not include a submit api system by default that would return a json reply saying if submits were rejected and why. eg site is banned, not whitelisted etc or how many were accepted.

Then in three months or whenever you find time to update warezlinkers/auto you can have it give a far more accurate response. Right now it just says downloads submitted even if they are rejected by the DDL site. This is where rardownloads is slightly better as it tries to crawl the returned page and shows the error message if they were rejected. It's really useful.

With rardownloads and linkplz-auto now the top autosubmitters you could use this to regain ground.

It's also better for the DDL admin as by just returning a json reply it's less stress on the server.
Everyone wins. Interested to hear what you think.
It is easily possible, this one ill talk to you on msn about.

Quote Originally Posted by jomasaco View Post
static urlHost($u)
Returns the host part of the URL $u

Need something like that but to domain
to add in blacklist and validating submittions ex:blogspot.com

static urlHost($u, $domain)
Returns the host part of the URL $u
if domain -> Return the domain of URL $u.

now complicating same to TLD's co,cc ....
You mean like 'http://abcdef.blogspot.com/' will return 'abcdef.blogspot.com' and you'd like it to return 'blogspot.com'?

This is a long time problem in any language, because you can have any number of subdomains (to an extent) so it isn't easily possible to determine the original domain. E.g. 'abc.somedomain.com', you just split at the 2nd to last '.' to get 'somedomain.com'. But for 'abc.somedomain.co.uk', that'd return 'co.uk'.

You'll have to figure your own way around this in your modules.
JmZ Reviewed by JmZ on . Official: WCDDL - The DDL Script Here's a big summary thread for you guys, ill try keep it up-to-date. http://warezcoders.com/images/logo.jpg What is it? I don't need a huge description here. If you're reading this thread you likely already know what WCDDL is. WCDDL is a DDL script, created to act as a base to DDL sites which can easily be modified to your needs and runs efficiently with minimal 'bloat'. It is very secure and handles high traffic well, while keeping the database size reasonable. Who made it? Rating: 5