Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
I NEED A SCRIPT FOR A FORM & IP ADDRESS DISPLAY.can any one help??
Old 10-04-2006, 12:49 AM I NEED A SCRIPT FOR A FORM & IP ADDRESS DISPLAY.can any one help??
CircleOfLinks's Avatar
Extreme Talker

Posts: 243
Name: Danny
Location: Sydney
Trades: 1
Hi, does any one have a script that i could use on my site www.CircleOfLinks.com.au
I need the script to be able to track IP address and also allow a form to be submitted to my email. I need them to be able to enter there NAME, EMAIL ADDRESS AND A SHORT DESCRIPTION. then i would like it to email me there form with there IP address, but i also want it to show them that there IP has been logged EG/ your ip is BLA BLA BLA

after they send the form to me i would like it to send them a confirmation that i have recieved the form.

I dont have much experiance with coding,


thanks guys

danny
www.CircleOfLinks.com.au
CircleOfLinks is offline
Reply With Quote
View Public Profile Visit CircleOfLinks's homepage!
 
 
Register now for full access!
Old 10-04-2006, 07:33 PM Re: I NEED A SCRIPT FOR A FORM & IP ADDRESS DISPLAY.can any one help??
Junior Talker

Posts: 2
Name: na
Trades: 0
You could use something like this:

This is the form they would use to send them an email:

HTML Code:
<form method=post action="thanks.php">
    <table width="629" border="0" align="center" cellpadding="0" cellspacing="0">
         <tr valign="top"> 
              <td width="136" height="27" align="right"> <div align="right" class="style5"><font size="2">Your 
                  Name:</font></div></td>
              <td width="493"> <p> &nbsp; 
                <input type="text" name="name">
                 </p></td>
                </tr>
                <tr valign="top"> 
                  <td width="136" height="27" align="right"> <div align="right" class="style5"><font size="2">Your 
                  E-mail:</font></div></td>
                  <td width="493"> <p> &nbsp; 
                      <input type="text" name="ThereEmail">
                    </p></tr>
                <tr valign="top"> 
                  <td height="27" align="right"><span class="style5"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Subject:</font></span></td>
                  <td><p>&nbsp; 
                      <input type="text" name="thesubject">
                    </p></td>
                </tr>
                <tr valign="top"> 
                  <td width="136" height="107" align="right"> <div align="right" class="style5"><font size="2">Your 
                  Message:</font></div></td>
                  <td width="493"> <div align="left"> &nbsp; 
                      <textarea name="message" cols="50" rows="4"></textarea>
                    </div></td>
                </tr>
                <tr> 
                  <td colspan="2"> <div align="center"> 
                      <input type="submit" name="Submit" value="Send">
                      &nbsp;&nbsp;&nbsp;&nbsp; 
                      <input type="reset" name="Clear" value="Clear">
                    </div></td>
                </tr>
      </table>
</form>
The form would be submitted to thanks.php which would look something like this:

PHP Code:
<?php  
{
$email "Sender Name:\t$name\nSender E- Mail:\t$ThereEmail\nSubject:\t$thesubject\nMessage:\t$message\nIP:\t$REMOTE_ADDR\n\n"
$to "YourEmailAddress@YourDomain.com.au"
$subject "$thesubject  \n"
$mailheaders "From: $thereemail  \n"
$mailheaders .= "Reply-To: $thereemail\n\n"
mail($to$subject$email$mailheaders); 
include(
"thanks.html"); 

?>
From here they will be redirected to thanks.html or you have them be redirected to where ever you want them to go.

As far as sending them back a response saying that you received the message, you can setup an autoreply on your email account saying that. Or you can BCC, them a copy of the email you receive... Just a thought.

And on the form page you can do something like to show their IP address:

HTML Code:
<p>Your IP address is <?php echo($REMOTE_ADDR); ?>.  I have this logged.</p>
Hope this helps.
daniel981 is offline
Reply With Quote
View Public Profile
 
Old 10-04-2006, 09:23 PM Re: I NEED A SCRIPT FOR A FORM & IP ADDRESS DISPLAY.can any one help??
Skilled Talker

Latest Blog Post:
Chasing the drug cheats
Posts: 84
Name: Amy
Trades: 0
do u want paid or free ?
letsjoy is offline
Reply With Quote
View Public Profile Visit letsjoy's homepage!
 
Old 10-04-2006, 10:25 PM Re: I NEED A SCRIPT FOR A FORM & IP ADDRESS DISPLAY.can any one help??
ablaye's Avatar
Ultra Talker

Posts: 437
Location: WebmasterGround.com
Trades: 5
You can find plenty of scripts like this on hotscripts.com
With a little HTML and PHP knowledge, you can customize the script.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
ablaye is offline
Reply With Quote
View Public Profile Visit ablaye's homepage!
 
Old 10-10-2006, 05:58 AM Re: I NEED A SCRIPT FOR A FORM & IP ADDRESS DISPLAY.can any one help??
saadatshah's Avatar
Extreme Talker

Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Trades: 0
Google it buddy
__________________
- -- --- ---- ----- ------ ------- ---------------
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Old 10-14-2006, 10:50 AM Re: I NEED A SCRIPT FOR A FORM & IP ADDRESS DISPLAY.can any one help??
CircleOfLinks's Avatar
Extreme Talker

Posts: 243
Name: Danny
Location: Sydney
Trades: 1
whats the difference between paid or free?
free if possible but if i need to pay for one then ill pay for one

thanks
CircleOfLinks is offline
Reply With Quote
View Public Profile Visit CircleOfLinks's homepage!
 
Reply     « Reply to I NEED A SCRIPT FOR A FORM & IP ADDRESS DISPLAY.can any one help??
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.29455 seconds with 12 queries