Jump to content

TCH-Bruce

Members
  • Posts

    20,156
  • Joined

  • Last visited

Everything posted by TCH-Bruce

  1. You can use File Manager in cPanel to browse your folders looking for the config file for you site. Then edit that file to see the password. Don't make any changes while editing but it's the only way to see the contents.
  2. TCH-Bruce

    Frontpage

    To create a second form you would name the second config.php file something else (config2.php). I would assume you would also need to create a copy of the form processing script with an alternate name. As for sending two emails, sorry can't help you there without seeing the processing script.
  3. Andy's response will read a database and display all the records to the browser. You can replace this with a table if you would like the output formatted in columns. >echo "<b>$first $last</b><br>Phone: $phone<br>Mobile: $mobile<br>Fax: $fax<br>E-mail: $email<br>Web: $web<br><hr><br>";
  4. Welcome to the forums Gando
  5. I recommend picking up the book PHP & MySQL for Dummies. That and search for PHP Tutorials with Google. That's how I got my start.
  6. Get a copy of WinZip or 7-Zip and create your zip file. I've never tried the compressed folder so that may be the problem.
  7. What did you use to zip them? And take the space out of the filename.
  8. Well it could but I don't know if it will. This is part of a script that I use on my company's website. The full script does a lot more than send a message to the person that filled out the form which is what this snippet does. I only posted this part to show how to create the headers so the server does not send mail as serverXX.tchmachines.com The -f$recip on the $mailprog line authenticates $recip as the sender of the message. The Reply-To and From lines set up the message for the email client.
  9. The script I posted is written in Perl. It usually goes in the cgi-bin folder and is called with in your HTML page. Maybe NateMail would help you. http://www.mindpalette.com/formprocessing/index.php
  10. The script needs to send mail sort of like this for that to happen. >$mailprog = '/usr/sbin/sendmail -t'; $recip = "you\@yourTCHdomain"; open (MAIL, "|$mailprog -f$recip"); print MAIL "Reply-to: you\@yourTCHdomain\n"; print MAIL "From: you\@yourTCHdomain\n"; print MAIL "To: $E_Mail\n"; print MAIL "Subject: Your message has been received\n"; print MAIL "\n\n"; print MAIL "Thank you ".$First_Name." for using our on-line message form.\n"; print MAIL "\n"; print MAIL "We will respond to your query as quickly as possible.\n"; print MAIL "\n"; print MAIL "You submitted the following:\n"; print MAIL "\n"; print MAIL "Name: ".$First_Name." ".$Last_Name."\n"; print MAIL "E-mail: ".$E_mail."\n"; print MAIL "------------------------------------\n"; print MAIL "Comments: ".$Comments."\n"; print MAIL "------------------------------------\n"; print MAIL "\n"; print MAIL "If you require a response you should receive one within 48 hours, if not please submit \n"; print MAIL "this information again by replying to this message.\n"; print MAIL "\n"; print MAIL "Thank you,\n"; print MAIL "\n"; print MAIL "\n\n"; close (MAIL);
  11. Thanks for the info on AOL and mailing lists.
  12. formmail.pl is a forms processing script. You need a script named that or some other forms processing script to collect the info and send it on.
  13. Glad you found a solution.
  14. Have you tried writing a cookie and reading it? Sounds like your variables are not being passed.
  15. 1. I wouldn't think the forwarding rule would prevent AOL subscribers but anything is possible. You can open a ticket with the help desk and ask if that is the case. 2. I have never used phplist but I would assume the answer to be no. You could create a second list. 3. Please do not discuss the limits in the open forums. Use the PM feature of the forum to discuss it with each other. Thanks.
  16. It should be /usr/local/bin/convert If that does not work for you please open a ticket with the help desk.
  17. There is nothing stopping you from doing your own. I was only trying to point out that you were going to be doing something that's already been done before. You will have learn how to code in PHP and MySQL. I was trying to save you some time and headache. I program for a living and I would use an already built script over creating my own to save time.
  18. Welcome to the forums spielnicht I would start my search at hotscripts.com
  19. I would recommend against forwarding them to your default cpanel email account. I would create an email account for info@ and check it with webmail since that's what you are doing with your default account. Then set your default account to :fail: to cut down on the amount of spam you may be receiving. Your default account was intended for the system to send you email based on errors and other such things happening with your account it wasn't intended as an email account per se.
  20. CMS stands for Content Management System and you can demo many of them at OpensourceCMS.
  21. You will need some sort of form processing script on the back end that handles the form data. Check hotscripts.com for a suitable script.
  22. You are reinventing the wheel. There are member scripts out there. There are CMS packages that do it natively. Storing credit card or paypal information unless it's secure is dangerous.
  23. TCH-Bruce

    Frontpage

    I'm sorry, but no I cannot offer a suggestion. Just try to make sure it's a secure form processing script. Many are free, just remember you get what you pay for.
×
×
  • Create New...