![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jun 2006
Posts: 122
OS: Windows XP home
|
Hello,
I need some assistance, just a question really. I see this line in my coding: #print SENDMAIL "To: employment\@rrmca.com\n"; pirnt SENDMAIL "To: retroesh\@gmail.com\n"; #test to see #if it can send to gmail 2 questions pop in my head that I need you assistance. One of the questions is, when I see the line: #print SENDMAIL "To: employment\@rrmca.com\n"; The # sign, does that mean it’s a comment or does that mean it’s a start of a execute or a pointer? Or is it just a commented out, because we want it to send it to employment@rrmca.com which is an email. Then I look at the email that it shows, however its input within the code as “To:employment\@rrmca.com\n”; I do know that the \n means end line, which is a common c++ ending line, however it’s the email that it shows it as employment\@rrmca.com which puzzles me, is that correct, or does it need to be “To:employment@rrmca.com\n”; ?? I thank you for taking this time to reading my email, if you can get back to me either email or post it. also if you guys want to see the perl script, i can email it to you, just post your email. Thank you Steven B |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Retired
|
the "#" is a comment introducer and terminator so what seems to be happening is the first line is commented out so the second line will execute. that way, if the user wants the first line to run and not the second, they just move the comment. It is much easier than deleting a line and then retyping it later when it's wanted.
__________________
|
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Jun 2006
Posts: 122
OS: Windows XP home
|
thanks for the info... but now..
thanks for the info, but now i still have the problem of the script not sending the email to employment@rrmca.com, i have deleted the # which commented it out, how about the \ between employment and @rrmca.com? should i delete that as well?? also, if you want to see the entire script, please give your email and i will email it to you, maybe there is something in the script that i am doing wrong, or maybe something wrong with the html, which i can email you that as well, there are a total of 2 htmls.
|
|
|
|
|
|
#5 (permalink) |
|
Design Team
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)
|
I do not know much about perl at all, but if you can define variables and use them then do this:
emailvariable = 'employment@rrmca.com'; That is PHP format but single quotes display literal statements in most languages.
__________________
Nice music blog ![]() Nvu || Notepad++ || Apache || PHP || Keep TSF Alive "The great thing about a computer notebook is that no matter how much you stuff into it, it doesn't get bigger or heavier." |
|
|
|
|
|
#6 (permalink) |
|
aka mr.fraggs
|
there u go hes correct. u can only use the \ when u have "" double quotes otherwise u should be able to just use @ with single quotes.
__________________
I don't subscribe to threads please PM me if i miss a reply. ------- Everest SensorView Pro DriverCleaner how to fix your game |
|
|
|
![]() |
| Thread Tools | |
|
|