Code Monkey home page Code Monkey logo

group-software-project's People

Contributors

adamob99 avatar awcflavin avatar hoanganh04 avatar rianwoods avatar

Watchers

 avatar  avatar

group-software-project's Issues

Hoang Anh bug report 3

  1. Sign in part not work properly because password used to compare with database is not hashed.

issue2

Fix: $hashpword = hash('sha224', $pword);

Hoang Anh bug report 2

  1. regex for email validation should cover all kind of university rather one by one
    `<?php
    $valid_email=false;
    $regex="/^([a-zA-Z0-9_-.]+){8,10}@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([a-zA-Z0-9-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$/";
    $email="[email protected]";
    if(preg_match($regex, $email)) {
    $valid_email=true;
    }
    $uni_email="";
    if ($valid_email){
    $uni_regex="/@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([a-zA-Z0-9-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)/m";
    preg_match($uni_regex, $email, $matches);

    $uni_email=$matches[0];
    }
    echo $uni_email;
    ?>`
    This is the email validation code that I also added to the project with sample input.

Adam-Bug-5

The form uploader needs to be edited to only allow PDF's. This allows for all files to be an identical type and saves messing around with different formats. File size also needs to be restricted to stop people from clogging up space on the server.

Hoang Anh bug report 4

issue 3
set_up file fail to connect
fix: add if ($connection) return ($connection); return (FALSE);

Hoang Anh bug report 5

issue: can not fetch all result while getting data from database.

fix:using fetch_soc instead and get data by key.
issue4

Adam-Bug-3

The file uploader does not ye require authentication from the lecturer. At the moment anyone can upload past exams papers. This must be changed to only allow universities upload papers as they are trust worthy sources.

Adam-Bug-2

The links to the courses on each college page are not working. It is just printing them to the screen and do not lead anywhere.

Adam-Bug-1

The college name at the top of the courses.php page needs to be dynamically generated. Take the students login information, check their email domain and pull the college name from a database

Adam-Bug-4

Most of the forms that allow user input are severely open to injection attacks. All input will have to be escaped and most of database queries changed over to prepared statements.

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.