Previous Thread
Next Thread
Print Thread
Rate Thread
#18858 06/11/02 09:29 PM
Joined: Mar 2002
Posts: 599
UGN's Resident Homo
UGN's Resident Homo
Joined: Mar 2002
Posts: 599
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
▼ Sponsored Links ▼ ▲ Sponsored Links ▲
#18859 06/12/02 02:18 AM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
it'd have to be somehting like http://www.UnderGroundNews.com/index.html?t=Hey%20you%20limey%20whore!

and a lotta [censored] 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 10:52 AM
Joined: Mar 2002
Posts: 599
UGN's Resident Homo
UGN's Resident Homo
Joined: Mar 2002
Posts: 599
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 12:54 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
I'm a [censored], 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/12/02 07:17 PM
Joined: Mar 2002
Posts: 562
UGN Supporter
UGN Supporter
Joined: Mar 2002
Posts: 562
I do.... laugh 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.

#18863 06/12/02 07:29 PM
Joined: Mar 2002
Posts: 562
UGN Supporter
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.


Link Copied to Clipboard
Member Spotlight
None yet
Forum Statistics
Forums41
Topics33,840
Posts68,858
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
unreal 1
Crime 1
Ice 1
Dartur 1
Powered by UBB.threads™ PHP Forum Software 8.0.0