How do I insert a "sendmail"?
Well, I mis-typed; I should have said "mail", not "sendmail" (there's that faulty log-term memory I was talking about again

.)
Here's the syntax for mail:
mail($m_to, $m_subject, $m_message, "FROM: $m_SenderAddress") or $mail_failed="true";
where
$m_to = the e-mail address you want to send the message to;
$m_subject = Whatever subject title you want to give the e-mail message
$m_message = whatever text message you want to send (e.g. "After the replace: Original: ".$file_name." Corrected:".$corrected_file_name)
'FROM: $m_SenderAddress" = this is optional in your case, since there is no actual sender address (it's just your server sending it.) But I figured I'd include the "FROM:" syntax in case you want/need it at another time.
Note that $m_to, $m_subject, $m_message and $m_SenderAddress are just my own variable names and are just standard variables. they are not special PHP keywords. You can use whatever variable names and values you may already have in your code.
The server alone cost's me almost $400 a year.
Bandwidth's a bitch, isn't it?
Well, all the code is in that folder, except for the "includes" folder I think it's called. The code is broken up into a few different files, all of them in the public_html folder.
Hmmm...I'm not sure off the top of my head whether errors in code that exists in an include file will post in the error log on the include folder or in the parent file's folder. I *think* it's in the parent file folder, but you might want to take a look at the error log file (if there is one) in the "includes" folder.
I know what you mean about the shallow pockets. I'm glad to help out here if I can. Let's try this mail notification thing and see if that code is actually running and what it's doing if it is. From there, we'll see what the next step should be.
G.