Re: [PHP-DB] PHP Command Line

2004-01-30 Thread Stuart
Ryan Jameson (USA) wrote: Bummer... So I can't send the named variables as a query string? Well, this will work. Thanks! You could pass a querystring-style parameter to a script and then run it through http://php.net/parse_str but I can't see any benefit to doing that. -- Stuart -- PHP Database

Re: [PHP-DB] PHP and mail forms

2004-01-30 Thread Ricardo Lopes
There are several ways to do this. Some people like the approach: if ($submit) { send_email(); } or you can put a hidden field in your form, like op: and use: if (isset($HTTP_GET_VARS['op']) && ($HTTP_GET_VARS['op'] == 'send')) { send_email(); } and there are many others. by the way in t

[PHP-DB] getting font size from browser

2004-01-30 Thread Roy G. Vervoort
Is it possible to retreive the font size or view size from the browser. In the browser it is possible to change the screenview (make it larger or smaller for people with a visual aid). I would like to ineract my stylesheet with these default settings. thans Roy -- PHP Database Mailing List

Re: [PHP-DB] getting font size from browser

2004-01-30 Thread Miles Thompson
PHP is SERVER side, not browser side. That's a Javascript question. Miles At 11:14 AM 1/30/2004 +0100, Roy G. Vervoort wrote: Is it possible to retreive the font size or view size from the browser. In the browser it is possible to change the screenview (make it larger or smaller for people with a

RE: [PHP-DB] getting font size from browser

2004-01-30 Thread Peter Lovatt
php cannot read the sizes directly, but you can use javascript to pass information to php and then use that This is a routine I use to get screen size