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
September
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Sponsored Links
Latest Postings
Doom 3
by Cyrez
09/11/14 08:58 PM
The History Thread...
by Cyrez
09/11/14 08:56 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666
08/22/14 09:21 AM
Latest Reviews
Topic Options
Rate This Topic
#18858 - 06/11/02 09:29 PM form help
BackSlash Offline
UGN's Resident Homo

Registered: 03/16/02
Posts: 599
Loc: TN
i was wondering if anyone could tell me how to make it so that if i set up a link to a page and make it something like this "http://www.undergroundnews.com&mytext=hey"

if i had a text box on that page, how do i make it so that whatever is in the url "mytext=hey" comes up in that text box? if you know give me some help. thanks
_________________________
"It's better to burn out, than to fade away."

Top
Sponsored Links
      
#18859 - 06/12/02 02:18 AM Re: form help
Gremelin Offline

Community Owner
*****

Registered: 02/28/02
Posts: 7192
Loc: Portland, OR; USA
it'd have to be somehting like http://www.undergroundnews.com/index.html?t=Hey%20you%20limey%20whore!

and a lotta shit can do that, depends on how cool you are...
_________________________
Donate to UGN Security here.
UGN Security, Back of the Web, Elite Web Gamers & VNC Web Design Owner

Top
#18860 - 06/12/02 10:52 AM Re: form help
BackSlash Offline
UGN's Resident Homo

Registered: 03/16/02
Posts: 599
Loc: TN
but if i'm not cool i don't get help??? your cruel
_________________________
"It's better to burn out, than to fade away."

Top
#18861 - 06/12/02 12:54 PM Re: form help
Gremelin Offline

Community Owner
*****

Registered: 02/28/02
Posts: 7192
Loc: Portland, OR; USA
I'm a bastard, i don't like to help people....
_________________________
Donate to UGN Security here.
UGN Security, Back of the Web, Elite Web Gamers & VNC Web Design Owner

Top
#18862 - 06/12/02 07:17 PM Re: form help
Le4rner Offline
UGN Supporter

Registered: 03/05/02
Posts: 562
I do.... heh gizmo hasn't eaten his newbie snack today.

I'm not sure what you are trying to do here. Are you trying to fill a text block or have it create a text page? and mostlikely you will need a server side language of some sort. i.e... PHP perl, python ect ect....

My PHP mail form is below this topic.
_________________________
http://promodtecnologies.com/rrfn

Top
#18863 - 06/12/02 07:29 PM Re: form help
Le4rner Offline
UGN Supporter

Registered: 03/05/02
Posts: 562
Your basic HTML form lets say it is saved as form.html

Code:
  
<html>
<head>
<title>Form</title>
</head>
<body bgcolor="#FFFFFF">

<FORM ACTION="test.php" METHOD="POST">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<
br>

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



<INPUT TYPE="submit" VALUE="Send it!">
</FORM>
</body>
</html>
Now notice in the form action it says test.php Well that calls for a seperate page to process the info

Code:
 
<?php
mail ("$email", "$name... $freind wants you to check this site", 
"$message !n http://rrfn.promodtecnologies.com !");?>  
And the above code is what you would find on that page. The file is save as test.php and processes the variables from the form.

This one sends and e-mail out.

it uses the
mail () function
in PHP **this requires sendmail to be installed**

All the $words you see are the variables from the HTML form.

$email", is who this will be sent to

"$name, The persons name who will recive it

$freind The name of who sent it

wants you to check this site this will apear in the subject line

And there is more, I myself am still learning PHP. but you can add a reply to function in the header with will give the correct e-mail addy to reply to.
_________________________
http://promodtecnologies.com/rrfn

Top

Moderator:  §intå×, Gremelin 
Featured Member
Registered: 03/02/02
Posts: 136
Forum Stats
2148 Members
46 Forums
34339 Topics
69508 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 27501
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Gecko666, defghi795767, Devo60, ali, lavos
2147 Registered Users
Who's Online
0 registered (), 292 Guests and 268 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!