[PHP] limit to number of mail function headers?
is there a limit to the number of headers you can use in the mail ( ) function? it seems as though the data is not being passed from the form fields to the variables in the headers. for instance $contact does display in the resulting html. see code below. also, just upgraded to apache 1.3.24, php 4.2.1. could this be affecting the results? thanks. ? $report = trim($report); $station = trim($station); $date = ($date); $time = trim($time); $aircraft = trim($aircraft); $flight =trim($flight); $tail = trim($tail); $gate = trim($gate); $captain = trim($captain); $first_officer = trim($first_officer); $second_officer = trim($second_officer); $details = trim($details); $solutions = trim($solutions); $submitted = trim($submitted); $contact = Mr Foo; // person to contact for assistance $toaddress = Mr [EMAIL PROTECTED]; // the default value $fromaddress = From: [EMAIL PROTECTED]; $subject = Report; $report_information = Report Type: .$report.\n // all the information from the report.htm form. .Station: .$station.\n .Date: .$date.\n .Time: .$time.\n .Aircraft #: .$aircraft.\n .Flight #: .$flight.\n .Tail #: .$tail.\n .Gate #: .$gate.\n .Captain: .$captain.\n .First Officer: .$first_officer.\n .Second Officer: .$second_officer.\n\n .Complete Details of Safety Occurrence: .$details.\n\n .Possible Solutions: .$solutions.\n\n .Submitted by: .$submitted.\n; mail($toaddress, $subject, $report_information, $fromaddress); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] header problem
why does the name variable ($name) not display in the email body, but displays just perfectly in the form result? i can see everything from Employee ID: down in the email body, and everything is seen in the form result. have i made some error? $bid_information = Name: .$name.\n .Employee ID: .$employee_id.\n .Month: .$month.\n .Aircraft: .$aircraft.\n .Position: .$position.\n .Bid Position: .$bid_position.\n .Revision: .$revision.\n\n .Choice 1: .$line1.\n .Choice 2: .$line2.\n .Choice 3: .$line3.\n .Choice 4: .$line4.\n; $fromaddress = [EMAIL PROTECTED]; mail($toaddress, $subject, $fromaddress, $bid_information); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] header problem - thank you!
for all of you that replied to my original post, thank you. all of the suggestions worked and i learned a couple of new things along the way. scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Security Issue
Hello, Would someone please offer some specific suggestions for the following?: 1. I have several static web pages ready to be published on the internet. 2. We have chosed PHP, MySQL and Apache as part of our development system. 3. I would like to incorporate a PHP script into each static web page that queries a MySQL database. This script will determine whether or not the person trying to view the page has the proper security privledges. If I need to explain this problem in more detail, please let me know. Any help or suggestions are greatly appreciated. Thank you, Scott [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] unix system
what are the minimum hardware requirements one would suggest for setting up a web server running php, mysql, and apache? thank you, scott [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]