[PHP-WIN] Counter in PHP and System Variables

2002-03-03 Thread Wayne Hinch
Hi, I'm currently doing an assignment at university. Is it possible that a hit counter can be created using php if so how can this be done? Lastly how can I show the what browser the client is using in their browser? Cheers Wayne

RE: [PHP-WIN] Warning: Undefined variable

2002-03-03 Thread Mike Flynn
Duh, just let him know the proper setting: error_reporting = E_ALL & ~E_NOTICE That will keep everything but minor warnings. That's what most people use. -Mike At 07:40 PM 3/2/02 -0800, alain samoun wrote: >Crizz: >Obviously you don't want to do that at this point - No error reporting for a

[PHP-WIN] Re: error query

2002-03-03 Thread Mark Sweeney
I seem to have isolated my problem. My code will only work with non-numerical tables for some reason, which is kind of a pain. Is there any way to use php to connect to a mysql table that has a numerical value as its name (1,2,3 etc)? Thanks, mark

php-windows Digest 3 Mar 2002 20:02:00 -0000 Issue 1027

2002-03-03 Thread php-windows-digest-help
php-windows Digest 3 Mar 2002 20:02:00 - Issue 1027 Topics (messages 12414 through 12425): Re: Warning: Undefined variable 12414 by: alain samoun 12415 by: crizz 12417 by: alain samoun 12424 by: Mike Flynn cannot write to mySQL database 12416 by: pil

Re: [PHP-WIN] Warning: Undefined variable

2002-03-03 Thread crizz
God, I thought no one will tell me! Thanks a lot Mike ;) "Mike Flynn" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > Duh, just let him know the proper setting: > > error_reporting = E_ALL & ~E_NOTICE > > That will keep everything but minor warnings. That's what most people use

RE: [PHP-WIN] Counter in PHP and System Variables

2002-03-03 Thread Matt Hillebrand
You can use the PHP variable $HTTP_USER_AGENT or you can use javascript's navigator.appName and navigator.appVersion. To create a hit counter, use a database table (named pages?) with a column called hits. Every time the page loads, do: mysql_query("update pages set hits=hits+1 where id='$id'");

[PHP-WIN] PHP - INGRES II Functions

2002-03-03 Thread Ismini Tsichli
Hi! Has anyone used the INGRES II functions in PHP for Windows? PHP and Apache crash when I activate "extension=php_ingres.dll" in php.ini, I think there might be a problem with php_ingres.dll file. Hope someone can help me out. Ismini.