RE: [PHP] some Javascript functions with PHP
| From: | savaidis | Date: | Fri, 17 May 2002 09:55:05 +0000 |
| Subject: | RE: [PHP] some Javascript functions with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98029@lists.php.net to get a copy of this message | ||
And what about resolution of the screen?
How is possible to keep it in record too or to tailor the page?
(get_browser() is not supported from my server, I'm waiting my sypport team
answer about "browscap.ini")
Thanks
Makis
> -----Original Message-----
> From: Kevin Stone [mailto:kevin@helpelf.com]
> Sent: Thursday, May 16, 2002 8:16 PM
> To: savaidis; php-general@lists.php.net
> Subject: Re: [PHP] some Javascript functions with PHP
>
>
> The user's IP address is stored in the PHP global, $REMOTE_ADDR. Browser
> information can be extracted from the get_browser()
> function.
> http://www.php.net/manual/en/function.get-browser.php
> -Kevin
>
> ----- Original Message -----
> From: "savaidis" <savaidis@hol.gr>
> To: <php-general@lists.php.net>
> Sent: Thursday, May 16, 2002 7:44 AM
> Subject: [PHP] some Javascript functions with PHP
>
>
> >
> > I use:
> > print('<SCRIPT LANGUAGE="JavaScript">');
> > print('document.write("Code Name:
> > "+navigator.appCodeName+"<BR>");');
> > print('</SCRIPT>');
> >
> > How is possible to keep this info to a MySQL database with PHP?
> > I think is not possible becouse PHP runs first.
> > Also how is possible to get with PHP info like this (browser type ecc)
> > and user's IP address without Javascript?
> > Or use Javascript and then run a php script to write it to the MySQL
> > database?
> >
> >
> > Thanks
> >
> > Prodromos Savaidis
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>