Pjotr Wedersteers wrote:
[color=blue]
> Sorry to have to ask again, but my ISP's server has some issues I think,
> almost anything on this ng dating before 12th of this month is no longer
> available all of a sudden. And I don't think I got an answer to my original
> post. Not sure if that was because my question was very lame or ill-worded,
> or I am asking for something ridiculous perhaps ?
>
> I am still looking for the correct way or a correct way to achieve the
> following:
> I have some JavaScript on a page that produces a couple of variables I'd
> like to store in a db on my web server without having to ask the user to
> input them manually in a form again. (would be rather silly)
> How should I do this ? Am I missing something very obvious ?[/color]
You could send the data over to another php script in a separate window
via a GET request...
1. generate the values
2. use window.open
3. process you php script, then send a window.close via javascript so
the window disappears.
However, how well this will work because of popup blockers. Of course,
you could just re-request the page with the GET vars in it when the
value has been calculated...
--
Justin Koivisto -
spam@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.