Jump to content

DeanWhitehouse

Members
  • Posts

    2,527
  • Joined

  • Last visited

Posts posted by DeanWhitehouse

  1. With my current script it seems to only work if i have something like

    echo "
    [center]word[/center]
    ";

    but not when it is like

    echo "
    [center]
    word
    [/center]
    ";

    (with out any break lines, just /r/n)

     

    the code for center is

    $code = preg_replace("/\[center\](.*?)\[\/center\]/","<center>\\1</center>",$code);

     

  2. If this is to secure it before insertion into a db then remove strip tags, then it is done.

     

    If it is to secure before printing on the page then remove mysql_real_escape_string, and change strip_tags($data,"") to htmlentities($data);

     

    And yes magic quotes can affect the input by adding slashes to it (on quotation marks), but it can be disabled.

    Google php manual magic quotes

    http://uk2.php.net/manual/en/security.magicquotes.disabling.php

  3. :)

     

    Even most experienced people from time to time come across a problem they cannot solve alone. I agree though, that we should decide once OP posts any questions (let's hope he doesn't, as this will be a sign that he's doing well and we will not have to challenge our morals :P )

    Sorry :s i wrote that wrong, i meant that he should have a fairly good knowledge of PHP and that he shouldn't be asking us to help with simple stuff, but again we won't find out until he posts a question.

     

    EDIT: ok that proved it,

    Oh no, please don't do it, you'll kill me.  :'(

     

    This job offers 80K salary. I cannot pass it.

     

    I'll pay half of my first month salary to whoever willing to help (in cash if you prefer to avoid taxes). Any one interested let me know.

    If you don't know how to do the job don't apply for it, why are you so desperate for us to help you cheat, we can provide links to sites that teach you php.

    If you can't pass the test then tell them

  4. Yes but he would want the person to be able to know PHP and not need to ask for help, i suppose time will tell when we see what he wants help on.

    No, can a mod lock or delete this thread and any he starts which are similar.

     

    You are asking if we will help you get a job which you can't do.

     

    Why do you want to deceive your employer like that, think about your actions and don't ask us to help you in your deception.

     

    I don't agree. If the test indeed is being sent to him via email, and it is to be done at home, we may assume that the employer also wants to check, if the potential emplyee knows how to look for information if needed. If it was a test just to test his PHP coding skills, it would be done in controlled environment.

  5. What i believe is that when you first begin you should just offer lowish rates to get some work for portfolio and to get in contact with contractors.

     

    Because one job can lead to many, for example i have only done 1 big job so far and i got about £400 out of it all together i think, and that was pretty cheap but since then the client has more small things to do to the site, and asks for quotes for bigger site improvements and also puts me in touch with other people he knows.

     

    Also some jobs may lead to you getting a kinda contract job with the client where they will continuously use you to do any changes to the site.

  6. but tbh all day long I see people coming and going around here that claim to deliver but fail, and then come crying for us to help them swallow what they bit off, and I'm just like wtf if I knew who you were working for I'd go to them and steal your project, lol. 

     

    Lol, don't i know it ;)

     

    I have helped a lot of people in the help section who post code saying that it needs to be soon.

     

    If you say you can do it then can't don't expect the person to be giving you much more work.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.