Jump to content

alphaboss

Members
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

0 Neutral

About alphaboss

  • Rank
    Newbie
  1. I updated the php code to make it loop through the array of files but still not received any attachment in email here is the updated code: <?PHP /* Contact Form from HTML Form Guide This program is free software published under the terms of the GNU Lesser General Public License. See this page for more info: http://www.html-form-guide.com/contact-form/contact-form-attachment.html */ require_once("./include/fgcontactform.php"); $formproc = new FGContactForm(); //1. Add your email address here. //You can add more than one receipients.
  2. I don't think that I was perfectly clear with my question that I wanted to ask when it comes to uploading multiple files in php to be submitted to an email. For one line in my code which is: $formproc->AddFileUploadField('photo','jpg,jpeg,gif,png,bmp',2024); I am only adding one photo to this line. I want to change it so it is looping through the array of files and adding multiple photos instead. I am not to sure how to go about it though. Plus I also changed $_POST to $_FILES for my file type inputs. Any ideas of how to change it for the looping I hope that this clears up the question for
  3. Hello everyone I am trying to see if I can receive multiple photos at once from my contact php form to my thunderbird email when I go to my contact php form I click choose files and I highlight the photos that I want to send then I submitted form with those photos that I chosen then I checked my thunderbird email and I did receive the email from the contact form submitted but did not receive any file attachment. I have included the php code from the contact form any idea as what might be problem for this any help and solutions is greatly appreciated thanks very much in advance. <?PHP
  4. Can I send mail locally with either mercury mail which is included with the xampp control panel that I have or hmailserver which I downloaded and maybe see if that would work?
  5. Hello I did everything that you suggested but when I saved the php file and refreshed my web browser I get Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\contact.php on line 20 I added the same email address from $formproc->AddRecipient in the sendmail_from in php.ini I also added a From header with that email address but when I saved the file again and refreshed the page I get Warning: mail(): SMTP server response: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [YTOPR0101CA0019.CANPRD01.PROD.OUT
  6. Hello everyone I am trying add the mail() function with the strings from $formproc and $headers but I keep getting this error when I save the php file and refresh page on my web browser it says Parse error: syntax error, unexpected '$formproc' (T_VARIABLE), expecting ',' or ')' in C:\xampp\htdocs\contact.php on line 17 I am not sure what is wrong here any help and solutions is greatly appreciated thanks very much in advance. PS here is the php file below. <?PHP /* Contact Form from HTML Form Guide This program is free software published under the terms of the GNU L
  7. Ok I got it fixed now i changed th to table in my CSS elements code and it works thanks very much.
  8. I did change both position properties for background and table elements to absolute and set the z-index to number 2 for my table elements I have 2 table headers I want the image to go to the right side table header when I saved the file and refreshed my browser the image was on top of the text instead on the left side of my table here is the code I have for the table elements for CSS and HTML: th { position: absolute; z-index: 2; } <table style="width:100%"> <tr> <th><font size="4" color="navy">Have you just purchased a computer, printer, or
  9. Hello everyone I am trying to place an image within the right hand table but the background image is still shown when I place the image in the right hand table of my website that I am working on I would like that part of the background image covered I have attached screenshots of the HTML code and the webpage that I am working on any help and solutions would be greatly appreciated thanks so very much in advance.
×
×
  • Create New...