Re: count number of email sent to us
| From: | Francis Fillion | Date: | Wed, 18 Jul 2001 15:19:49 +0000 |
| Subject: | Re: count number of email sent to us | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58450@lists.php.net to get a copy of this message | ||
Yes you can send javascript stuff to php, juste use a form
<form name=test method="POST" action="xy.php">
<input type=hidden name=click>
</form>
<script>
function whatever(){
document.test.click.value= nomberofclick;
document.test.submit();
}
</script>
or something like that and $click will have the number of click in
xy.php
I'm not sure if this is good, can someone double check?
Jack wrote:
>
> Sorry, It is mistyping here. I mean, we normally use variables from php to
> do something in javascript function. But how could we use value from
> variables in javascript function to do something in php function?
> Jack
> jacky@activelifestyle.com
> "Love your enemies, it will drive them nuts"
> ----- Original Message -----
> From: Zak Greant <jag@nucleus.com>
> To: Jack <jacky@activelifestyle.com>
> Cc: <php-general@lists.php.net>
> Sent: Wednesday, July 18, 2001 2:39 AM
> Subject: Re: [PHP] count number of email sent to us
>
> > Check the list archives - this question gets posed quite often.
> >
> > --zak
> >
> > ----- Original Message -----
> > From: "Jack" <jacky@activelifestyle.com>
> > Cc: <php-general@lists.php.net>
> > Sent: Wednesday, July 18, 2001 1:38 PM
> > Subject: Re: [PHP] count number of email sent to us
> >
> >
> > > Yes, that is the point here. We normally use variables from php to do
> > > something in php function, how could we use javascript variables to do
> > > something in php function?
> >
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Francis Fillion, BAA SI
Broadcasting live from his linux box.
And the maintainer of http://www.windplanet.com