Jump to content

Fuzzy Logic

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

About Fuzzy Logic

  • Birthday 02/19/1992

Contact Methods

  • AIM
    thisisanoutrage
  • MSN
    theherpesleprecon@gmail.com

Profile Information

  • Gender
    Male
  • Location
    Australia

Fuzzy Logic's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. :'( I was missing a field in the database, Sorry Guys =( Works all good now. Your code and help, aided me in finding this =) Big thanks =)
  2. That wont know where to insert all the values though will it?
  3. Hey, I am making a Sign up page for a website, but the insert query into the Database does not seem to work, it returns no errors, just simply does not work. $insert_user = mysql_query("INSERT INTO users (id, username, gender, firstname,lastname, email, password, ipaddress, energy, verifycode, verified, referrer) VALUES ('', '$username','$gender','$firstname','$lastname', '$email', '$password', '$ip', '150', '$verifycode', 'N', '$refferer')"); All the Vars are pre defined.
  4. You can set max amount of characters entered. Add this to the head section. <script type="text/javascript"> /*********************************************** * Textarea Maxlength script- © Dynamic Drive (www.dynamicdrive.com) * This notice must stay intact for legal use. * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/ function ismaxlength(obj){ var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : "" if (obj.getAttribute && obj.value.length>mlength) obj.value=obj.value.substring(0,mlength) } </script> <textarea maxlength="40" onkeyup="return ismaxlength(this)"></textarea>
  5. Its not blury for me, in IE, Firefox or Safari. Maybe something with your browser settings?
  6. Try this. http://www.tutorialized.com/view/tutorial/Image-manipulation-and-watermarking-in-PHP-with-GD2/52860 I havent tried it so i am not 100% on it.
  7. The session must have a name, by default it's PHPSESSID. You can pass the session ID to PHP in two ways: 1) Using a cookie with that name. 2) Using a parameter in the URL with that name, e.g. index.php?PHPSESSID=987sd9fshfblablabla You can turn off #2, which I would recommend. Ah, okay thanks =) I got it to work thanks you, using that script posted Thank you =)
  8. No, but then again, neither will sessions unless you use that ugly PHPSESSID thing. Ugly PHPSESSID? Please excuse my ignorence =(
  9. Would that work even with cookies turned off?
  10. Would it also make it easier to alter the amount minutes, through changing the '10' to what ever amount of minutes you want?
  11. Can you expand on this at all, maybe with a quick example?
  12. Hey, What i am trying to achive is, when a user has been incative for a certein time (For arguements sake 10 minutes) it auto logs them out. I have already played around with some code, but it always seems to log out right away. Within index.php i have a simple login script with config.php included into it. config.php is included into every single page, as it is my main function file and also has my databse connection within it. Within config.php i start the users session with session_start() . Also within config.php is code to inmput into the suer databse table their current time active. So my problem and therefore question is, how can i make it so no mater what page they are on (passed index.php) they can not be inactive for more than 10 mintes. Any help would be great, I have the feeling I am overthinking it, and the problem is dead easy =) -Fuzzy.
×
×
  • 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.