Skip to content
WJunction - Webmaster Forum

DDLCMS v2.0 Pre-Release

Status
Not open for further replies.

46 comments

I have upgraded my DDL site

All seems good apart from an error showing at the bottom of the page when someone submits (maybee i missed a bit of SQL)


I just started looking at the code and it does seem a bit messy,

part of leftside.php
Code:
 {
?>
   <input type="hidden" name="pageurl" value="<?php echo 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; ?>" />
<?php
 }
?>


Is it me or would it be better just sticking to php for most of the code? it jumps from html to php 100`s of times just in that file.

And the amount of times some images are loaded surely they would be better loaded via css
 
Im not sure if making it all php would make any difference, it may even make it worse as you would have to ECHO everything and add like \" which would result in a larger overall file...?

EDIT: i see no error on your site?
 
Like the above code could very easily be changed to

Code:
}
echo '<input type="hidden" name="pageurl" value="http:// '.$_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'].'" />';
}


Its a lot cleaner
 
@warezdemon just take a lok at some of the (better) sites using the script:
http://rapidshareddl.com
http://hellddl.com
http://evilddl.com
http://ddl2.in
http://megauploadddl.com
http://hyperddl.com/

My site has done extremly well in just over one month, 1400 pages indexed by google, 900+ inbound links (partly due to some stuff i done but still..), over 28k downloads with the help of a few submitters... i have gone through my linkbacks and since adding a button a lot of people are linking back with it... the system works well... you will not get these results without months of work with other scripts.

@GavO im not sure how serevrs interpret code, if it uses more cpu or whatever switching constantly then your theroy would be right, else it will just make the page/file size larger due to the extra bytes fro echo etc..... but yeah it looks cleaner iand is how i normally do things if i write a script..... this script does need some optimisation though im sure....

One thing i did notice though is the loading times also depend on sharingzone.. when they were down i completely removed the dynamic code and my pages loaded twenty times faster.........
 
Like the above code could very easily be changed to

Code:
}
echo '<input type="hidden" name="pageurl" value="http:// '.$_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'].'" />';
}


Its a lot cleaner

Actually Gav0 that's how it WAS before -- it was cleaned up and optimized to the current structure. I guess it's a matter of opinion, but my programmer is a professional coder and systems administrator, so he knows what he's doing, and v2.0 IS "cleaned up" (although it may appear "messy" -- it's not, it was intentional!)

What is the site, and what is the error message you're getting?
 
Status
Not open for further replies.

About the author

L
Active Member · Joined
245
Messages
3
Reactions
18
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom