วันอาทิตย์ที่ 18 มกราคม พ.ศ. 2558

Writing CGI using Python

: My Concept :
1. Create first file .XXX (anything) in "cgi-bin" directory for Input Message Box to send message

2. Create second fiel .XXX (anything) in same directory for Show Result and Input Message Box to send message again

-สามารถส่งค่า text ไป และเรียกใช้งานอีกไฟล์ได้-

Result 
Show Text and Input Area



Input "Text 1"

The Result when press 'enter' it show message that you input

Then you can Insert another input in 'Input Next Box'

When you click 'Submit' it show Previous message that you insert

Source Code : File 1 "send_text1.xyz"

Source Code : File 2 "send_text2.cgi"

:: Addition ::
Describe : The page and the encoded information are separated by the ? character.

First is "first_name" variable
Second is "last_name" variable

and both use in print area

ไม่มีความคิดเห็น:

แสดงความคิดเห็น