Jump to content

Txt Files and Variables


ShoeLace1291

Recommended Posts

I'm making a script that will email my users upon registration.  For the email body, I want to use file_get_contents to shorten the mail function line.  If I use a txt file such as reg_email.txt, will variables such as $username still work?  I'm developing this script on my computer and I don't believe the mail function works. 

Link to comment
https://forums.phpfreaks.com/topic/78201-txt-files-and-variables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.