I heard if this odd script
like an email one
it goes on ur site
and its a form
and you can fill in the details like
Name:
Request:
etc.
Anybody Know It?
Do you mean a from that someone fills in, clicks submit and it sends it to your email or adds it to a text file?
Lets set the stage on fire, and hollywood will be jealous.
I could code one for you, and its html and php btw![]()
Lets set the stage on fire, and hollywood will be jealous.
Save this as form.php
Then make a blank file called submitted.txtPHP Code:<?php
if($_GET['action'] == "send") {
$Name = $_POST["Name"];
$Request = $_POST["Request"];
$Send = fopen("submitted.txt", "r+");
fputs($Send , "Name: $Name/n");
fputs($Send , "Request: $Request/n/n");
fclose($Send);
echo "Your message has been sent.";
exit();
?>
<form method="post" action="?action=send">
<table width="95%">
<tr><td width="200">Name:</td>
<td><input type="text" style="width: 300px;" name="Name"></td></tr>
<tr><td>Request:</td>
<td><textarea name="Request" style="width: 300px; height: 200px;"></textarea></td></tr>
<tr><td></td><td><br>
<input type="submit" value="Send!">
</td></tr>
</table>
</form>
Then to add the form to a page use this code:
PHP Code:<?php
include("form.php");
?>
Last edited by Decode; 26-04-2008 at 09:59 AM.
Lets set the stage on fire, and hollywood will be jealous.
Is it basically a "SHOUTBOX"?
Hi, names James. I am a web developer.
Can you explain what you want to use it for...
Lets set the stage on fire, and hollywood will be jealous.
Want to hide these adverts? Register an account for free!