Jump to content

deathadder

Members
  • Posts

    83
  • Joined

  • Last visited

  • Days Won

    2

deathadder last won the day on April 23 2017

deathadder had the most liked content!

Profile Information

  • Gender
    Not Telling

deathadder's Achievements

Member

Member (2/5)

19

Reputation

  1. So straight to the point, http works, but the javascript on https does not the only thing i am connecting to require from http is the javascript file, everythigg else has /dir without the http or htpps, help?
  2. URL: http://rspsdb.org/freak.txt Hi i would like you all to test my site for all the possible exploits you can find thanks.
  3. Hi, i need to connect my java application to my SQL server, i have the code but i have the problem of i don't know what to change localhost to, as i normally use localhost on my website, i don't know what i should change it to. help would be much appreciated.
  4. ik what the problem is it is searching all users, and upating all timestamps, but i have no idea how to fix it.
  5. EDIT: i have a problem, my previous theory did not work, so i retried what you said, i wrote up this code but it selects all users timestamps, and whenever one person does an action it uses that as previous action time for all. <? include 'config.php'; session_start(); $SQL = mysql_query("SELECT * FROM users"); $dbfield = mysql_fetch_assoc($SQL); $inactive = 900; $current_time = time(); $prev_time = $dbfield['timestamp']; $query = $current_time - $prev_time > $inactive; $SQL2 = mysql_query("SELECT * FROM users WHERE timestamp = '$query' AND online='online'") or die(mysql_error()); $dbfield2 = mysql_fetch_assoc($SQL2); $count = mysql_num_rows($SQL2); echo $current_time - $prev_time; echo '<br />'; echo $count; ?> here is the code, can you please tell me what i need to do to fix this?
  6. i have an idea, at school i was thinking about this, and came up with the idea to check if the timestamp is older then 15 minutes old on the online list, ill be back if it does not work
  7. Ok, so i have it working by setting the cookie time to 300 seconds(5 minutes), and i also have it so if you click logout it deletes cookie, and sessions + sets status field to offline, i also have a script in the config file that checks if the user has had any activity for the last 500 seconds, if it has it resets the time() for the user, if not it logs them out. what im having trouble with is making a user online list, if they do not refresh their status will be set to online forever, can anyone help me here?
  8. still not what i asked for :confused: :confused: :confused: :confused: :confused: i need to know what function records the timestamp, and what checks for the difference like i need a function to record the stamp then i also need one to check the difference....
  9. yes, thanks but this did not answer my question, could you possibley post a snippit of the code/functions used
  10. Hi, i read what you said but i cannot seem to figure it out, you did not explain much of how to do it or what functions to use. i am using this <? session_start(); include 'config.php'; $time = time() + (0 * 0 * 15 * 0); $username = $_SESSION['username']; mysql_query("UPDATE `dragonx_sql`.`users` SET timestamp=$time WHERE username='$username'") or die(mysql_error()); ?> but i dont know if that is correct, if not what is, and if it is correct how can i get 15 minutes from this....
  11. Wow everyone, thank you for the contribution. I will have a go and find out how to use the timestamp(). Thanks.
  12. Hi, i have never worked with timestamps before, and i don't exactly understand how i am going to log actions, if you could post a bit of a snippit or explain a bit more or what to do.
  13. Dear fellow Freaks, So me and my partner have come up with an idea and to build a project for a Runescape Private Server Community. So far, we've managed to build a Profile page, however within the profile page there is a area which shows weather they're online, or offline. At the moment, it's just text showing their name and it just says online. We're using cookies to register logins, as well as sessions to use information like username/password, ect ect. If anyone could give us a hand on how we can make it show weather they're online or offline work, I'd appreciate it. Thanks. Here's a preview on what it looks like, just to give you an idea. See how I'm not logged in, yet it says online? Thank you.
  14. Hi, can someone give me a simple php script that will read a rss from the mybb forum RSS syndication please just a simple script that will display who posted the topic, date posted, post content and number or views/ replies if you can
  15. max username chars is 32, same with password, max page chars is 10,000 and page name around 100-300 cant remember max username char is 32 same with pass max page char is 10,000 and page name 100 i thinkk no, it means that i couldnt login to the testacc, so i remade it with a new password
×
×
  • 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.