Part 2: In the same file, write a form consisting of a single text field and a submit button. The “action” attribute to

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Part 2: In the same file, write a form consisting of a single text field and a submit button. The “action” attribute to

Post by answerhappygod »

Part 2: In the same file, write a form consisting of a singletext field and a submit button. The “action” attribute to the formshould be the same page that the form is on (don’t hard code, use$_SERVER[‘PHP_SELF’]). The form should send the contents of thetext field via GET. Upon submitting the form, you should beredirected to the same page, but the URL should contain the stringfrom the text field as a GET request normally behaves. Side Note:Prevent Security Vulnerabilities with $_SERVER['PHP_SELF'].
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply