Thread: php vs. perl
View Single Post
  #1   Spotlight this post!  
Unread 21-12-2002, 21:38
AJ Quick's Avatar
AJ Quick AJ Quick is offline
Your Attention Please
FRC #0006 (CogSquad)
Team Role: Alumni
 
Join Date: Oct 2002
Rookie Year: 2001
Location: Minnesota
Posts: 464
AJ Quick has a spectacular aura aboutAJ Quick has a spectacular aura about
HTML is literally required (unless using some languages) to make a site work. Don't even bother with programming languages if you don't have HTML down. Perl, and PHP are known as server-side scripts, you still need the HTML to communicate with the webbrowser. In PHP code would look like this:

PHP Code:
<html>
<head>
<title>Hi</title>
</head>

<body>

<?php
echo "Hello World!";
?>

</body>
</html>
This would produce a blank page with just "Hello World!" written. Everything is HTML in that example, except for the things inside the PHP tags. You need HTML to do this kind of scripting... I haven't worked with Pascal so I don't know about that, but it is the same for Perl, and ASP.
__________________
-AJ Quick (Alum on Team 6)
http://www.HHSRobotics.com/

Place your attention entirely on my voice and try to ignore all the others. It is important to be able to focus on a single source of information while blocking out all the other things competing for your attention.

Last edited by AJ Quick : 21-12-2002 at 21:41.