Web hosting control panel - 814Part VCase StudiesListing 43-15(continued) } else { echo

814Part VCase StudiesListing 43-15(continued) } else { echo There was a problem inserting your text. ; exit; } } else { // Show the form with the appropriate entry filled in$php_self = $_SERVER[ PHP_SELF ]; $test_password = $_POST[ test_password ]; $edit_date = $_POST[ edit_date ]; $query = SELECT blogtext FROM mylogWHERE date = $edit_date ; $result = mysql_query($query); if (mysql_num_rows($result) == 0) { echo No entry matches that date ; exit; } $entry_row = mysql_fetch_array($result); // When you get text from a SQL database, // you may need to strip backslashes from single-quotes. $blogtext = stripslashes($entry_row[0]); $form_str = <<< EOFORMSTR Weblog data edit screen

Text:

EOFORMSTR; echo $form_str; } } else { mail( me@localhost , Weblog snoop , Someone from$REMOTE_ADDR is trying to get into your weblog entry screen. ); } ?>
We highly recommend you visit web and email hosting services if you need stable and cheap web hosting platform for your web applications.

Leave a Reply