PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
So I used a grep to search out a line of code. It returned nothing, but the code is obviously being generated by a (mail) function or some function because it's part of an auto-responder after a purchase it being made.
Thank you for your order! etc etc etc.
Name
Address
billing info
shipping info etc etc.
Any ideas where this might reside? If it's not in my actual files anywhere?
First, please use [ syntax] tags (the PHP Code button) to prevent your code from being an unreadable mess. Second, $SenderMail is used in that code, but defined somewhere else. A list of functions are defined here, but none of them are called.
Sorry, I will use the syntax tags from here on out.
I used:
grep -rn '$SenderMail' .
to search out the function and try and find where it's being defined at but it was only located on two other pages.. one page it was commented out on and the other page was for our blog.. nearly identical code with no definitions.
Seems strange that a function wouldn't ever be called. If you're sure it isn't, then you must have isolated the wrong function and it's back to the drawing board trying to determine which function is sending out these emails.
That's what I was hoping you weren't going to say. I've been using aptana and so i just downloaded netbeans perhaps it will help define the functions better than aptana. =]
well, i feel like a big dummy cause the name in the email address coming from the payment gateway. Just thought I'd mention that the issue has been resolved and thanks again for any time and effort put fourth from you guys.