Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bad959fl

    Newsletter Script Help Needed

    I also want to place the "subscribers.txt" file in a secured area (cgi-bin) to protect the email addresses. I moved this file over and updated the code: $filename = '/home/httpd/vhosts/domain.com/cgi-bin/subscribers.txt'; However, it errors out now. Is there a way to make this work?
  2. bad959fl

    Newsletter Script Help Needed

    I have no idea how to do this? Can you provide some sample code?
  3. bad959fl

    Newsletter Script Help Needed

    Vragabond- Works nicely. Thanks! My last issue with this form is make sure the client enters each form field. Since I have over 20 forms with different numbers of fields for each one, whats the best way to implement this so if they dont fill out a field, they will receive an error message?
  4. bad959fl

    Newsletter Script Help Needed

    flubbard- I just removed the "\r" and it has the same results. Not sure exactly what this is for since another forum user helped with with this script.
  5. bad959fl

    Newsletter Script Help Needed

    I'm just about finished with this script but I need a little more help. Here is the current code: <?php // see if newsletter was checked $email = trim(@$_POST['email'] ); //@suppresses the warning when email is not set if ( isset($_POST['newsletter']) &&!empty($email) ) { $filename =...
  6. bad959fl

    Newsletter Script Help Needed

    Ok, I'm just about there :) I have different scripts that seem to do everything I need but I'm not sure how to combine them to work correctly. Here is the code to email me the with the client's email address in the "From:" field when I receive the message: <?php $sender = $email; $target =...
  7. bad959fl

    Newsletter Script Help Needed

    flubbard- The sender's email address is showing up in the body: ------------------------------- email address: email@email.com ------------------------------- But I need it to actually show up in the "From:" of the email address, so I can simply reply to the email and have it go to the...
  8. bad959fl

    Newsletter Script Help Needed

    flubbard- Thanks, I added your script but still receive this in the "From:" field when I receive the email: --------------------- Sender Unspecified --------------------- How do I have their emal address displayed, so when I reply to the email it will go directly to them? Thanks!
  9. bad959fl

    PHP Forms Question

    DRJ478- Thanks for the info. I have a sample script which I have had help with and been working on for the last few days. I just posted it on this forum. I'm having a hard time receiving specific info from the form. If you have a sec, can you check it out? Thanks!
  10. bad959fl

    Newsletter Script Help Needed

    Hey Everyone- I would like some help on this script I have been putting it together for my newsletter signup page on my site. This current script below works for writing the client's email address and name into a text file (subscribers.txt). However, it still does not send me an email with the...
  11. bad959fl

    PHP Forms Question

    Hello, I'm currently using a basic formmail.pl script for the forms on my website. I have a newsletter signup option on all of my forms for visitors to subscribe. Up until now, I have been importing the email addresses and names into a text file for my mailing list. I basically copy and paste...

Part and Inventory Search

Back
Top