group-software-project's People
group-software-project's Issues
Hoang Anh bug report 3
Hoang Anh bug report 2
-
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
Hoang Anh bug report 5
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.
Hoang Anh bug report 1
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.