Cnit 133 interactive web pags javascript and ajax
Download
1 / 5

CNIT 133 Interactive Web Pags – JavaScript and AJAX - PowerPoint PPT Presentation


  • 68 Views
  • Uploaded on

CNIT 133 Interactive Web Pags – JavaScript and AJAX. CGI Samples. Agenda. My Web Site: http://fog.ccsf.edu/~hyip (download syllabus, class notes). Perl Unix Shell Script PHP. PERL. <form method="post" action="/cgi-bin/cgiwrap/USERID/perlform.pl">

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' CNIT 133 Interactive Web Pags – JavaScript and AJAX' - neona


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Cnit 133 interactive web pags javascript and ajax

CNIT 133 Interactive Web Pags –JavaScript and AJAX

CGI Samples


Agenda
Agenda

  • My Web Site: http://fog.ccsf.edu/~hyip (download syllabus, class notes).

  • Perl

  • Unix Shell Script

  • PHP


PERL

<form method="post" action="/cgi-bin/cgiwrap/USERID/perlform.pl">

  • Note: USERID is your hills userid and perlform.pl is the name of your cgi-script. CGIWrap is a gateway program that allows general users to use CGI scripts and HTML forms without compromising the security of the http server. Scripts are run with the permissions of the user who owns the script. In addition, several security checks are performed on the script, which will not be executed if any checks fail. CGIWrap is used via a URL in an HTML document. As distributed, cgiwrap is configured to run user scripts which are located in the ~/public_html/cgi-bin/ directory.


Unix shell scripting
Unix Shell Scripting

<form method="get" action="/cgi-bin/cgiwrap/USERID/unixform.ksh">

  • Note: USERID is your hills userid and unixform.ksh is the name of your cgi-script. CGIWrap is a gateway program that allows general users to use CGI scripts and HTML forms without compromising the security of the http server. Scripts are run with the permissions of the user who owns the script. In addition, several security checks are performed on the script, which will not be executed if any checks fail. CGIWrap is used via a URL in an HTML document. As distributed, cgiwrap is configured to run user scripts which are located in the ~/public_html/cgi-bin/ directory.


PHP

<form method="post" action="../phpform.php">

  • You must create a php directory within public_html on the hills server and give this php directory a unix permission of 711.

  • Then, put all the php scripts inside this php directory.

  • Execute your php script as if it was located in your web server home directory (public_html).


ad