[PHP-DB] To login a user without grant on ISP mysql

2005-02-15 Thread moses Woldeselassie
I tested all my php code on localhost.They were working fine using (localhost,bm_user, pss), but now I am using mysql on ISP side. in this case I don't have any Privileges on the db. the registration system works fine, but i do have a problem with login. I am looking for simple example or any

[PHP-DB] checkbox into mysql using php input type=checkbox name=list[] value=x

2005-02-16 Thread moses Woldeselassie
hi all I need a simple php script to use for html form action=checkbox.php method=post Select from the list br / (check all that apply):br / input type=checkbox name=list[] value=x input type=checkbox name=list[] value=y input type=submit name=submit value=Go! / /form kind regards meberat --

RE: [PHP-DB] Re: checkbox into mysql using php input type=checkbox name=list

2005-02-16 Thread moses Woldeselassie
using php lt;input type=quot;checkboxquot; name=quot;list[]quot;value=quot;xquot;gt; gt;Date: Wed, 16 Feb 2005 18:22:14 + gt; gt;foreach($_POST['name'] as $k =gt; $v){ gt; gt;} gt; gt;moses Woldeselassie wrote: gt;gt;hi all gt;gt; gt;gt; gt;gt;I need a simple php script to use for html gt;gt

Re: [PHP-DB] Re: checkbox into mysql using php input type=checkboxname=list

2005-02-19 Thread moses Woldeselassie
Thank you. It works fine with one column, when i use the following syntax: insert into interest(username) values($game_name); but is it possible to use it with more than one columns: for example if a user (david) has selected football and hockey: username | football| soccer| hockey

[PHP-DB] MySQLPHP decrypt(password)

2005-02-25 Thread moses Woldeselassie
hi all I am using password() to crypt a user password online. but how do i decrypt a user password, when user forgot his/her password? kind regards m -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] MySQLPHP decrypt(password)

2005-02-28 Thread moses Woldeselassie
Thank you Bastien It works fine, but i do have a problem with login. MySQL does not allowed the user to login. I did try to use sending email without using the change_password(), but it is sending different password each time: 1. Why is it sending different password for one user? 2. How could

RE: [PHP-DB] MySQLPHP decrypt(password)

2005-02-28 Thread moses Woldeselassie
thank you. I do have login and registration script, which work fine. the problem is with new password. I am using password() to registrate a user. I did change in the change_password() md5() into password(), it changes the user password. I coud easliy see it in mysql db. but a user could not