Wait one second, let me get this straight.
So in order to use PHP's mail() function, I don't need a seperate mail app, nor do I need to learn sendmail? It sounds too good to be true!
Dont I still have to give PHP some SMTP address or is that taken care of as well? Cuz if so, then I'm back to where I started, unless you could tell me about a simple SMTP program so something like that.
Appendages from everywhere!!!! Argh!
One more quick question: how long can a line of php code be? The $email string is going to be much longer than the one in the example. I know in JavaScript you can write:
my_variable = 'blah blah blah blah'
+ 'blah blah blah blah blah blah'
+ 'more blah blah blahs';
Can you do this in PHP if there is a problem with the length of a line of code?
Thanks
Re: Appendages from everywhere!!!! Argh!
Quote:
Originally posted by UConnVendetta
One more quick question: how long can a line of php code be? The $email string is going to be much longer than the one in the example. I know in JavaScript you can write:
my_variable = 'blah blah blah blah'
+ 'blah blah blah blah blah blah'
+ 'more blah blah blahs';
Can you do this in PHP if there is a problem with the length of a line of code?
Thanks
In PHP:
Code:
$my_variable = 'blah blah blah blah'
. 'blah blah blah blah blah blah'
. 'more blah blah blahs';
or
Code:
$my_variable = 'blah blah blah blah';
$my_variable .= 'blah blah blah blah blah blah';
$my_variable .= 'more blah blah blahs';