PDA

View Full Version : CGI vs PL


DELOCH
08-02-2006, 04:29 PM
I know there are three ways to display PERL on a webpage...

the first one is the worst: PERL PERL.PL>PERL.HTML in command prompt
the second one is CGI .cgi
the third one is PERL .pl

which one should be used mostly...

I tried CGI but it is based on XHTML BASIC.

how do i change the XHTML BASIC to XHTML 1.0/Transitional/optional

thanks :D

also one more question, which one is better PERL or PHP, i want your opinions

I heard PERL is the best and fastest text processor... but when i tried it I figured out that it was also a prompt-ran programming lanugage... like PHP

I use XAMPP, thanks once again

FishMonger
08-02-2006, 05:28 PM
There is no difference between .cgi and .pl other than the config in the web server that says which one it will execute. Most of the time both are allowed.

how do i change the XHTML BASIC to XHTML 1.0/Transitional/optionalhttp://www.w3schools.com/xhtml/default.asp

Answering your last question will have to wait until I have a liitle more time...I'm, running late for work.

DELOCH
08-03-2006, 06:02 PM
No I know XHTML... I just dont know how to change the default CGI header... XHTML BASIC...