Simple PHP page

  • สถานะ: Closed
  • รางวัล: $20
  • ผลงานที่ได้รับ: 16
  • ผู้ชนะ: RajendraJain

รายละเอียดการประกวด

I need a simple php script that will do the following.

1. User clicks on "Access my account" button on a simple white page (no design needed)
2. once you click on the button, a simple txt input field is displayed (previously hidden) next to the login field that asks user for company name
3. user inputs the company name and hits enter (or clicks on login)
4. The script will do a DB lookup to find the URL associated to the company name provided by the user and automatically redirects the user to that URL

Example:
I click on Access my account button
type in google & hit enter (or click on sign in)
The script lookups google in the DB, find the URL from the DB that is associated with Google (http://www.google.com)
I will be redirected to the http://www.google.com

DB assumptions:
MySQL or MariaDB
Use a DB connection file instead of including the DB connection in the main file
Company Table includes company ID, company name, URL

Input validation:
convert the text from the input field to all uppercase to simply find a match (example: Coke=coke or COke)

if no match is available, do not redirect user and display " The information you provided doesn't match our records"

ทักษะแนะนำ

ผลงานอันดับสูงสุดจากการประกวดนี้

ดูรายการเพิ่มเติม

กระดานประกาศ

  • mindlogicsmdu
    mindlogicsmdu
    • 5 ปี ที่ผ่านมา

    please check my entry #18

    • 5 ปี ที่ผ่านมา
  • nomanjaved2011
    nomanjaved2011
    • 5 ปี ที่ผ่านมา

    Are you still accepting the entries? I may try on your request.

    • 5 ปี ที่ผ่านมา
  • ScottContina
    ScottContina
    • 5 ปี ที่ผ่านมา

    My entry is #2 . I have completed it and submitted the video of it in action.

    • 5 ปี ที่ผ่านมา

วิธีเริ่มต้นจัดการประกวด

  • ประกาศการประกวดของคุณ

    จัดการประกวดของคุณ รวดเร็วและง่ายดาย

  • รอรับผลงานจำนวนมหาศาล

    รอรับผลงานจำนวนมหาศาล จากทั่วโลก

  • มอบรางวัลให้แก่ผลงานที่ดีที่สุด

    มอบรางวัลให้แก่ผลงานที่ดีที่สุด ดาวน์โหลดไฟล์ - ง่ายดาย!

โพสต์การประกวดตอนนี้เลย หรือเข้าร่วมกับเราวันนี้!