Jump to content

yusof_hardy

Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Everything posted by yusof_hardy

  1. Thanks!!  :) So how does a typical log-in system should implement? Combination of session and cookie? Pls help me..
  2. ok I have [code]session_start(); [/code] at the top of every page of the site... The session lifetime is set to 1 hour On successful log-in, I assign [code]$_SESSION['userid']=$ID; [/code] So it means if $_SESSION['userid'] is set, then the user has logged in.. The problem is, after I log-in, I can still open another brower windows and log-in as another user. Apparently, Seperate Session variables are created by different browser windows. I can log-in as different users by opening new windows on the same computer... It's complicated Help!!
  3. I want to make a statistics display of the members countries... Member table ========== id name country ======== What is most efficient algorithm to list out the countries and corresponding number of members in decending order... for Example... United States: 53 members Canada: 34 members Germany: 23 members Japan: 3 members and so on... please help me
  4. Is there any open source script for that or anything similar?
  5. Can anyone recommend me a good file manager open source script to stall on my server to provide a better interface for the adminstrators? No complicated system needed. Required only ========= . View folders . Deleting files . Uploading files . Adding files Log-in system not needed.
  6. $text = $_POST['textarea'];      //data from a textarea $file1 = fopen("text1.txt", "w"); $text = stripslashes($text); fwrite($file1, $text); fclose($file1); ============================================= When I type [quote] a b c [/quote] in the text area I get [quote] a b c [/quote]in the file How can I fix this? And can some one please give me some bright knowlege on stripslashes and all those magic quotes things..?
  7. I want to develop a system for my department where students can login, edit-profile, view profiles, and write testimonials.. Pretty much like myspace or friendster or hi5, but with very limited features (no journal, no bulletin board..and etc).. My question is..is there any tutorial or open source code for this? I can develop it myself..but it'll take lotsa time to debug and everything...
×
×
  • 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.