34 Topics

Member Avatar for mattster

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 …

Member Avatar for cereal
0
602
Member Avatar for mattster

For the last month (and the preperation weeks before that) it's been tough getting 19 exams out of the way, my worst being four 1hr 30min exams on one day! Revision has been tough, leaving no time for DaniWeb :( Now we've got until september to relax, before starting 6th …

Member Avatar for <M/>
0
113
Member Avatar for mattster

Recently I've stumbled on a nice tool that I really quite like, so I thought I'd share it: Personally, I love the power behind PHP. I find it a very simple to use yet possesses the techniques seen in the more complex desktop applications such as Perl/Python/C/C++/C# etc. PHP has …

Member Avatar for Gideon_1
7
1K
Member Avatar for mattster

I was looking for something similar myself a few days ago, and found the odd example of a CSS based monopoly-type game board. To be honest, they were all shabby examples made with code that left my eyes bleeding. I decided to make my own board and get it right …

Member Avatar for pritaeas
2
1K
Member Avatar for mattster

## Introduction ## Ever since the dawn of programming, we have had the luxury of variables, OOP, functions and other lovely tools within our languages. CSS is arguably the easiest language to ever pick up, with everyone having to learn it’s basics. However, it lacks any power, as we have …

Member Avatar for mattster
6
857
Member Avatar for mattster

Hi All, I've used CakePHP for ages and as a framework I really like it and it works nicely. However, it has a nasty snag. Say you wan't CakePHP to be your main application in the website root (`/`), and you wanted a Wordpress blog in a subdirectory (`/blog/`). In …

Member Avatar for mattster
0
151
Member Avatar for mattster

Hi All, I am working with a Magento (v1.8.1) site, which until a week or so ago, was working perfectly. I am using the SM_AMAZ theme, and have no plugins which could interfeare with performance. Everything will be fine, then something in the admin panel will get changed, and the …

Member Avatar for imti321
0
387
Member Avatar for mattster

Hi Guys, When talking to a friend on here, we stumbled upon a joke, so we thought we'd share it ;) Please try not to take offence, only light banter ;) Say @diafol: a non-nonsense pro who's an absolute legend. If you say the name out loud in a slow …

Member Avatar for vegaseat
2
198
Member Avatar for mattster

So the game works like this: We start with a word, and each person must change that word. You must change **one letter only**, and you **may not add or remove letters**. For instance: fame -> game -> gate We'll start with the word **tool**

Member Avatar for Jack_9
0
1K
Member Avatar for mattster

Hi All, Over the years I have smashed through God knows how many brick walls with `.htaccess`, and all I've learnt is don't even try to make it complicated as nothing is ever simple. I have therefore resorted in recent applications to using `mysite.com/index.php/category/sub-category/create/` etc. and PHP to get hold …

Member Avatar for mattster
0
330
Member Avatar for mattster

Hi All, I have noticed I've stopped recieving the DaniWeb Digest (without wanting to). Is there a way I can click to "opt-in" somewhere? I've seen the "Join mailing list" in edit profile, but this seems more for replying to posts etc. Thanks, *mattster*

Member Avatar for mattster
0
193
Member Avatar for mattster

Hi There, This comes under a few forums on DaniWeb, so I've guessed and posted it here... I have two computers, both connected to the internet and running Windows 7 (Home Premium + Professional). One is my main one, the other is one I do not use. If I installed …

Member Avatar for mattster
0
347
Member Avatar for mattster

Since my childhood, I've anticipated nothing more than an addition to the StarWars saga, and episode VII is a dream come true!! https://www.youtube.com/watch?v=z7CtvaartRY https://www.youtube.com/watch?v=Snph22qSUMU What are our comments/thoughts on the new film(s)? Personally I can't wait, and hopefully with Disney's money and the latest technology this film should be incredible!! …

Member Avatar for mattster
0
359
Member Avatar for mattster

Hi All, Ive noticed something that maybe prompts discussion: Large social media sites like Facebook have a notificaton settings page, where the user can select what notifications they get emails about and which ones are just displayed when you login to the site. Instead of just unsubscribing or 'the occasional …

Member Avatar for pritaeas
0
519
Member Avatar for mattster

Hi guys, Whats are favorite all time song and current song (one thats popular at the minute)? i.e. My all time favorite is [Phil collins - in the air tonight](http://www.youtube.com/watch?v=YkADj0TPrJA) My current favorite song is [Bastille - Pompeii](https://www.youtube.com/watch?v=F90Cw4l-8NY) Sorry for the awful videos aha

Member Avatar for polodas
1
679
Member Avatar for mattster

Following our recent discussions about mandatory tags, why not force users to use tags, but also help them along..? Say I create a discussion with the title "Sharing a variable between PHP scripts on same page" Something like Javascript would automatically place into the textbox: `sharing` `variable` `PHP` `scripts` `same` …

Member Avatar for Dani
0
478
Member Avatar for mattster

Hi All, I was just wondering about an idea that might give Daniweb against other forums, and would suit a lot of us as developers. What about another set of forums including UI/UX design, working with Photoshop, Illustrator, Flash etc As a developer, I am hopeless at design, and maybe …

Member Avatar for happygeek
2
487
Member Avatar for mattster

Dear All, This must be a very common problem, but yet nowhere on the internet wishes to display a working answer. I am in a sticky situation. I have the following .htaccess file on my local webserver: http://localhost/testsite/.htaccess DirectoryIndex home.php?view=home RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} …

Member Avatar for mattster
0
351
Member Avatar for mattster

Hi All, I am developing something for a client and I urgently need this solved. My client has a Magento store, which has several categories (say CatA and CatB). If someone purchases an item from CatA, I need Magento so send an email to admin@example.com. Is this possible? If so, …

0
143
Member Avatar for mattster

Hi Guys, I've got a client who would like something on a magento community store, but I have no ideas to solve this one: Basically my client wants different people to be notified about different products being ordered. So say somebody buys product A, so admin1 would be sent an …

0
227
Member Avatar for mattster

Hi All, I was wondering if there was a way using Javascript/JQuery to do something similar to the previews on the following sites: * [phpBB.com Styles Demo](https://www.phpbb.com/styles/demo/3.0/?from=submenu&sid=bb14d4e00f1932c986cce47c96a83dc3) * [Kriesi Theme Demos](http://www.kriesi.at/themedemo/?theme=enfold) * [DamojoThemes](http://themes.damojothemes.com/?theme=velocity_wp) Here we have a sort of select menu with an image preview, any ideas how to do …

Member Avatar for JorgeM
0
215
Member Avatar for mattster

Hi All, I have my own site in which I would like to display my member badge, but the image seems of poor quality and out of date. Would it be worth refreshing the images to a clean and modern look to encorage members to display their badge? *Matt*

Member Avatar for JorgeM
3
185
Member Avatar for mattster

Hi again, We all know jQuery can really spice up a website, so what would plugins could I try to make my pages even more exiting? (ie. typeahead.js) Thanks!

Member Avatar for rhodoscoder
0
121
Member Avatar for mattster

Hi guys, Am working on a mini project and my question to you is: What would be your top 5 to 10 important tips for security while working with PHP? Thanks for any help recieved!!

Member Avatar for GliderPilot
0
112
Member Avatar for mattster

Hi folks, I am looking into an IPB forum to be registered at domain.com, for example. I would like a seperate forum on each sub-domain, ie. **forum1**.domain.com and **forum2**.domain.com. Would I have to purchase a seperate licence for each forum, or could I just have them licenced to domain.com and …

Member Avatar for pritaeas
0
170
Member Avatar for mattster

Come on then guys, one of the gratest wars of technology and IT - whats the best operating system and why?

Member Avatar for Assembly Guy
0
856
Member Avatar for mattster

Hi folks, I am aware this is a problem that many people have, but I am yet to find an answer... I have a 10x10 grid generated using a html `<table>`, each cell has an id reffering to its location (ie. #15 - row 1, colmn 5). All I need …

Member Avatar for LastMitch
0
363
Member Avatar for mattster

Hi all, I am using an apache web server, and this is the raw url: `http://localhost/mysite/index.php?view=contact` how do I convert that to: `http://localhost/mysite/contact/` My current .htaccess is saved in `http://localhost/.htaccess`, and reads as: RewriteEngine On RewriteRule ^mysite/(.*)/$ /mbs/index.php?view=$1 [L] and I get a 500 internal server error? Thanks for the …

Member Avatar for LastMitch
0
313
Member Avatar for mattster

Hi everyone, Heres my problem: I've installed Qt 4, and there is **no** qmysql.dll/.a in C:\Qt\4.8.4\plugins\sqldrivers\. I am running a MySQL database program and I get Database error: Driver not loaded. Theres not really a lot of help anywhere on google so hopefully DaniWeb will yet again prove itself as …

Member Avatar for mattster
0
395
Member Avatar for mattster

Right everyone, here's my problem. I have just paid £45 for a book on Qt, have had a nightmere getting it sorted, and finally I can build apps to this extent... I have an app, *test.pro*. I have built it using `qmake test.pro` -> `make` which works. I am using …

Member Avatar for mattster
0
289

The End.