I wonder if somene can help me with this please.
I have a text file, used to domain registrations, and co.za need it to be a plaintext email in order to do the domain setup.
So, I thought of doing the following,
1a. Complete domain name: <? print $_SESSION[domainname]; ?>
1b. Action - [N]ew, [U]pdate, or [D]elete (N/U/D) : <? if ($_SESSION[domainaction] == 'new_domain') {
print 'N';
} else {
print 'U';
}; ?>
and save the file as a .php file, now it does print the domain name and action when I run the .php file
The question now is, how do I get it into a string, in order to email it?I'v tried file, readfile, fgets, fopen, and they all print the file contents, which is well, what they're supposed todo, but not with the domainname, and action. those lines are simply blank.
How would I approach this, cause to manually setup an email everytime I need to register a domain doesn't really work for me 🙂
Any help would be great