UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
Sponsored Links
Latest Postings
by Gremelin
10/05/15 06:01 PM
Latest Reviews
Topic Options
Rate This Topic
#18984 - 06/07/02 06:22 PM PHP form processing troubles.
Le4rner Offline
UGN Supporter

Registered: 03/05/02
Posts: 562
I am trying to do a form (mostly for prctice) that will e-mail a freind the link to a site. HTML and PHP I have is listed below.

I am a bit lost as to what I am doing wrong.


<body bgcolor="#FFFFFF">
Your Freinds name

<INPUT TYPE="text" NAME="name" SIZE="20" MAXLENGTH="30">

Your Name

<INPUT TYPE="text" NAME="freind" SIZE="20" MAXLENGTH="30">

Their e-mail address

Your message about this site

<INPUT TYPE="text" NAME="message" SIZE="50" MAXLENGTH="90">

<INPUT TYPE="submit" VALUE="Send it!">



mail ("$email", "$name... $freind wants you to check this site", "$message !n !");

Sponsored Links
#18985 - 06/07/02 07:36 PM Re: PHP form processing troubles.
Le4rner Offline
UGN Supporter

Registered: 03/05/02
Posts: 562
Okay I got it sort of working, but when I get the e-mails it shows [email protected] (My ISP) as the return address. I wana have it so the sender puts in their e-mail (ha ha ha yea right) and it lists that as the return address. anyone able to help with this?

#18986 - 06/14/02 07:56 PM Re: PHP form processing troubles.
olosoft Offline

Registered: 03/02/02
Posts: 143
Loc: .
hmm, i dont know how this sendmail thing works, but when i was playing around with SR's anonimailer which uses winsock and shit, i couldnt get it to send any emails becuase nowadays most prohibit relaying. but when i finaly found a server that worked it also did the same thing with my IP in the email address. so i tried a few other servers and i finaly found one that displayed the from address like i wanted.

basicaly, i think its how the server handels the from address and it varies depending on the server. if you can figure out how, try to change the server that sendmail uses. here are a few servers that i found support relaying and display the from address correctly:

#18987 - 06/14/02 08:17 PM Re: PHP form processing troubles.
Gremelin Offline

Community Owner

Registered: 02/28/02
Posts: 7194
Loc: Portland, OR; USA
SendMail is for linux heh... Its a lot easier to use than smtp hehe...

basically you tell it what you want and you do it, i mean you reged your nick and got an email from Gizmo[at]undergroundnews[dot]com do you really think that i sent every one?
Donate to UGN Security here.
UGN Security, Back of the Web, Elite Web Gamers & VNC Web Design Owner

#18988 - 06/15/02 06:11 AM Re: PHP form processing troubles.
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
ya, I think my anonimailer announces itself as localhost. It doesn't give it's IP, but the recieving SMTP server may record it anyway. I didn't realize that not all servers did this.
Domain Registration, Hosting, Management

#18989 - 06/17/02 12:53 AM Re: PHP form processing troubles.
Le4rner Offline
UGN Supporter

Registered: 03/05/02
Posts: 562
I got it working now. There where some headers I had to include. But now you can heh, tell it what e-mail address you are sending from and who to e-mail, type in a message....

Bada bing it's out there. Pretty cool actualy. I knew how to spoof e-mails in telenet... Now I have a progy that makes it easier.....

Nah, actualy I have mine set up as a send your buddy a link to this site script.

If anyone abuses it I can easily track them down. Plus you can find out what server a e-mail came from just buy looking at the full header of an e-mail.


Moderator:  §intå×, Gremelin 
Featured Member
Registered: 09/07/15
Posts: 1
Forum Stats
2158 Members
46 Forums
41563 Topics
76738 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 34725
Gremelin 7194
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Jan Havelles, Herbert_Sherbert, codemauve, Lillysdragon1984, Brewwit
2158 Registered Users
Who's Online
0 registered (), 259 Guests and 358 Spiders online.
Key: Admin, Global Mod, Mod
Latest News

  Get Firefox!
Get FireFox!