431 Posted Topics

Member Avatar for mattyd

Which elements are you talking about specifically, as some have overrides and stuff to cause problems. Maybe worth posting a browser screenshot so we can see what you're seeing. BTW: it says in your signature "Never allow just anyone access to your database", but your code is soo vunerable to …

Member Avatar for DaveAmour
0
471
Member Avatar for gangachana

Is the span tag even likely to change CSS class? Because if not, why are you storing the whole tag? Why not just the time (and class)? Good practice not to store unnecissary stuff in your DB when it can be done later.

Member Avatar for mattster
0
2K
Member Avatar for happygeek

As long as England beat France this year then I'm cool aha. It'll be interesting if Wales can turn things around in their game with Ireland in a couple of weeks.

Member Avatar for XP78USER
0
316
Member Avatar for KingGold171

I think I can sort of see what you're asking, you mean do something like this? ([ref](http://php.net/manual/en/language.variables.variable.php#50912)) $type = '123'; $name_123 = 'hello'; echo ${"name_$type"} . "\n"; // prints "hello" When @MDUK says "quite messy", he really wasn't joking. Thats a complete mangled mush, and very awkward to work with. …

Member Avatar for jkon
0
209
Member Avatar for Niloofar24

Important to note: You've got `$result` containing the query results for an entire row that matches the username, not the password. Also, avoid md5() at all costs, you need to be using another encryption method (since md5 is old, outdated and insecure). Loot at the PHP [hash()](http://php.net/manual/en/function.hash.php) function.

Member Avatar for lps
0
592
Member Avatar for Niloofar24

In addition to Laravel, since it seems to be having a few "teething problems" with version 5, consider other frameworks. IMHO, CakePHP is the leading PHP framework for novices. It has amazing docs, and is a very constrictive framework. While this may be a tad awkward for some experienced developers, …

Member Avatar for davy_yg
0
681
Member Avatar for diafol

I haven't actually built anything with v5 yet to showcase yet, but judging by the [release notes](http://laravel.com/docs/5.0/releases), there shouldn't be too much of a problem with rolling with 4.2. Naturally this will change as bugs and security glitches are found... To me (as a relative newbie to laravel), the docs …

Member Avatar for matrixdevuk
0
277
Member Avatar for OsaMasw

Well it might be helpful to see your directory structure and upload script..? Common sense.

Member Avatar for cereal
0
2K
Member Avatar for Elvi

Dont forget to take a look at the [font awesome](http://fortawesome.github.io/Font-Awesome/icons/) library! To use it, shove this in your `<head>` section: <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> Then do this wherever you want to use an icon: <!-- Instead of this --> <span class="icon-home"></span> <!-- Use this --> <i class='fa fa-home'></i> Then you can …

Member Avatar for mattster
0
174
Member Avatar for mike_2000_17

Well I'm certainly no moderator and I had the same problem a few weeks ago (and was the one that mentioned it to Dani). Does that mean it's now fixed for normal members too?

Member Avatar for Dani
0
341
Member Avatar for safeer008

If the child theme has been changed or had any work done on it by a person (which it probably has), therefore the changes/work/theme is copyrighted to them. It will be very clear from the author if you are allowed to use their theme (and if you need to pay …

Member Avatar for mattster
0
224
Member Avatar for toxicandy

If you are building a product in PHP on this type of server setup, you need to be sure you're happy with this. Its quite a rare configuration, therefore knowledge, upgrading and support will become difficult. Generally (as @JorgeM points out), ASP.Net is the more common choice for this sort …

Member Avatar for mattster
0
571
Member Avatar for robertlaar

CMS'/frameworks have vast ability differences. We can talk about generalized pros/cons all day, but the biggest influence should be your ability. If you've written a fairly decent PHP application before, with maybe some experience in OOP, frameworks are an option. If you want to keep it simple and problem-free CMS' …

Member Avatar for cilla
0
280
Member Avatar for magicmarkuk

Try using the `&laquo;` or `&#171;` and `&raquo;` or `&#187;` HTML codes. These show the double arrows as one character, rather than two `<` characters - which is a common reason why arrows like this don't match. [ASCII Reference here](http://www.ascii.cl/htmlcodes.htm) [Unicode Reference here](http://unicode-table.com/en/#00BB)

Member Avatar for magicmarkuk
0
188
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
864
Member Avatar for best4earn

Your link doesn't work? I'm finding it quite difficult to understand what you mean, but I'm guessing that you've changed some CSS or something and the site doesn't look the same. If so, this has nothing to do with cookies. Theres clearly a problem in your CSS. What exactly were …

Member Avatar for mattster
0
90
Member Avatar for RobertHDD

Feel better soon happygeek! (I'll be nice, as diafol was trying so hard to make you feel better ;P) > last night, I bought a laptop!!!!!!!!! Here we go, Dani's bought another $8,000 monster with 64GB of Ram just to show off ;p

Member Avatar for happygeek
0
658
Member Avatar for mattyd

Here is a link to the [OSWASP Top Ten](https://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project). They provide a few simple steps to securing your application. Personally (if you haven't already done so), write a function to sanitize something like XSS. Then go through your code (unfortunately line by line) and call the function every time code …

Member Avatar for mattyd
0
456
Member Avatar for baloch123

Very good advice on storing the data. > How can i switch between questions? Well that depends on what questions you would like to ask. You need to come up with a diagram of all the questions you could ask, depending on what answers you get. For instance: Name? --> …

Member Avatar for baloch123
0
740
Member Avatar for Apurva1026
Member Avatar for Samuccaya

Also, don't forget to look at [Google Fonts](http://www.google.com/fonts/)! They make insterting fonts easy, and theres a massive selection of all types of fonts.

Member Avatar for mattster
0
86
Member Avatar for johnmartin.sanchez_1

Just as a warning that many people forget: Port forwarding and suchlike is **extremely dangerous** in terms of security, and should only be done if you know what you are doing. Generally speaking, hosting companies have specialist ISPs, so there is no need for a standard ISP to deal with …

Member Avatar for johnmartin.sanchez_1
1
1K
Member Avatar for cristian.stilpeanu.1_1

It's personal choice. You can go to `facebook.com/index.php` and to `google.co.uk/imghp`. Both respectable sites that obviously rank very highly on search engines. To be honest, the world would've taken a nasty turn if bots were going to penalise you for something so small. Social media interaction, quality of code/content, up-to-date …

Member Avatar for NerdFreak
0
312
Member Avatar for OsaMasw

Sorry my magic ball is in the shop for repairs, so please at least try to give us a clue to what you're on about. How do you mean generated? Have you saved a HTML file and you've opened it in a browser and found that? Are you certain it's …

Member Avatar for Zvz
0
219
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
154
Member Avatar for Deep Modi

Well we can't suggest a logo for you aha! The idea of a logo is an image that is unique to you! If you wan't a custom logo you would have some graphics software, such as Illustrator or Photoshop - we can help you with those if you're stuck. Maybe …

Member Avatar for <M/>
0
279
Member Avatar for adebayo23

Well have you got any PHP experience at all? What have you tried? Effort helps. But because I'm a pretty nice person I will give you some ideas: This URL is of a dictionary so would have a fairly simple core structure. You would have a big database, probably with …

Member Avatar for rubberman
0
159
Member Avatar for network18

Font Awesome, as the name suggests, is a *font* library of SVGs, so behaves very differently. Ideally you want to actually use font awesome for something like a plus icon. If not, you can look at things like this: [click here](http://css-tricks.com/using-svg/) (scroll down to the bit about **inline SVGs**. Things …

Member Avatar for anandvaishnav
0
988
Member Avatar for KevinVernon
Member Avatar for EvolutionFallen

Try this: RewriteCond %{QUERY_STRING} (id=(.+?)&)(category=(.+?)&) [NC] RewriteRule ^page.asp(.*)$ page.asp?%1category=%2 [R=301,last]

Member Avatar for mattster
0
418
Member Avatar for AntonyRayan

prit is right about the format, because if MySQL has a "date" field, it wants it in `yyyy-mm-dd` and will reject anything else. Also, why on earth are you storing a) a password with no apparent hashing or encryption??? Major security problem. b) the repeat password? You won't ever look …

Member Avatar for AntonyRayan
0
237
Member Avatar for happygeek

*dumbo question moment* So was it something stupid like guessing her passwords to get into only her accounts on both networks? or is there a more complicated way they can break in?

Member Avatar for vegaseat
1
2K
Member Avatar for PierJean

Well for a start you need to specify the WHERE bit in youur query: $result = mysql_query("SELECT * FROM wp_uvmj_participants_database WHERE zip='abcd123' AND specialty='abc123'", $db); You will also need to put quote marks here: echo $row['company'].""; While we're here, there are slightly neater ways of writing this: while ($row = …

Member Avatar for PierJean
0
456
Member Avatar for CharAmel

Your link is to the wrong location, **working link [here](https://www.daniweb.com/software-development/c/threads/489642/how-can-i-print-name-of-files-with-the-same-month-of-creation)** Why on earth did you post your code in the first place if you're not allowed? You need to flag it to a moderator, but as far as I'm aware it's not common practice at all to be deleting stuff.

Member Avatar for <M/>
0
258
Member Avatar for ankit1122

No, MySQL does not create new rows unless you tell it to. Either you are using the wrong query to get your data or something is seriously wrong with your installation (unlikely). Can you show an example of a query you're using and how it affects the db?

Member Avatar for Taywin
0
193
Member Avatar for Stefce

This is because you've got your head and body tags in a muddle: <html> <head> Page information goes in the head, like a title, favicon and styles <style type="text/css"> ... </style> </head> <body> All visible page content. All div tags (or any HTML that the user is going to physically …

Member Avatar for imti321
0
262
Member Avatar for majo.zejdzekmrva

I am not invincible. I cannot reply to everyone instantly, because I have an extremely busy social life. Sorry that I couldn't respond to this within 24 hours. *Joke over, I'll stop lying.* If it's urgent, you're in the wrong place. If not, learn patience. You haven't even asked a …

Member Avatar for Bile
0
443
Member Avatar for RikTelner

You can get this information in the javascript [screen object](http://www.w3schools.com/jsref/obj_screen.asp). Then you can apply CSS classes from there.

Member Avatar for RikTelner
0
397
Member Avatar for man.chester.581

If you don't want to open the persons email client, the only way is serverside scripting (PHP/ASP) once the form is submitted. In php, you just use the mail function: http://php.net/manual/en/function.mail.php

Member Avatar for JorgeM
0
208
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
388
Member Avatar for <M/>

So let me get this streight: You have a wordpress site (using a theme) that is hosted with GoDaddy. You have Dreamweaver on your PC, and you want to edit the template files locally and have them sync'd with the ones online? or edit the ones online directly? It sounds …

Member Avatar for <M/>
0
183
Member Avatar for iamthwee

Managing your own email server is understandably a nightmare, but have you ever looked at [MS Exchange Server](http://office.microsoft.com/en-gb/exchange/hosted-email-for-business-exchange-online-FX103739072.aspx)? It's about £2.50/user/month+ VAT, so it's much cheaper. They also boast the following: Work smarter, anywhere, with hosted email for business. * Get business email, calendar, and contacts on your PC, phone, …

Member Avatar for iamthwee
0
148
Member Avatar for Pablo149

> over and over again. Agreed 100%! Other than that, maybe really simple CMS site or corporate ones for local business etc.

Member Avatar for webhawk
0
213
Member Avatar for Johnpeter304

Hi there, What you're talking about is something called **responsive** design. It is usually done by placing your content into a *grid system*. Take a look at [Pure](http://purecss.io/grids/). ([Include links here](http://purecss.io/grids/#want-to-just-use-grids)) It explains here how things work in detail, but simply, arrange your code like this: <div class="pure-g-r"> <div class="pure-u-1-3"> …

Member Avatar for webhawk
-1
278
Member Avatar for advent_geek

Yup, you need a wrapper and some CSS magic. Try something like this: <style> .google-maps { position: relative; padding-bottom: 75%; // This is the aspect ratio height: 0; overflow: hidden; } .google-maps iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; } </style> <div class="google-maps"> …

Member Avatar for advent_geek
0
603
Member Avatar for Dani

I'm a big fan of the mobile view, as I nearly always get article updates by email, go to look at them on my phone and it doesn't work. Especially as things like IPS4 are developing their efforts in responsive design, it's an ever-increasing feature that is only going to …

Member Avatar for Reverend Jim
1
866
Member Avatar for imti321

Code answers require code questions. Simples. Try a bit harder and answer @Broj1. > i know session > but i dont know what it means actually Well you clearly don't know what it is then, and haven't been bothered to google it like most people. For someone who is suposedly …

Member Avatar for broj1
0
363
Member Avatar for Reverend Jim

The thing is, is that nothing is private any more. There will always be someone sat 1,000 miles away who knows everything about you. I completely agree, we have every reason to worry, it won't be long and our entire homes will be ran over the internet. My biggest worry …

Member Avatar for vegaseat
0
458
Member Avatar for Siberian

Agreed with @hericles, mobiles wouldn't bother with a `:hover`. Instead, you could use something like [this](http://jsfiddle.net/9e8z28zk/), and intergrate it with what you've done already. If you wanted the hover for browsers and jQuery for mobiles, all you need to do is do some basic responsive design and merge the examples …

Member Avatar for Siberian
0
262
Member Avatar for gogs85

I've had a little go, based on what's been said already: http://jsfiddle.net/2nphygu1/ It's a really basic CSS(3) example, and hasn't got any links or anything attached. Hopefully it's easy to see how this can be expanded on and developed how you wish. Play with it to get it looking how …

Member Avatar for mattster
0
181

The End.