Git Product home page Git Product logo

saldi_ce's Introduction

saldi_ce

saldi_ce's People

Contributors

nielsrune avatar

Stargazers

 avatar

Watchers

 avatar  avatar

saldi_ce's Issues

Migrering til PHP7

  1. erstat split() med explode()
    • [http://php.net/manual/en/function.split.php]
  2. erstat ereg_ med preg_
    • [http://php.net/manual/en/function.ereg.php]
    • Check convertcharset.class.php
  3. opdater tredjepartskode
    • ConvertCharset.class.php (constructor skal ændres)
    • PHPmailer
      • v5.2.16 [https://github.com/PHPMailer/PHPMailer]
    • jQuery (ikke kritisk)
      • v1.12.0 eller v3 [http://jquery.com/browser-support/]
    • md5.js (skal på sigt helt sløjfes - falsk sikkerhed)
      • [http://pajhome.org.uk/crypt/md5/md5.html]

http://php.net/migration70

Fejlrettelser efter CVRAPI

  1. Mangler tilføjelser af lup-ikon
  2. Kode på stamdatakorten skal justeres, så email feltet i hoveddatabasen ikke slettes ved en fejl

Undefined index / variable / offset / constant

if (!$_POST['regnskab']||!$_POST['brugernavn']||!$_POST['passwd']||!$_POST['passwd2']) {

Fix [php7 required]:
if ( is_null ( $_POST['regnskab'] ?? $_POST['brugernavn'] ?? $_POST['passwd'] ?? $_POST['passwd2'] ?? NULL )) {

$db=$sqdb."_".$row[id];

Fix:
$db=$sqdb."_".$row["id"];

Baggrund:
https://stackoverflow.com/questions/4261133/php-notice-undefined-variable-notice-undefined-index-and-notice-undef

http://php.net/manual/en/language.operators.comparison.php#language.operators.comparison.coalesce

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.