RE: [PHP] Prefilled forms
| From: | b b | Date: | Tue, 18 Nov 2003 21:24:23 +0000 |
| Subject: | RE: [PHP] Prefilled forms | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170172@lists.php.net to get a copy of this message | ||
The Problem again:
I have a form, I fill it, click submit and then hit
back. Usually in other sites I see the data that I
attempted to submit. Forms originating from my site
are coming up blank.
In respnonse to your reply:
I am using mozilla 5 or netscape 7. Same result in
both. However, this doesn't happen with other sites
using the same borwser ... Actually this never
happened with my last configuration. ONly now that I
reinstalled apache/php and actually linux that I am
getting this behaviour from my own server only.
I am suspecting a php.ini setting that I have set or
set off or an apache conf detail that is causing this.
Bowser setting is a possibility but why then is it not
behaving this way with other sites?
--- Jay Blanchard
<jay.blanchard@niicommunications.com> wrote:
> [snip]
> I don't think you understood my question. Off
> course
> you have to store data in a database or a session
> var
> if you want to retrieve them later on.
>
> My problem is not there. I hava a form, I click
> submit and right after that I hit back. Usually in
> most cases the form will be prefilled with what I
> entered. In my case I am getting a totally blank
> form.
> This is only hapenning with forms from my server.
> [/snip]
>
> This AFAIK is the expected behaviour. Once you have
> submitted the form
> all of the input values will be blank when you
> return to the form unless
> you do something to specifically reload the
> variables into the form.
> YMMV from OS to OS, browser to browser. There is
> only one realiable way
> to do it cross-platform and these were mentioned
> above. You never
> mentioned your server config, your browser, your OS,
> so I am only making
> a S.W.A.G. at it. There is nothing IIRC that you can
> configure in the
> php.ini, httpd.conf, or other configuration file.
> You may have a browser
> setting that affects this, but since we know not
> your browser type it
> would be hard to help you locate that.
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree