I need a PHP code which can generate a html or php document and write data of a...

Pawan

New member
...form to it.? I need a PHP code which can generate a html or php document and write data of a form to it.
The form code is below.
And also the title of generated html or php document should be the title text in the posted form.

The Saved Page Should Also Contain Some Of My Codes Like "Default Template","Adsence Code","Stat Counter","Comments" Etc.
If Possible I Wants That Automatic Meta Tags Generation Through The Title And Description Text.

I WILL BE VERY VERY VERY MUCH THANKFULL OF YOU.
Please Help GURU.
I Am In Trouble = TRUE.


Here Is The Code.



<html>
<head><title></title></head>
<body>

<b>

<center><h1>Fill Below Data To Publish It To Our Website As Webpage(HTML or PHP) With Your Given Title</h1></center>

<pre>

<form action="generate-html-webpage.php" method="post" ENCTYPE="multipart/form-data">

<label for="title">Title:</label><input type="text" name="title" size="50" value="">

<label for="uploadername">Your Name:</label><input type="text" name="name" size="50" value="">

<label for="email">Your e-mail:</label><input type="text" name="email" size="50" value="@">

<label for="website">Web Site:</label><input type="text" name="website" size="50" maxlength="300" value="http://">

<label for="language">Torrent language:</label><select name="language">
<option value="1">English</option>
<option value="2">Hindi</option>
<option value="4">Norwegian</option>

</select>

<label for="category">Select Category:</label><select name="category">
<option>uncategorized</option>

<optgroup label="Audio">
<option value="101">Music</option>
<option value="199">Other</option>
</optgroup>

<optgroup label="Video">
<option value="201">Movies</option>
<option value="299">Other</option>
</optgroup>

</select>

<label for="uploadtorrent">Upload Torrent:</label><input type="file" name="file" size="50">

<label for="torrentvalue">Imaginary Value</label>$<input name="value" maxlength="10" size="10" value="" type="text">Dollars | ¢<input size="2" maxlength="2" value="" type="text">Cents

<label for="copycat">Is Content Under Torrent Is Illegal Or Copyright?</label>
<input name="option-a" value="1" type="radio"><label for="option-a">Yes.</label>
<input name="option-b" value="2" type="radio"><label for="option-b">No.</label>
<input name="option-c" value="3" type="radio"><label for="option-c">Don't Know</label>

<label for="description">Description:</label>
<textarea name="description" cols="100%" rows="50"></textarea>

<label for="tags">Tag(s) (separate tags with commas):</label><input id="tags" name="tags" size="50" value="" type="text" maxlength="500">

<label for="save">Click To Save Form Data As Webpage On Our Site With A Link To Your Uploaded .torrent File:</label><input type="submit" value="Add to index »">
</form>


</b>
</pre>
</body>
</html>
 
Back
Top