Pages

Html

 





Steps to Execute XHTML Program.

1.   Create a folder by your name in any directory  

2.   Open notepad and type the program  and save the file with .html

3.   Then open the Internet Explorer /Mozilla web browser and type the URL as  
directoryname:\foldername\filename.html

           Ex: E:\cse\data.html

4.   Finally output will display.

Steps to Execute XML using XSLT & CSS Program

1.   Create a folder by your name in any directory  

2.   Open notepad and type the XML program and save the file with .xml

3.   Open notepad and type the XSL/CSS program  and save the file with .xsl extension
program & save the file with .css extension for CSS program  in your folder.

4.   Then open the Internet Explorer /Mozilla web browser and type the URL as  
directoryname:\foldername\filename.xml
                            Ex: E:\cse\pgmname.xml

5.    Finally output will display.


Steps to Execute PERL Program.

1.   Type the program in notepad  and save it with .cgi extension in the C:\wamp\
folder.
2.   Next type the supported html & save it with .html extension in the same folder.
3.   Start server(go to start->programs->Wamp server->start wamp server).
4.   open the broser & type the URL as http://localhost,
5.   Then Open Browser and type the URL as  
                 http://localhost/cgi-bin/pgrogram_name.cgi  
                       EX:   http://localhost/cgi-bin/9.cgi
6.   Finally output will display.

Steps to Execute PHP Program.

1.Type the program in notepad  and save it with .php extension in the C:\ wamp\ www folder.
2.Next type the supported html & save it with .html extension in the same folder.
3.Start server(go to start->programs->Wamp server-
4.open the broser & type the URL as http://localhost
5.Then Open Browser and type the URL as  
                 http://localhost/prgramname.php
                       EX:   http://localhost/p11.php
6.Finally output will display.
To run perl programs

# cd /var/www/cgi-bin
  
All perl programs shouldbe saved under  .
  
vi 6a.pl
  
paste the perl program  
save and Quit
  
To see the output go to browser and in the address bar type http://localhost/cgi-bin/6a.pl

No comments:

Post a Comment