Eh? I put konq-op.html in that command?
(edits quickly)
You didn't see that, OK? :p
shell_escape() is a function that escapes a string so it can be safely used on the shell. The shell_exec() command simply uses the standard UNIX du(1) command to get the size of the file, since it will select the right units automatically (given the -h switch) which is a lot prettier than your attempt at doing the same thing. :p
I didn't see anything.
Off to try this thing out now... let's see how bad I can screw it up :p
Thanks for the info about shell_escape() :D
Okay I have it workng, so now it is time for the tweaks.
The first one is I get an error, because I have changed the $message. This line:
$message .= "The file name was: " . $name" . date("d") . ".sql . "\n\n";
is what gets the error.
basically what I am after is the email will say:
The file name was : BLiZZ31.sql
Strings get me... spaces and " and . and where to not use them.. GAHHHH!!!
$message .= 'The file name was: '.$name.date('d').'.sql \n\n';