Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task: Upload servers post to database and Store the converted product information to database #45

Open
YYaaao opened this issue Oct 2, 2019 · 0 comments

Comments

@YYaaao
Copy link
Collaborator

YYaaao commented Oct 2, 2019

Contains:

  1. Post page with inputting bars("Product Name", "Ad Description", "Photos For Your Ad", "Price", "Email", "PhoneNumber"), "POST button" to submit
  2. define inputs rules and track on back_end
  3. connect "product" database with "POST button"(insert only when inputs satisfied requirement )
  4. require "login in before post"

Task test:

  1. The "post page" contains inputting bars("Product Name", "Ad Description", "Photos For Your Ad", "Price", "Email", "PhoneNumber"), "POST button" to submit

  2. "POST button" verify login_in condition and reject to post when _SESSION[username] is empty.

    2.1 back_end verify "Product Name", "Price", "Email" empty and reject with alert(All fields with * are required)

      2.11 "Price", "Email", "Product Name" input length limited by ("Email" <= 35, "Price" <=10, "Product Name" <=25). unable to enter after limit lengh
    

    2.2 back_end verify email must contain "@" , reject with alert(email is not a valid email address')

    2.3 image_size > 2MB OR image.end not ("jpg","gif","bmp","jpeg","png") reject by size_checking and end_checking. reject when not satified.

  3. "product" database get inserted by "POST success product" through $insertsql by following format
    1571892279.png

@LinZhihaozlin22 LinZhihaozlin22 changed the title Post Buyer's Post Oct 2, 2019
@LinZhihaozlin22 LinZhihaozlin22 changed the title Buyer's Post Seller's Post Oct 2, 2019
@LinZhihaozlin22 LinZhihaozlin22 changed the title Seller's Post Post Oct 4, 2019
@LinZhihaozlin22 LinZhihaozlin22 changed the title Post Post action Oct 4, 2019
@xianxinl xianxinl changed the title Post action Upload servers post to database and Store the converted product information to database Oct 4, 2019
@xianxinl xianxinl removed their assignment Oct 4, 2019
@xianxinl xianxinl changed the title Upload servers post to database and Store the converted product information to database Task: Upload servers post to database and Store the converted product information to database Oct 23, 2019
junlongye added a commit that referenced this issue Oct 24, 2019
update the security issue by using prepare statement
@dzhao5 dzhao5 closed this as completed Oct 24, 2019
@YYaaao YYaaao reopened this Nov 21, 2019
@YYaaao YYaaao closed this as completed Nov 21, 2019
@junlongye junlongye reopened this Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants