- Strength to Increase Rep
- +9
- Strength to Decrease Rep
- -2
- Upvotes Received
- 170
- Posts with Upvotes
- 133
- Upvoting Members
- 83
- Downvotes Received
- 12
- Posts with Downvotes
- 11
- Downvoting Members
- 9
For some reason, I love to run and go mountain biking (I'm also a keen photographer!).
- Interests
- Computer Science, Business, Astrophysics, IT, Athletics, Cycling
- PC Specs
- A Quad-i7 (16GB RAM) with a linux / windows7 ultimate partition
Re: You have to learn the rules of the game. And then you have to play better than anyone else. ~ Albert Einstein | |
Re: > Some people are incapable of feeling good about themselves unless they are looking down on others. Too true... I hate how the geeks in films can hack into anything the baddie wants within seconds. They always try to use big words like "server" and "firewall" or "protocol", just to … | |
Re: > Drinking lots of coffee. Went to bed at 11pm, awoken at 1am the mobile phone of my partner. Long story short, son-in-law taken to hospital in ambulance, drove partner over to look after sleeping granddaughter, have been at the kitchen table working since 2am. Boys to get to school … | |
| Re: The other week I saw **The Inbetweeners 2**, very funny but for a very select sense of humour! |
Re: It also uses font awesome for the icons, not images @gentlemedia, so: add `<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">` to the `<head>` and replace `<img src="icon-2.gif" alt="Icon 2" />` with `<h1><i class="fa fa-globe"></i></h1>` Hope this helpes :) | |
Re: Because the evidence you've got here definitely looks very good, is there any way you could contact Google and flutter your eyes at them, and they might be really nice? And maybe DaniWeb should *consider* a tighter moderating system, not to re-write posts but to step in with stupid things … | |
Re: Only 4% of the energy in a standard light bulb is light, the rest is heat West Virginia (USA) holds an annual "Roadkill Cook-off" Abraham Lincoln's Gettysburg address was only 237 words long A typical bed houses over 6 billion dust mites *.. could go on forever ..* I pick … | |
Re: A friend of mine did his BA In software engineering at Oxford, then left for Harvard to do the masters in computer science, and finished with a PhD from the MIT, where he is now a Professor ;) Im about to do my last year of MCompSci at Oxford, maybe … | |
Re: Add this somewhere in your stylesheet, or find it in the bootstrap CSS file (usually line 5 of bootstrap.min.css) and change it there. .navbar-default { background-color: #f8f8f8 !important; border-color: #e7e7e7 !important; } | |
Re: Note: read http://php.net/manual/en/faq.passwords.php#faq.passwords.fasthash sha1 is not safe, do not use it! Have a read through [this](http://php.net/manual/en/book.password.php) and at the very least use the `crypt()` function. Lau has sort of narrowed down how to do the login system: hash the corrct password when saving the user, hash the entered login password … | |
Re: phpBB 3.0.12 is (and can have mods to make it even better) pretty good at stopping spam, so maybe still worth looking at. Other free ones could be SMF or MyBB, but really phpBB is the most established and is known to handle much larger forums. If you're really despirate … | |
Re: ^ Read what they are saying: this is garbage, start looking at a server-side language. | |
Re: ^ Agreed :) BTW - a little off-topic pointer: Because `if(){}` looks to see if a statement is true, and will do an `else` if not, you do not need `== true` (PHP will do this automatically) So this: if(mysql_connect("$dbhost", "$dbusername", "$dbpassword") == true) Will do the same as this: … | |
Hi All, I've just tried to get going with Django using MySQL, but linking them has been a nasty headache. I am using Python v3.5, Django v1.9 and MySQL 5.6. I've definately got MySQL/Python talking, but Django always has the problem: File "X:\Program Files\Python\lib\site-packages\django-1.9-py3.5.egg\django\db\backends\mysql\base.py", line 25, in <module> import MySQLdb … | |
Re: Nothing worse than bad grammar, simply just makes the person look like an idiot. My Mum always used to stop us and make me and my brothers say everything again if we couldn't word things properly. I wish parents could take that up again! | |
Re: > Any one there to help no one is helping me I am stuck up please some one help me out Since you're not paying me (and everyone else here), we will respond when we can. Demanding help to just come isn't going to work, I'm afraid. If only one … | |
Re: **[Copy](https://www.copy.com/page/home;section:landing)** - I've used it for a little while now and can't fault it. It's an excellent site **15GB of FREE space, plus another 5GB for refferals**! Includes sync, no file limits and 30 day history & recovery. As with dropbox, two users can share data between two accounts. | |
Re: In the nicest possible way, ` ` characters were never going to display correctly. Yes tables are bad practice, but the correct alternative involves a CSS grid system. By all means give [this](http://purecss.io/grids/) a go and see how you get on. The beauty of grids is that, once you get going … | |
Re: You users table is fine. (Make sure you're using the right datatypes - varchar(X)/int() - and A_I/PRIMARY_KEY for the ID) Item Desc: ID,NAME,TYPE,ATTACK (again with correct datatypes) Inventory: ID, USER_ID, ITEM_ID, [.. anything else you might need] (all int() datatypes, with A_I/PRIMARY_KEY for the ID) Use a new row for … | |
Re: I think what you're doing here is either weird on unclear. So my understanding is, you add a row (ID = 1, TIER = 1, PARENT = 0) then when you add another row the TIER should increment (ID = 2, TIER = 2, PARENT = 1). This should happen … | |
Re: I think your DB is pretty much there (indiviual opinions may differ), but you know your application best. You can do a PHP/SQL loop like: $date = time(); // today $days = 10; while($days > 0) { // SQL-> "SELECT COUNT(*) FROM tblbreakups WHERE breakondate='".date('Y-m-d', $date)."'" if($result_count == 0) { … | |
Re: Remove the ` ` in your HTML, and set your margins in css: @media screen and (max-width: 320px) { .menubar1 > a { box-sizing: border-box; display: block; font-family: arial, helvetica, sans-serif; padding: 0; margin: 10px 0; } } **Notes:** * There is no need to repeat your code in the @media … | |
| Re: Any news on this guys? Looks really good! To tell the truth, I'm very jelous of this partnership. |
| Re: I have been using phpStorm for a little while now, and it has grown on me enough to invest in other JetBrains tools for other projects. The thing I like, is that it seems JetBrains have crafted the IDE to fit a "by developers for developers" concept. Project handling and … |
Re: **Well if you have a two week deadline and a pressing client you should not have taken on the work without telling your employer you have no idea what you're doing. Simple as.** It all depends on the clients specifications and wireframes, to the point where generic plugins may not … | |
Re: Agreed that maybe the `if` block needs sorting, and please PLEASE put a [real escape](http://php.net/manual/en/mysqli.real-escape-string.php) on those variables: (line 5) `$pkgname = mysqli_real_escape_string ( $connection , $_POST["pkgname"] )`. Additional validation would be a good idea, but isn't necessarily essential. After line 16, add a new line with `print_r($_POST["pkg_detail"]);`, so we … | |
Re: Firstly, **`mysql_*` is dead now** - `mysqli_*` should really be used. Also, there's no housekeeping here!! Your query is a lovely advert for SQL injection! `session_start()` should be the very first thing on your page: before output of any kind. You also have several messy `<option>` tags: only one can … | |
Re: Sorry I've just accidently half-mentioned this [here](https://www.daniweb.com/community-center/daniweb-community-feedback/area-51/threads/496094/chat-popup#post2176435). I haven't got any other windows open, and with every new page I have to do the same again to close it. | |
Re: Please tell me that you have a `<head>` and that you've just randomly decided to show the end of the page and not the start. Also, please, PLEASE, indent your code properly and only put a neccessary amount of gap lines in to keep it readable. Frankly, your code is … | |
Re: 3D in photoshop to create an animated GIF would probably be easiest - I can't think of any other way without using CSS transformations, but to be fair, if your users are still using IE8 than they're already doomed. Maybe suggest they upgrade, or have a static IE8 fallback alternative? |