Okay, I see you are using a sub-domain, since you have this:
$folder = "http://www.dangerouslystupid.lunarpages.com/uploads";
Now, I would think this line then should read:
$domain = "dangerouslystupid.lunarpages.com";
It may also need the "www" version, as well.
Please check to see if you have a sub-folder called "dangerouslystupid" inside your public_html, and also check where the "uploads" folder is at (is it inside the public_html or inside the "dangerouslystupid" sub-folder? Cuz the latter will then alter the $dir config path)
Also, it seems you haven't entered any of the other configs, like:
$notify = 'email@example.com';
Did you leave them unchanged only for this forum post, and it is changed in your actual script?
I am also assuming that you purposely didn't enter your entire script and are only showing us the "user config" parts (as you mentioned in your first post). But, I have to mention, cuz we've had many times where the person's problem was cuz they were missing parts of the script but we didn't find out (cause we "assumed") until several pages of posts. I don't know what your level of scripting knowledge is, and I don't want to offend you, but I'm just gonna tell you this just in case (to make sure you have the entire script) ... make sure that it starts with:
It might have some other stuff at the end of it like "-t" etc. but it has to start with that above line as the first line of code.
Also, make sure to compare the ending of the script with the original one you downloaded cuz many times that gets accidentally truncated when uploading your script to the server via cPanel. This, too, has been many a time the culprit.