[PHP] Authentication with register_globals OFF

2002-05-11 Thread Mike P
OK, this is an "authentication with PHP newbie" question... Env: WinNT 4.0, SP6a PHP 4.2.0 Apache 2.0.36 MySQL 4.0.1 Development/sandbox Trying to get accustomed to PHP 4.2.0 and PHP's preference for register_globals off, I have register_globals off. However, when I try to use $PHP_AUTH_USER an

[PHP] Re: DOMXML in 4.2.0 problems

2002-05-10 Thread Mike P
I am having similar difficulties with DOMXML in php4.2.0. phpinfo() indicates all is well with the setup... If you get some response, please share! Thanks! Mike "Thalis A. Kalfigopoulos" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm trying to get DOMXML

[PHP] Explain recordset

2001-04-14 Thread Mike P
thout going to the server.Is this possable.fetchrow seems to go to the server each time or am i wrong? Thanks Mike P [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] Curser

2001-04-12 Thread Mike P
While Im on the subject Is there anything that resembles a recorset curser I can use with mysql? Mike P [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] Fetch_row

2001-04-12 Thread Mike P
Can I use Mysql fetch_row to specify which row i want to get? Like---$row[5]=mysql_fetch_row($result) ? Mike P [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] Row colors

2001-04-08 Thread Mike P
I can change the column sof a table with the following code but how do I change the row colors instead.With the columns I have "i" to manipulate but not with rows. while ($row = mysql_fetch_row($result)) {{ echo "\n"; for ($i =1;$i$row[$i]"; Thanks

[PHP] Modulus

2001-01-26 Thread Mike P
I know i'm a liitle slow but why does 2%4 = 2 and not 0 or 1 thanks Mike [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED

[PHP] FaceMysql again

2001-01-23 Thread Mike P
It seems to only allow me to add data if I have more than 1 field.Is this a bug?Phpmyadmin doesnt have this problem. Mike P [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Mysql question(s)

2001-01-23 Thread Mike P
I created a table with FaceMysql that had one field and I could not add data to it .Only when I recreated it with 2 fields and a primary key did it work.Is there any reason for this?Must there always be a primary key in Mysql?I've never known this to be true of relational Db's.Especially if you ca