www.webdeveloper.com

Search:

Type: Posts; User: 018125

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    605

    Is this safe from SQL injection?

    //GET PARAMS

    if (isset($_GET['filter'])) {$filter = $_GET['filter'];} else {$filter = "Customer";}
    if (isset($_GET['terms'])) {$terms = $_GET['terms'];} else {$terms = null;}

    //WHITELIST
    ...
  2. PDOException error when i try to add 2nd bindValue

    Hi All,

    This one has me stumped.

    I have the following code which is working just fine:


    $options = array(PDO::ATTR_EMULATE_PREPARES => false, PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,...
  3. So for some reason IE11 did not like this in my...

    So for some reason IE11 did not like this in my delete form:


    <form action="scripts/sc-delete-user.php?&id=<?php echo $id; ?>" method="post" autocomplete="off">

    I managed to workaround it by...
  4. PHP Delete from SQL not working in IE11, works in every other browser

    This one has me stumped.

    I have a super simple PHP delete script:


    <?php
    require("../content/common.php");

    if (isset($_GET['id'])) {
    $id = $_GET['id'];
Results 1 to 4 of 4
HTML5 Development Center



Recent Articles