Giter Site home page Giter Site logo

imageupload's Introduction

link to the website: https://csci4140-assign1-1155100383.herokuapp.com/index.php

UserID/pw: Alice/csci4140

  • index.php : Users can view public images uploaded by all users and their own private image, and also upload image if user is logged in.
  • loginpage.php: Allow user to login.
  • login.php: The system will check the input by user and return error message if there exists or login success message then redirect to index page.
  • upload.php: The systen will upload the file into Postgresql provided by Heroku, the direct to editor page.
  • logout.php: Perform logout and redirect to index.
  • editor.php: Allow users to apply filters or discard the images. Also the function of removing filter is implemented.
  • captcha.php: Generate a 4 digit validation image for login.
  • view.php: After clicking on the image from index, users will be direct to the page which show the original size of the image.
  • initializepage.php: If the admin log in, he/she will be directed to the page to see if he/she wants to perform system initialization.
  • initialize.php: Initialize the system and redirect to index.

Since the orginal post limit in Heroku's php.ini file is only 2MB, in order to allow user to upload a larger file, a file name .user.ini is made and it can allow user to uplaod file no larger than 50MB, which is an acceptable size since there is 1GB data allowance in the database.

imageupload's People

Contributors

chichichen10 avatar github-classroom[bot] avatar

Watchers

 avatar

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.