How about when there is two people click on the email link at the same time
(which could happen on internet) , what will happen to the value that will
pass to javascript variables as number of click?
Jack
[EMAIL PROTECTED]
"Love your enemies, it will drive them nuts"
----- Original Message -----
From: Francis Fillion <[EMAIL PROTECTED]>
To: Jack <[EMAIL PROTECTED]>
Cc: Zak Greant <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 10:19 AM
Subject: Re: [PHP] count number of email sent to us


> 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
> > [EMAIL PROTECTED]
> > "Love your enemies, it will drive them nuts"
> > ----- Original Message -----
> > From: Zak Greant <[EMAIL PROTECTED]>
> > To: Jack <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > 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" <[EMAIL PROTECTED]>
> > > Cc: <[EMAIL PROTECTED]>
> > > 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> Francis Fillion, BAA SI
> Broadcasting live from his linux box.
> And the maintainer of http://www.windplanet.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to