Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cabbage

Privileged
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Cabbage got a reaction from adsegzy in apostrophe problem in my form field   
    Ensure that magic quotes is turned off in your PHP config, they're not as evil as everybody makes them out to be but it's easier to find problems if they're off as you won't get slashes being added and taken away seemingly "magically".
     
    Personally (among other things) I make my SQL queries safe (and avoid the headache with slashes) by using something similar to the following.
     
    Inserting to a database

    $dbVar = addslashes($var);
     
    Retrieving from a database

    echo stripslashes($dbVar);
    Try to limit what users can enter into forms too, lock it down where possible and never rely on client-side validation.
  2. Like
    Cabbage got a reaction from sunwukung in What PHP framework do you use?   
    I'm writing my own at the moment, based on a model view controller architecture. It's pretty lightweight and does only what we need it to do as a business. At my last employment we used the Zend framework, which I must admit I found to be needlessly lofty.
  3. Like
    Cabbage got a reaction from planetabstract in Page title & PHP includes   
    PHP self isn't secure, you can inject stuff into it if you know what you're doing.
     
    If you create a variable before you include the file then you can use it inside the included file as following.
     
    Main file

    $currentPage = $_SERVER['SCRIPT_NAME']; if(stristr($currentPage, 'index') { $pageTitle = 'Index'; } include('header.php');
     
     
    Include File

    <title><?php echo $pageTitle; ?></title>
  4. Like
    Cabbage got a reaction from bocaj in Best Titles   
    I read this as "Best Titties" and was a bit disappointed when I clicked through .
     
    Anyway I'm by no means a SEO expert but try using terms that wouldn't have hundreds of other people using them. For example Brighton Property is too vague, there must be hundreds of estate agents in Brighton. Instead perhaps try using various suburbs and areas of the city within the name.
  5. Like
    Cabbage got a reaction from Boyles Web Design in Graduation   
    Well I've just got back from graduation, not really much point to this thread other than to brag about an amazing day. I looked the dogs ******* in all the gown, and I had a full suit on underneath which made me feel a million dollars. Apparently I carried the gown best out of everybody there (told by several lecturers, my friends, parents and people I know). Had a really good day, got photographed, spent some time walking around the gardens where it was at and went to the actual ceremony. My course only had 2 people there graduating, they called out the course title to a deathly silence, then my classmates name to another deathly silence, then they said my name and my family made a huge noise and all my friends graduating made a racket too.
     
    Throwing my hat in the air and catching it again has to be the most memorable and satisfying thing I've ever done in my life.
     
    As I said, not much point to this post other than bragging rights really but I had an incredible day! Job interview on Monday now, bit apprehensive but I've got a weekend with my girlfriend in Notthingham before then .
  6. Like
    Cabbage got a reaction from lazytycoon in I got an interview ^_^   
    I got the job!
     
    However I'm on a trial period of 8 weeks initially where I'll be on barely above minimum wage .
     
    Oh, and for the record I wore a suit and it turns out the place has a smart casual attire.
  7. Like
    Cabbage reacted to lazytycoon in Graduation   
    Nice one. Welcome to the real world
     
    PS I +1'd you because some fool -1'd you.
  8. Like
    Cabbage reacted to Cabbage in Graduation   
    Well I've just got back from graduation, not really much point to this thread other than to brag about an amazing day. I looked the dogs ******* in all the gown, and I had a full suit on underneath which made me feel a million dollars. Apparently I carried the gown best out of everybody there (told by several lecturers, my friends, parents and people I know). Had a really good day, got photographed, spent some time walking around the gardens where it was at and went to the actual ceremony. My course only had 2 people there graduating, they called out the course title to a deathly silence, then my classmates name to another deathly silence, then they said my name and my family made a huge noise and all my friends graduating made a racket too.
     
    Throwing my hat in the air and catching it again has to be the most memorable and satisfying thing I've ever done in my life.
     
    As I said, not much point to this post other than bragging rights really but I had an incredible day! Job interview on Monday now, bit apprehensive but I've got a weekend with my girlfriend in Notthingham before then .
  9. Downvote
    Cabbage got a reaction from skidz in Graduation   
    Well I've just got back from graduation, not really much point to this thread other than to brag about an amazing day. I looked the dogs ******* in all the gown, and I had a full suit on underneath which made me feel a million dollars. Apparently I carried the gown best out of everybody there (told by several lecturers, my friends, parents and people I know). Had a really good day, got photographed, spent some time walking around the gardens where it was at and went to the actual ceremony. My course only had 2 people there graduating, they called out the course title to a deathly silence, then my classmates name to another deathly silence, then they said my name and my family made a huge noise and all my friends graduating made a racket too.
     
    Throwing my hat in the air and catching it again has to be the most memorable and satisfying thing I've ever done in my life.
     
    As I said, not much point to this post other than bragging rights really but I had an incredible day! Job interview on Monday now, bit apprehensive but I've got a weekend with my girlfriend in Notthingham before then .
  10. Like
    Cabbage got a reaction from lazytycoon in Graduation   
    Well I've just got back from graduation, not really much point to this thread other than to brag about an amazing day. I looked the dogs ******* in all the gown, and I had a full suit on underneath which made me feel a million dollars. Apparently I carried the gown best out of everybody there (told by several lecturers, my friends, parents and people I know). Had a really good day, got photographed, spent some time walking around the gardens where it was at and went to the actual ceremony. My course only had 2 people there graduating, they called out the course title to a deathly silence, then my classmates name to another deathly silence, then they said my name and my family made a huge noise and all my friends graduating made a racket too.
     
    Throwing my hat in the air and catching it again has to be the most memorable and satisfying thing I've ever done in my life.
     
    As I said, not much point to this post other than bragging rights really but I had an incredible day! Job interview on Monday now, bit apprehensive but I've got a weekend with my girlfriend in Notthingham before then .
  11. Downvote
    Cabbage got a reaction from morgano in Graduation   
    Well I've just got back from graduation, not really much point to this thread other than to brag about an amazing day. I looked the dogs ******* in all the gown, and I had a full suit on underneath which made me feel a million dollars. Apparently I carried the gown best out of everybody there (told by several lecturers, my friends, parents and people I know). Had a really good day, got photographed, spent some time walking around the gardens where it was at and went to the actual ceremony. My course only had 2 people there graduating, they called out the course title to a deathly silence, then my classmates name to another deathly silence, then they said my name and my family made a huge noise and all my friends graduating made a racket too.
     
    Throwing my hat in the air and catching it again has to be the most memorable and satisfying thing I've ever done in my life.
     
    As I said, not much point to this post other than bragging rights really but I had an incredible day! Job interview on Monday now, bit apprehensive but I've got a weekend with my girlfriend in Notthingham before then .
  12. Like
    Cabbage reacted to Shaun in I got an interview ^_^   
    I completely agree, that's how it should be. Unfortunately, it's just how things are. It doesn't mean they're not human beings, it just makes them tough. Look at it this way, there is so much demand for design and development jobs these days that employers have the upper hand. If somebody comes along for an interview and then decides not to take the job, the employer has a whole list of potential candidates with the same skills.
     
    The 2 points I highlighted would infact be good questions, if the job required an extremely qualified and experienced individual to work in a unique position for a huge corporation. In this case, the employer would understand that the level of investment is mutual. However, we're talking about a design agency in Stoke.
  13. Like
    Cabbage reacted to Shaun in I got an interview ^_^   
    I personally wouldn't ask these questions to some employers. Though I believe the company should do just as much for you as you're doing for it, you want to come across like they're getting the better end of the deal by hiring you. For example, instead of asking where the company will be in 5 years, tell them where you hope to be and what you hope to achieve in 5 years. Instead of asking them what makes their company different from others in the area, tell them what you think makes their company different (upon first impression). In their eyes, they're investing in you, not vice-versa.
     
    Some employers will be a lot more open and welcome such questions but the majority of the time, they could be perceived as inappropriate if asked out of context.
     
    The points not highlighted are brilliant questions.
     
    Anyway, these are just observations from experience (I've also had the pleasure to interview before).
  14. Downvote
    Cabbage got a reaction from lazytycoon in Best Titles   
    I read this as "Best Titties" and was a bit disappointed when I clicked through .
     
    Anyway I'm by no means a SEO expert but try using terms that wouldn't have hundreds of other people using them. For example Brighton Property is too vague, there must be hundreds of estate agents in Brighton. Instead perhaps try using various suburbs and areas of the city within the name.
  15. Like
    Cabbage reacted to ReaperWD in Possible Job   
    This goes back to the one i asked a few days ago (but dont think i actually got any responses)
     
    What are you willing to do to get your foot in the door?
     
    Personally i would apply for them all, adn take whichever comes first. Work is work. These days we cant afford to be too picky when it comes to a salary
     
    Reaper
  16. Like
    Cabbage reacted to mr p in Possible Job   
    If you reckon the work's going to help you progress then I'd go for it, especially if you'll earn more in 6 months than otherwise. You'll probably learn something and can always leave them for someone else. Even if you don't get the job it's good experience to go through the interview process if you haven't done many.
  17. Like
    Cabbage reacted to LYKC in Possible Job   
    If you cant afford to be picky then snap it up for sure. You are exposed to much larger projects and learn loads when working for agencies which you can use to supplement your own freelance knowledge. First jobs rarely pay well anyway, it's about how you move onwards and upwards from there
  18. Like
    Cabbage reacted to terydinho in Possible Job   
    A good salary is just one small aspect of your job.
     
    I turned down a £5k pay rise to join a new company last month; it sounds stupid but I enjoy my job right now, I am working with great people, I have a laugh every day at my job and the new company was just something I didn't want to do THAT much. The extra £5k would have been nice, BUT I thought that my job satisfaction was the most important thing.
     
    The fact of the matter is, that unless a pay rise is written into your contract, you will get about 2.5% a year which is pretty crap - in the early days of your career, get as much experience as you can for 2/3 years and then you can start making 6/7/8k a year jumps to a new job
  19. Like
    Cabbage got a reaction from Meow in Forum Upgraded   
    I gave it one rep so it should equalise it I think?
  20. Like
    Cabbage got a reaction from ReaperWD in Forum Upgraded   
    I gave it one rep so it should equalise it I think?
  21. Like
    Cabbage reacted to Meow in Forum Upgraded   
    Oooh, I just noticed the little openy closey thing on the right hand side of the home page. That's cute.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.