[PHP-DB] Re: $_POST[mypassword]; ***Undefined index: mypassword

2007-05-15 Thread Chetan Graham
To All, I am so thankful to Dimiter, Bedul, Chris and Mikael for their input in this issue of mine. I spent at least three full crazy, frustrating long days and nights working this so-called problem only to find out it is simply the PHP parser looking at a moment in time with the login.php

[PHP-DB] PHP to md5 the $var before it reaches MySQL's gen query log

2007-05-12 Thread Chetan Graham
Greetings to All, I am having difficulty in 'md5'ing a $var in a function before it is placed into the (INSERT INTO table... The whole point is I don't want the MySQL DB logs showing my $var's password and username 'before' it is encrypted by MySQL's md5. When MySQL receives PHP's encrypted $var

[PHP-DB] Re: MySQL5037srv//PHP522//WIN2KSP4//IISV5//***MySQL ERRORS

2007-05-08 Thread Chetan Graham
Thanks for everyone's indulgence, I figured out the problem. simple syntax around the INSERT as follows with the mysql_query. mysql_query(INSERT INTO docprouser (id,valid,password VALUES('root','y',md5('ksobhinyai'))); Blessings, Chetan I am having problems with the MySQL DB. It started with

[PHP-DB] [sory] Re: [PHP-DB] Re: [PHP-WIN] automatic-click flash?

2007-05-07 Thread Chetan Graham
Bedul wrote: sorry.. that's pure my fault.. i should type for php-win my mail setting are always to send to php-db that's wont happen again Why do you keep cc'ing the php-db list with responses that have nothing to do with the list? What is so funny Bedul, is the very next post after

[PHP-DB] MySQL5037srv//PHP522//WIN2KSP4//IISV5//***MySQL ERRORS

2007-05-07 Thread Chetan Graham
Hi to All, I am having problems with the MySQL DB. It started with this command from a call in a PHP script... INSERT INTO docprouser (id,valid,password)VALUES ('user5','Y',md5('ksobhinyai')); or die(mysql_error()); The script actually connects with the DB fine and no errors at all. You can

Re: [PHP-DB] Storing 4KB jpeg images on hospital web server

2007-03-08 Thread Chetan Graham
i do know there's no problem upload 4kb img to database but is different case for.. 1mb pic.. it always fail. CREATE TABLE image ( image_id int(10) unsigned NOT NULL auto_increment, image_type varchar(50) NOT NULL default '', my application said is header

[PHP-DB] Storing 4KB jpeg images on hospital web server

2007-03-07 Thread Chetan Graham
Hi to All, There is a page on our hospitals website where a patient can look at the choice of different doctors with their credentials, publications, hobbies, etc.Each doctor has or will have a 3-4KB jpeg image as well. We are using MySQL5.0.2.7 with PHP5.2.1 My question concerns the following:

Re: [PHP-DB] Storing 4KB jpeg images on hospital web server

2007-03-07 Thread Chetan Graham
Chetan Graham wrote: Hi to All, There is a page on our hospitals website where a patient can look at the choice of different doctors with their credentials, publications, hobbies, etc.Each doctor has or will have a 3-4KB jpeg image as well. We are using MySQL5.0.2.7 with PHP5.2.1 My