Jump to content

DeanWhitehouse

Members
  • Posts

    2,527
  • Joined

  • Last visited

Everything posted by DeanWhitehouse

  1. On a live site, you should turn off errror reporting and/or make your own custom ones.
  2. Well then you will have to change your code, you will have to rely on people to use there own common sense, and i would just turn off error reporting on that page error_reporting(0); or if(!isset($var)) { header("Location:page.php"); }
  3. yes, and if you read it $id = $_GET['id']; There fore it would be $id = ; And it would in result be undefined. But when i wrote it, i thought he should of realised what i meant.
  4. If you think that what i said was acting like a jerk, then you need to read what i said again. It was a question, if you took it wrong thats your problem.
  5. It means the var is not defined. And how is it a security issue? There is nothing different except the error.
  6. Well if you removed [] then it should have no errors,
  7. You think that something will inject your site through you connectin to the database ? lol, seriously?
  8. So... Please don't do it, it will encourage others to post in the wrong place. And ass kissing won't get your answer faster.
  9. They mean that the variable or whatever is undefiened, e.g. $var = ''; echo $va;//is undefined
  10. Then why post in PHP Help??? Please make sure you post in the right place. It's not hard.
  11. What's wrong with this way of connecting? Has your connection been intercepted, and what does this have to do with OOP (as BillyBod said), there is no point in overcomplicating the connecting to the db.
  12. Where is your attempt at error checking? Echo the vars, check if they are correct, add error_reporting(E_ALL); to the top of the page Please even try and fix it your self
  13. It can go anywhere just people put it nere the top because they will try and call the function before they have defined it.
  14. Lol, no you don't need to call session_name or session_id, you just need session start. But if he can post his full code with the errors he may get a faster/better answer.
  15. How do i make a WAMP server run as a web one? Is it already, i dunno. Thanks, Blade P.s soz if i posted in the wrong place
  16. I did, i looked in the PHP 4 to PHP 5 section and under domxml_new_doc() function, couldnt see it.
  17. Give them a link to the page, they must have some sort of technical support who will then look at it properly.
×
×
  • 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.