Re: [PHP] Header Location redirection parameters fail to redirect

2005-05-13 Thread Deep
Hi, If the parameters are available at the url of mysite.com. Then the parameters should be available there in the page to echo. Instead of $_REQUEST try $_GET Try using this.. mysite.com Homepage "; $lang=$_GET['lang']; $ctry=$_GET['ctry']; echo "Country= ".$ctry." Language= ".$lang; ?>

Re: [PHP] Password encryption and password retrieval

2005-05-11 Thread Deep
Hi, Thank you every one for responding to my mail and giving valuable comments and suggestions for it. Thanx, ..Deeps.. --- Deep <[EMAIL PROTECTED]> wrote: > > Hi evryone, > > I want to implement a site where i would like to > encrypt the password of the users and

[PHP] Password encryption and password retrieval

2005-05-10 Thread Deep
Hi evryone, I want to implement a site where i would like to encrypt the password of the users and store it into mysql database. My question is that , In case if the user has forgotten the password how can he retrieve the password(which is already encrypted and stored...the user should be able

Re: [PHP] if then else statement not working

2005-05-09 Thread Deep
Hi, Where are the dollar signs before seatnum, seat1 etc in the if condition. ..Deeps.. --- Anasta <[EMAIL PROTECTED]> wrote: > What am i doing wrong here, the output is always > 'empty' > > > > > $result = mysql_query("SELECT username FROM users > WHERE seatnum='seat1'") or die(mysql_erro

Re: [PHP] payment gateways slightly OT

2005-05-09 Thread Deep
Hi, "CCavenue" is good. Also try 2checkout.com, but i wont reccomenrd that because their interface is not that good as ccavenue's. ..Deeps.. --- Angelo Zanetti <[EMAIL PROTECTED]> wrote: > Hi guys, > > I just want to find out from you which payment > gateways you use and what > experiences goo

Re: [PHP] PHP 5, mySQL and Win XP. I NEED HELP

2005-05-07 Thread Deep
Hi, If you are using localhost, i dont think u need to specify the port number. Localhost would be enough. Also pls check the user privileges and all in the database. ..Deep.. --- Oscar Andersson <[EMAIL PROTECTED]> wrote: > I have made a instal of the latest mySQL and PHP 5 > on

Re: [PHP] users online

2005-05-02 Thread Deep
Hi, Try this. I am assuming that you have already fetched the name of the user who is online, either from the database or from session or whatever. I am assigning the variable $uname with that "user online". I've used javascript to display the name in the textbox. Here goes the code. Simple.is

Re: [PHP] sessions problems

2005-04-30 Thread Deep
Hi, When someone hit the logout page say "logout.php". You can write the code in that page itself to update the record. Since the username of that particular user is stored as a session as long as the user closes the browser window. So in the logout page you can add like this. session_sta