Re: count number of email sent to us

From: Date: Thu, 19 Jul 2001 21:38:19 +0000
Subject: Re: count number of email sent to us
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-58643@lists.php.net to get a copy of this message
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 jacky@activelifestyle.com "Love your enemies, it will drive them nuts" ----- Original Message ----- From: Francis Fillion <francisf@videotron.ca> To: Jack <jacky@activelifestyle.com> Cc: Zak Greant <jag@nucleus.com>; <php-general@lists.php.net> 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 > > 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 > > -- > 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 > >

« previous php.general (#58643) next »