page content duration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

i have a strange behavior on my web page.
i have a form where users can enter their email address to subscribe to
newsletter.
if user already exists the page inform him and allow him to go back thanks a
button.

clicking on this button, load another page (initial page with the form for
newsletter registration).
if user enter another email address and click on the submit button... even
if the email is not registered into DB (as user who want newsletter
registration), the page display the message "user already registered".
it's like it keeps in mind the previous email address...

here is my code :

<div id='newsletter_form'>
>                     <form id='form_email' name='form_newsletter'
> method="POST" action="../newsletter/">
>                         <input id='field_email' type='text' name='email'
> value='<?php print module_msg($welcome,$Lang, 'type_email'); ?>'
>                             onfocus="if(this.value=='<?php print
> module_msg($welcome,$Lang, 'type_email'); ?>'){this.value=''};"
>                             onblur="if (this.value==''){ this.value='<?php
> print module_msg($welcome,$Lang, 'type_email'); ?>' };" />
>                         <input id='btn_signin' type='submit' name='signin'
> value='<?php print module_msg($welcome,$Lang, 'Sign_in'); ?>' />
>                     </form>
> </div>
>

i just added a feature to auto-complete the text field (email) in case of
user already wrote email and clicked on back button of the registration
checking page.... just to avoid him to rewrite email address...
but anyway it should not keep it in mind... there is not $_SESSION variable.

this code works perfectly under FF, but not under Opera, safari and IE 6.

what could it be ?

-- 
Alain
------------------------------------
Windows XP SP2
PostgreSQL 8.2.4 / MS SQL server 2005
Apache 2.2.4
PHP 5.2.4
C# 2005-2008

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux