Jump to content

samm

Members
  • Posts

    1150
  • Joined

  • Last visited

Everything posted by samm

  1. Me no speak english, apparently... What I meant to say was: "Turn off dynamic contrast and overdrive, you might be less disappointed than with these "quality improving" features enabled"
  2. 20'000:1 and 2ms? Turn off dynamic contrast and overdrive, you might be less disappointed then without that "quality improving" features. Tfts are always a thing to read A LOT about before buying.
  3. More mafia techniques: This news came out because one of the accused wrote it in his blogs. This will not be allowed in the future, as the accused are not allowed to speak about the trial anymore until the final sentence - how can such an inhibition be legal? Meanwhile, Sony, EMI and Warner are appealing for higher compensations and a cease and desist order.
  4. Killing Joke - Invocation Sometimes, youtube music videos are just sooo fitting
  5. Finally proved a bit more resistant to whiskey on thursday, even if I didn't drink any alcohol for quite a while. And how glad I was, fearing the worst after past experiences of sleeplessness and sickness. Today, I had my longest day of work ever, 8am to midnight, with no lunch break, after a night of four hours. How lucky then that the semester is over soon, don't know how healthy such a 'life'style would be in the long run... It's good to know that I can survive exceptions like this without immediate consequences. It's an intense learning period for me of late anyway. A lot about relationships, trust, but also stuff like math and programming (looking at numerical methods again to solve interpolation, integration, ode, ..., and implementing an evolutionary algorithm in a very restricted (compared to my normal programming environment) hardware base (512 byte rom, atmega8 controller, has to react on sensory input in real time etc.)), tight schedules, responsibility and whatnot, and all the while keeping in touch with old friends and ... wasting time on the internet
  6. Things that might help you: http://www.ajaxf1.com/tutorial/ajax-php.html?page=2 and mainly http://www.pixel2life.com/forums/index.php?showtopic=29905 If your file is a php file already, you can use the action attribute of the form tag (not action tag ) to redirect to the file itself, and catch all the post stuff in it. But I suppose you only want one div or something to reload, not the entire page, and use AJAX for that purpose.
  7. You got a Duncan (or not ) and me probably able to teach you Today would have been a day off, but, as usual, the robot took up all the time left until the evening, and now I had to read several norms on software quality for an examn on monday I think I'll be unable to remember one word of what abstract sh**load of terminology I just tried to stuff in my head...
  8. Collide Faith and the Muse - The Silver Circle
  9. Tried setting the affinity to one core?
  10. Hm, thanks for the answer, even if it confirms what I heard so far The Eden House - Play Dead
  11. Wha - you're called Bug Henry? Pair of mean parents you got there.
  12. Sure, no problem, I like to share stuff I (think I) know
  13. taks, , but that's not true in my case (both) - I'm engaged to marry, and the rest has already once been censored on these boards because it would corrupt innocent children's minds or something
  14. How is it? Looked too friggin mainstream and reviews sounded that way too - is there anything to it? Dark Tranquillity - Indifferent Suns
  15. Woohoo! 14 hours of work (interrupted by travel time between university and home and buying something to eat) over Let's see if it's a date tomorrow or just more work. Probably a bit of both
  16. They will only see whatever the php script outputs. Puts out. Well, you know what I mean As an example, look at the source of this forum. No php tags visible Hehe, sure, maybe I can already offer some explanations on point 4 in advance (I'm bored / overworked, so I take my time): If someone posts comments, they have to be caught in the PHP script, and assigned to a variable, like $comment. You can then use "$comment = strip_tags($comment)", which will delete all HTML-Tags from a comment, to prevent entering <script>-Tags and stuff. Or you can use htmlspecialchars to convert < to < etc., so it will be shown in the comment instead of removed, but it won't be interpreted by your browser. I assume that's what they do on these boards, as I could write <script> and it is still readable Then you can use "$comment = mysql_real_escape_string($comment)", which escapes ", ' and the like to \", \' etc., so SQL injection attacks are more difficult. (When later on displaying comments containing escaped characters, you may have to use strip_slashes on them first to remove the escapes again.) On preparing a statement for mySql: See here. I.e. you'd use $stmt = $mysqli->prepare("CALL sp_insert_comment(?)") $stmt->bind_param('s', $comment); $stmt->execute(); $stmt->close(); I hope that will help you when you're implementing
  17. You're just a Henry kind of guy, I always thought so :p

  18. So... If anyone can access the PHP and read the script, you have either done something seriously wrong, or they have broken into the server anyway, so who cares if they can read the DB's password? PHP is ALWAYS interpreted before the user sees anything of it. Just make sure that the hoster doesn't display error messages to the public, or they can guess some about the internal structure of the server and about your script in case of an error. Anyway: Four steps: 1. If they only need to enter comments, don't let them write to the database. 2. Create a new user, grant him EXECUTE on the ONE table used for comments (and nothing else!). 3. Create two stored procedures - one that SELECTs the comments, one that INSERTs them. 4. For the first one - just call it. For the second one: Filter the comments by using mysql_real_escape_string and strip_tags, than use a prepared statement with the entered comment as argument to execute the SQL command that EXECUTEs the second procedure. That's about as safe as it will get, I think. PM me with anonymized code (no real Passwords or paths in it) if you've got detailed questions you don't want to share openly.
  19. Looks interesting, probably because these are photographs from a screen Gives them such a realistic touch.
  20. Was she, by chance, a target to bullying? Because I know such violent reactions to seemingly small things from people that were subject to constant teasing.
  21. Sometimes a foreign name alone, no matter if it sounds anything like a word in a more usual language, is a heavy burden to carry. Kids with extraorinary names are targets immediately.
  22. I was aware of that one, but that wouldn't rule out Jack being short for Jacob, too. See the Rich / **** issue, Will / Bill, Rob / Bob etc., why not Jack / Jake.
  23. Lamb - Sweet What ever one can call that (drum'n'bass infested something), it's great
  24. With netbook sales slowing, and Intel "marketing power" (aka. "we pay you if you exclusively use our chips") possibly broken here in Europe, who knows
×
×
  • Create New...