Jump to content

Search the Community

Showing results for tags 'guestbook'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. My mission is to create a database-less guestbook I have an infernal error loop could someone help me spot the blunder the html runs but when you submit.. it goes crazy <TABLE cellSpacing=3 cellPadding=2 width="65%" border=9 align=center> <tr> <td><center><u>Guestbook</u></center></td> </tr> <tr> <td> <TABLE cellSpacing=1 cellPadding=0 border=0 align=center style="WIDTH: 95%; HEIGHT: 54px"> <tr> <td><form action="guestbook.php" method=post>Name: <input type=text width="90%" name="name"><br><textarea cols=60 rows=10 name="message"></textarea><br><Br><input type=submit value="Post"></form></td> </tr> </table> <TABLE cellSpacing=3 cellPadding=2 width="65%" border=9 align=center> <?php include("guestbook.html");?> </TABLE> </td> </tr> </TABLE> </html> <?php if(isset($_POST['name']) && isset($_POST['message'])) { if($_POST['name'] != "" && $_POST['message'] != "") { $F_D = getdate(); $FT = $F_D['mon']."/".$F_D['mday']."/".$F_D['year']; $FP = Fopen('guestbook.html',"a"); fwrite($FP,"<tr><td>Date: "); fwrite($FP, $FT); fwrite($FP, "</tD></tr><tr><td>Name: "); fwrite($FP, $_POST['name']); fwrite($FP, "</td></tr><tr><td>"); fwrite($FP, strip_tags($_POST['message'])); fwrite($FP,"</td></tr><tr><td></td></tr>"); fclose($FP); } } ?> <TABLE cellSpacing=3 cellPadding=2 width="65%" border=9 align=center> <tr> <td><center><u>Guestbook</u></center></td> </tr> <tr> <td> <TABLE cellSpacing=1 cellPadding=0 border=0 align=center style="WIDTH: 95%; HEIGHT: 54px"> <tr> <td><form action="guestbook.php" method=post>Name: <input type=text width="90%" name="name"><br><textarea cols=60 rows=10 name="message"></textarea><br><Br><input type=submit value="Post"></form></td> </tr> </table> <TABLE cellSpacing=3 cellPadding=2 width="65%" border=9 align=center> <?php include("guestbook.html"); ?> </TABLE> </td> </tr> </TABLE>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.