Click to See Complete Forum and Search --> : Diff b/w .pl and .cgi files


oxygenan
05-07-2007, 01:41 PM
Hi,

Can i access a .pl file over the web browser...

I tried one and i got a File...Open Save dialog...

Or is this file can only be run on console...

I know .cgi file can be accessed over the web...


Regards

LeeU
05-07-2007, 04:37 PM
Their basically the same thing. See this (http://www.perlmonks.org/?node_id=18806)

oxygenan
05-08-2007, 12:40 AM
But can we put the .pl file on the server and try to access it over the browser...????

And then will it display the result.....text on the web browser...

LeeU
05-08-2007, 09:41 AM
You can run the .pl file just like the .cgi file. It's the same thing, just a different extension. Some servers only allow one or the other.