Your browser does not seem to support CSS. If images appear below, please disregard them.
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a Donation to help aid in operating costs.
Previous Thread
Next Thread
Print Thread
Rate This Thread
#18858 - 06/12/02 04:29 AM form help  
Joined: Mar 2002
Posts: 599
BackSlash Offline
UGN's Resident Homo
BackSlash  Offline
UGN's Resident Homo

Joined: Mar 2002
Posts: 599
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."
Sponsored Links
#18859 - 06/12/02 09:18 AM Re: form help  
Joined: Feb 2002
Posts: 7,195
Gremelin Online shocked
Community Owner
Gremelin  Online Shocked

Community Owner

Joined: Feb 2002
Posts: 7,195
Likes: 3
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, and VNC Web Services Owner
#18860 - 06/12/02 05:52 PM Re: form help  
Joined: Mar 2002
Posts: 599
BackSlash Offline
UGN's Resident Homo
BackSlash  Offline
UGN's Resident Homo

Joined: Mar 2002
Posts: 599
TN
but if i'm not cool i don't get help??? your cruel


"It's better to burn out, than to fade away."
#18861 - 06/12/02 07:54 PM Re: form help  
Joined: Feb 2002
Posts: 7,195
Gremelin Online shocked
Community Owner
Gremelin  Online Shocked

Community Owner

Joined: Feb 2002
Posts: 7,195
Likes: 3
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, and VNC Web Services Owner
#18862 - 06/13/02 02:17 AM Re: form help  
Joined: Mar 2002
Posts: 562
Le4rner Offline
UGN Supporter
Le4rner  Offline
UGN Supporter

Joined: Mar 2002
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.

Sponsored Links
#18863 - 06/13/02 02:29 AM Re: form help  
Joined: Mar 2002
Posts: 562
Le4rner Offline
UGN Supporter
Le4rner  Offline
UGN Supporter

Joined: Mar 2002
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.


Member Spotlight
Gremelin
Gremelin
Portland, OR; USA
Posts: 7,195
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums45
Topics46,824
Posts81,994
Average Daily Posts10
Members2,159
Most Online1,567
Apr 25th, 2010
Latest Postings
Top Posters(All Time)
UGN Security 39,988
Gremelin 7,195
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Liked Users (All Time)
§intå× Likes: 1
Cold Sunn Likes: 1
Crime Likes: 1
Cyrez Likes: 1
Ghost Likes: 1
Gremelin Likes: 4
Ice Likes: 1
unreal Likes: 1
Top Liked Users (30 Days)
No Data Found
Powered by UBB.threads™ PHP Forum Software 7.6.0
(Snapshot build 20160902)