> Dan Muey <[EMAIL PROTECTED]> wrote: > > > > Hello There, > > > > > > I would like to see if my ISP has perl available if one > > > wanted to incorporate perl into a web page. Is there a quick > > > and dirty web page I can upload to my ISP to test if perl is > > Try this: > > > > test.cgi > > #!/usr/bin/perl -w > > > > use strict; > > use CGI 'header'; > > print header(); > > print "/usr/bin/perl Is VERSION $]"; > > > > - Ftp in ascii > > - chmod to 755 > > > > However this is assuming: > > - Perl is at /usr/bin/perl > > - it's on a unix server > > - 755 is what it needs to be > > - .cgi is the extension you need > > - you're user is allowed > > > > All of which is basically what you're trying to find out. > > I'd just call your isp and say: > > - What is the path to Perl? > > - How do I upload/execute Perl scripts in my webspace? > > > > HTH > > Perfect! Exactly what I was looking for. I can deal with > the paths/permissions/etc. I'm just trying to figure out how > to get started. > Oh, would I call this inside a web page with a <SCRIPT> tag > or something?
No, it is it's own entity! More specific it's a server side language (IE the server processes it and returns the output) and script tags use client side languages (IE the browser processes the goods and does soemthgin based on that accordingly). (a very loose Interpretation anyway) > How do I point to the CGI script? > Open: http://www.yourwebsite.com/test.cgi In your browser. The problem is again that if the path isn't right or the permissions are wrong you will probably get an error which won't help much unless you know the info you're trying to find out anyway. It'll probably be faster just asking them and trying the example above with the info they give you to try it out. > Thanks again...! No sweat! Dmuey > > > Jeff -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]