Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache and html

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
OK maybe I'm stupid but I'm sure this is and apache problem
the HTML is to simple




<HTML>
<TITLE>Displaying variables</TITLE>
<BODY>
Welcome $v
</BODY>
</HTML>

the output should be

Welcome tony

but I get

Welcome $v


WHY!
 
you can' just pass variables to apache and expect it to understand :)
you have to use some kind of scripting language, like perl or php.
try installing php and doing this afterwards:

<HTML>
<TITLE>Displaying variables</TITLE>
<BODY>
Welcome <?=$v?>
</BODY>
</HTML>


to learn more about php,and download (it's free) go to: (-:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top