RE: [PHP] some Javascript functions with PHP

2002-05-17 Thread Brinkman, Theodore

If you want to tailor the page to the screen size (generally a bad idea in
the first place), you'd have to do that with client-side code.  Otherwise,
when the user resizes their window your 'tailored' content doesn't fit
correctly anymore.

Its generally a better idea to make sure your HTML looks nice at various
sizes rather than try to force it into a specific format.  However, that
said, you can do some pretty nice stuff with CSS.  It probably won't look
*quite* right in NS4, but...

- Theo

-Original Message-
From: savaidis [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 5:55 AM
To: Kevin Stone; [EMAIL PROTECTED]
Subject: RE: [PHP] some Javascript functions with PHP


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:[EMAIL PROTECTED]]
> Sent: Thursday, May 16, 2002 8:16 PM
> To: savaidis; [EMAIL PROTECTED]
> 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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, May 16, 2002 7:44 AM
> Subject: [PHP] some Javascript functions with PHP
>
>
> >
> > I use:
> > print('');
> > print('document.write("Code Name: "+navigator.appCodeName+"<BR>");');
> > print('');
> >
> > 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
> >
> >
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] some Javascript functions with PHP

2002-05-17 Thread savaidis

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:[EMAIL PROTECTED]]
> Sent: Thursday, May 16, 2002 8:16 PM
> To: savaidis; [EMAIL PROTECTED]
> 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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, May 16, 2002 7:44 AM
> Subject: [PHP] some Javascript functions with PHP
>
>
> >
> > I use:
> > print('');
> > print('document.write("Code Name: "+navigator.appCodeName+"<BR>");');
> > print('');
> >
> > 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
> >
> >
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] some Javascript functions with PHP

2002-05-16 Thread Kevin Stone

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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 16, 2002 7:44 AM
Subject: [PHP] some Javascript functions with PHP


>
> I use:
> print('');
> print('document.write("Code Name: "+navigator.appCodeName+"
");'); > print(''); > > 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 > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php