Jump to content

bhavin12300

Members
  • Posts

    98
  • Joined

  • Last visited

    Never

Everything posted by bhavin12300

  1. so now i am able to send mail through this account with php right?
  2. ok i will send new id and passowrd gimme your email address
  3. ok here it is username:kiteand password:hihowareyou
  4. can you give me the site name from where i can get register my self
  5. MEANS I CAN SEND EMAIL ? BUT NOT EB ABLE TO HAVE ACCOUNT? SO IF I UPLOAD PHP FILE WITH SEND MAIL CODE IN IT WILL I BE ABLE TO SEND MAIL FROM THAT SERVER FREE?
  6. it will be also ok if a got php and mail service.its ok if i dont got free databse.
  7. hi i need some information regarding free hosting with fullfill following requirement. 1)support php with mySQL databse and most important is that it allow me to send mail also means it provide SMTP free. Thank you
  8. thansk you i got your answer . i will do that. that user x minute old.cool logic oce again thank you
  9. hi in my website i want to show all the member who are signin in my website.like it will sow all the member who whose session are on. how to do that?
  10. thasnk you for makking my question clear. and thak you for reply.i did c the code its working perfectly thats you so much.
  11. hi. here is my problem. as in this site while creating a new topic we are given many feature like insert smliey,code tage bold tag etc. i also wanted to insert this type of tags as i click on particular tag. how to do that? ??? ??? ??? ??? ??? ???
  12. hi this is my code to get the number of rows according to conidtion. $submit="select COUNT(*) from nmymsg where too like $MYNAME"; $resultt=mysql_query($submit); now i wanna display this number of rows . how to do that i did like this $row=mysql_fetch_array($resultt); echo($row); but its not howing the result. how to do that?
  13. wowwwwwwwwwwwww thasnk you so much sir i will be back if i got another proble thasnk you once again
  14. no sir its still same i am not getting answer here is the update code <?php session_start(); $MYNAME=$_SESSION['username']; //retrieve data echo $MYNAME; ?> <html> <head> </head> <body> <table > <tr><td > <?php include("header.php"); ?></td></tr> <?php if($MYNAME=="") { } else { echo("<font size=3><b>WELCOME!!"); echo $MYNAME; echo(" <a href=>Sign Out</a></b></font>"); } ?> <tr><td > <?php include("nevigator.php"); ?></td></tr> <tr> <td> <?php include("center.php"); ?> </td> </tr> <tr><td> <?php include("counter_footer.php"); ?></td></tr> <table> </body> </html>
  15. yes you can c code.i did start my session first code is where i am setting my session. and second is where i am retrieving. 1) <?php $mydb=mysql_connect('mysql3.freehostia.com:3306','bhapit_database','canuseeme2'); if(mysql_select_db('bhapit_database',$mydb)) { } else { echo("databse not connected"); } $userid = $_POST['userid']; $password = $_POST['password']; $submit="select * from user where userid like '$userid' and password like '$password'"; $result=mysql_query($submit); $num=1; while($row=mysql_fetch_array($result)) { session_start(); $SESSION['username'] =$userid; mysql_close($mydb); header("Location: index.php"); } ?> <html> <head> </head> <body> <table > <tr><td > <?php include("header.php"); ?></td></tr> <tr><td > <?php include("nevigator.php"); ?></td></tr> <tr> <td>Registration Done Sucessfully.<br>Login Here<?php include("login_user.php"); ?> </td> </tr> <tr><td> <?php include("footer.php"); ?></td></tr> <table> </body> </html> here is the code for session retrival <?php session_start(); $MYNAME=$_SESSION['USERNAME']; //retrieve data echo $MYNAME; ?> <html> <head> </head> <body> <table > <tr><td > <?php include("header.php"); ?></td></tr> <?php if($MYNAME=="") { } else { echo("<font size=3><b>WELCOME!!"); echo $MYNAME; echo(" <a href=>Sign Out</a></b></font>"); } ?> <tr><td > <?php include("nevigator.php"); ?></td></tr> <tr> <td> <?php include("center.php"); ?> </td> </tr> <tr><td> <?php include("footer.php"); ?></td></tr> <table> </body> </html> ANY INFORMATION?
  16. HI I AM LITTLE NEW TO PHP I AM HAVING SOME PROBLEM REGARDING THE SESSION IN PHP. HERE IS MY PROBLEM. AS LIKE ALL WEBSITE MY AIM IS TO ASK FOR ID AND PASSWORD FROM USER AND AFTER CHECKING THE ID AND PASSWORD I CREATE ONE SESSION AND STORE USER ID IN ONE VARIABLE TO REFER TO OTHER PAGE. AND I AM REDIRECTING TO HOME PAGE AFTER SETTING SESSION AND AT THAT HOME PAGE I AM UNABLE TO RETRIEVE THAT SESSION VARIABLE DATA. MEANS MY SESSION IS NOT PERSISTENCE. CAN ANYONE HELP ME WAITING FOR REPLY. IF CODE REQUIRE ASK ME I AM DOING THIS ON SERVER LOT LOCAL SERVER
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.