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"
ทักษะแนะนำ
ผลงานอันดับสูงสุดจากการประกวดนี้
-
RajendraJain India
-
cepi017 Indonesia
-
adipr Indonesia
-
kyosra Tunisia
-
tipudany Bangladesh
-
carlojimenez Philippines
-
rajatayyab5127 Pakistan
-
anwarsolangi Pakistan
-
amigophp Russian Federation
-
tipudany Bangladesh
-
genbuinebyte United States
-
ScottContina United States
-
graAndWebPro Bangladesh
กระดานประกาศ
วิธีเริ่มต้นจัดการประกวด
-
จัดการประกวดของคุณ รวดเร็วและง่ายดาย
-
รอรับผลงานจำนวนมหาศาล จากทั่วโลก
-
มอบรางวัลให้แก่ผลงานที่ดีที่สุด ดาวน์โหลดไฟล์ - ง่ายดาย!