I'm on a Mac, 10.5.8.
The problem: The PHP doesn't work unless I load the page by first using web sharing, and then viewing the email page through the http://localhost/email.html or whatever.
New problem: The entire email page is loaded within a frame, and I'm using
I often search google and end up at different sites like this one to search for solutions to my problems, but I had a strong feeling this is a very obscure problem since it implements the specific use of mac's web sharing, and having the problem there but not when the file is directly loaded, blah blah etc. So I made this profile on this site specifically to ask this question.
I forgot, I loaded the page from the local file, which allowed for frame handling and reloading, and the PHP page was then loaded through the webserver, http://localhost/sendmail.php, which allowed for the PHP to work.