Form Data Loss

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bathroom_Monkey

    Form Data Loss

    I have recently started experiencing form data loss. Here is an
    example:

    ====test_form1. php====

    <form method="POST" action="test_fo rm2.php">
    <input name="textboxva lue" type="text" size="20">
    <br>
    <input type="submit" value="Submit">
    </form>

    =============== =======


    ====test_form2. php====
    <?
    echo "textboxval ue: ".$textboxvalue ;
    ?>
    =============== =======

    (note: these are incomplete examples, I have left out the <html> tags
    for example)

    After putting in data into the textboxvalue textbox and pressing the
    submit button, on the second page only "textboxval ue: " is displayed.
    The weird thing is that when I restart my computer, this works fine,
    but then stops working again. These pages are encrypted with 128 SSL
    encryption (mod_SSL 2.8.15).

    This problem has plagued an online app that I am developing and is a
    company-wide problem that happens on computers in other offices too.

    Here's my info:

    SERVER
    Apache 1.3.28
    PHP 4.3.6
    MySQL 3.23.39
    mod_SSL 2.8.15
    phpMyAdmin 2.50

    CLIENT
    Windows XP Pro
    Internet Explorer 6.0.28
  • R. Rajesh Jeba Anbiah

    #2
    Re: Form Data Loss

    kcox7777@yahoo. com (Bathroom_Monke y) wrote in message news:<75085fd4. 0406211439.64a4 eff0@posting.go ogle.com>...[color=blue]
    > I have recently started experiencing form data loss. Here is an
    > example:
    >
    > ====test_form1. php====
    >
    > <form method="POST" action="test_fo rm2.php">
    > <input name="textboxva lue" type="text" size="20">
    > <br>
    > <input type="submit" value="Submit">
    > </form>
    >
    > =============== =======
    >
    >
    > ====test_form2. php====
    > <?
    > echo "textboxval ue: ".$textboxvalue ;
    > ?>[/color]
    <snip>

    Try adding the following two lines in the beginning of all your scripts:

    error_reporting (E_ALL);
    ini_set('displa y_errors', 1);

    --
    | Just another PHP saint |
    Email: rrjanbiah-at-Y!com

    Comment

    Working...