Can you summarize the steps I have to go through in writing my first cgi?
Answer / Neeraj Ambesh
Writing a CGI involves several steps:n1. Choose a programming language: Common choices include Perl, Python, and C.n2. Define your CGI program: This typically consists of handling HTTP requests, processing data, generating an HTML response, and sending it back to the client.n3. Save your program with the correct file extension: For example, `script.cgi` for a C program or `script.py` for a Python script.n4. Grant execute permission to the CGI program: This can usually be done using command-line commands like `chmod +x script.cgi`.n5. Configure your web server to run the CGI program: The configuration process varies depending on the web server you're using.n6. Test your CGI program by accessing it through a browser.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which command we can use to update a physical file using c.l pgm?
We have seen no of parameter list but If we mention like this 'CALL PROGNAME PLIST ' how to know No of parameter name of program ?
how can I control the way a remote browser uses its cache?
Why would you prefer OPNQRYF than logical file?
How do I remove a flag or check no. or name when a user opens too many sessions?
i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.
what is the purpose of data structure?
what does defn do?
what is the syntax for plist?
I/o error detected,Record Out of sequence,Permanent I/o error occured....I mean give one eg for these errors...i understand only,update/delete operation without prior read oprn..give details of remaining
How can we arrange duplicate records in a file?
Distinguish between logical file and physical file?