-
Posts
3,138 -
Joined
-
Last visited
-
Days Won
36
Content Type
Profiles
Forums
Events
Everything posted by Djkanna
-
Well it seems like a good idea, so well done. :)
-
Ah okay then.
-
No I mean for it to actually run you'll need someone online nearly all of the time, clicking away. If no one is online for a day, then the script doesn't run that day.
-
Well it depends will your game have at least one person online at all times?
-
C# Useful for desktop applications, as well as web applications in the form of .NET Ruby (rails framework) Heard a lot about it, and it has a very clean syntax from what I've seen. Python Some people swear by it others hate it, I've personally never used it however I've heard it's the language of choice when it comes to scripting for software such as 3d modeling, video games etc. Food, I'll add more later.
-
You'll need jQuery UI aswell.
-
Essentially the sliding of the bar is 'drag and drop' http://www.myjqueryplugins.com/QapTcha/demo http://sandbox.smullinstudios.com/slideLock_demo.php http://identipic.com/ http://www.serie3.info/s3capcha/index.php http://www.webdesignbeach.com/beachbar/ajax-fancy-captcha-jquery-plugin http://clickcha.com/ http://fragged.org/dev/hOOmanTest_captcha_for_mootools.php http://marss.co.ua/ImageBasedCAPTCHA.aspx http://www.icaptcha.com/ Quite a few available different methods of captchas.
-
Yup I'm a fool, I take my vote back it's 5.3.3 maybe next time I'll check instead of looking at phpinfo file in my project on wamp (don't ask). However I'm still unsure on the point your trying to make HD.
-
Edited thought some more. :P I suppose there is so many ways of achieving these anti-spam measures, it's just somewhat difficult to determine which one suits your needs best, unless your the one doing the bot-ing you've got no idea what will stop that specific bot.
-
This really isn't my field of expertise. I know bots cannot perform tasks such as dragging and dropping something, so maybe that's a good way to go? Sliders to unlock a submit button. The one I use and I've no idea how good it is, nor if it works I just have an input box with a value and tell them to remove the text. EDIT: Just thinking about it and looking at a bot, I'm pretty sure my idea isn't that effective. I seem to have this thought, if they want to spam real bad, no matter what you do they will still find a way around it. Captcha's I find somewhat unusable, distorted text just ends up being a big mess, so unless you have another way of producing that text to the user (for example listen to the words) then captchas just suck. Maths calculation seems to be a very popular one. I do honestly find to be the most effective are drag and drop ones, unfortunately users with Javascript disabled then cannot actually do anything, so I'm guessing you've got to account for your target audience, without disrespecting anyone take this for example, you do a website for the partially blind or perhaps completely blind, your going no where with a captcha.
-
That is on shared hosting That is on Wamp(I knew I saw it somewhere), on my VPS I don't even have PHP so I couldn't exactly check there. ;) Shared hosting is 5.3.3
-
Okay we're kinda steering off-topic. I provided the problem, you provided a solution, problem solved. Nice mod Sniko. Edit: May I say, MWG's hosting provider is beginning to really get on my m00bs.
-
Yes I understand that, but a simple $_GET['id']+=0; will do then onto checking if the house exists. However if need be all these function will work, except the way Sniko did his. I also have no clue what HD is on about but he's persistent on the phrase 'newest PHP version' so maybe that's his problem :P
-
I wouldn't use ctype_digit either. I cannot find a practical use for below, however if it should happen to be this way ctype_digit() will fail in every sense. <?php $var = 23 + $_GET['id']; if (ctype_digit($var)) { echo 'Woo'; } echo $var;
-
I like but; $_GET['id'] = (isset($_GET['id']) & abs( is_numeric($_GET['id'])) ) ? $_GET['id'] : FALSE; Will not work as I presume you intended it to do so. <?php $_GET['id'] = (isset($_GET['id']) & abs( is_numeric($_GET['id'])) ) ? $_GET['id'] : FALSE; //Pass '-23' (without quotes) through the id _GET param. echo $_GET['id']; //Outputs: -23 //Pass 23 through echo $_GET['id']; //Outputs: 23 //Pass 2.3 through echo $_GET['id']; //Outputs: 2.3 //Pass +23 through echo $_GET['id']; //Outputs: 23 //Pass '32' through echo $_GET['id']; // Fails. //Pass 1e4 through echo $_GET['id']; //Outputs 1e4
-
That's entirely not my call, the topic poster asked for a welcome message so that's what I gave. :)
-
So many better things you can use to help 'improve' your sites security take http://phpids.org/ for example.
-
Either would work those two were just examples, and I think it's because the event_add is for events rather than messages. :P
-
After $i = $db->insert_id(); in register.php Add //Define $mail and $subject before hand with the message you'd like to send $db->query('INSERT INTO `mail` ( `mail_to`, `mail_time`, `mail_subject`, `mail_text` ) VALUES ( '.$i.', UNIX_TIMESTAMP(), "'.$db->escape($subject).'", "'.$db->escape($mail).'")'); Done. EDIT: Optionally alter the create user query to set the new_mail field to 1 or $db->query('UPDATE `users` SET `new_mail` = 1 WHERE (`userid` = '.$i.')');
-
Perhaps screenshot the template so we know what we're dealing with.
-
float(); may be useful.
-
Take note of function blah () { echo 'KIKIK } <input> <etc> That was just looking at the original code. I always thought that statement referred to something like <?php $var = 'lol'; echo ' Something is '.$var.'</p>'; ?> Could be done a little better <?php $var = 'lol'; ?> Something is <?php echo $var; ?></p> Which is true, and also why MVC makes the above much easier to do, separating logic from markup.
-
Don't think it has any, may have something to do with being able to complete a crime but I'm not sure.